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.
Finding thepeaks is not difficult, but your wanted solution with a Map and List is confusing, why not use a Map and put a position and a peakheight together?
https://www.codewars.com/kata/5279f6fe5ab7f447890006a7/discuss#64f5b8c72b610bbbb906767f
What is "peaks"??????????????????????
QwQ
As far as I can tell it's all async in JS at least on newer Node versions.
too good 你可真牛 哈哈哈
当你一打开kata, 你会看到几行编码,这些编码是错的,你必须增加,减少或是改掉其中的代码。其背后真正原理在这里 (中文版的链接^^)
为啥它不能通过样例啊?Why can't it pass?(I can't speak English)