Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
it is not, it is the index of a peak. in this kata, you have to return an array of peaks and an array of their indices
I don't know what values take WA for x-axis there, but they are wrong. Try with this other one: https://www.wolframalpha.com/input?i=plot+%5B%280%2C3%29%2C+%281%2C+2%29%2C+%282%2C+3%29%2C+%283%2C+6%29%2C+%284%2C+4%29%2C+%285%2C+1%29%2C+%286%2C+2%29%2C+%287%2C+3%29%2C+%288%2C+2%29%2C+%289%2C+1%29%2C+%2810%2C+2%29%2C+%2811%2C+3%29%5D&lang=es
I guess OP confusion came from the wrong graphic representation.
You're looking for all the peaks (think: mountain peaks), not just the highest one. The image you showed displays them both pretty well.