• ###### rowcasedcommented on "Convert a Boolean to a String" cpp solution

This comment is hidden because it contains spoiler information about the solution

• ###### JOYBOY101commented on "Convert a Boolean to a String" cpp solution

where is conversion of Boolean to a String?

approved

• ###### dfhwzeresolved a suggestion on "Subsequence Product Sum" kata

approved by someone

• ###### NikCSharpcommented on "Wave Sorting" kata
``````2
1
4
4
5
5
6
5
65
34
5454
65
``````

How is this not wave sorted?

• ###### Makoacommented on "Wave Sorting" kata

Lol. I wasn't aware we were allowed to do imports

• ###### Arvivaldcommented on "Wave Sorting" kata

remember to check if vector is empty, spent a lot of time and at the end I had to check the solutions only to find that one taste case is an empty vector...

• ###### myfuckingendcommented on "Wave Sorting" kata

Wasted about 1,5 hours with two different (similar though) correct algorithms until I accidentally found out that my random choice between sorted() and sort() methods was the only reason the solution hadn't been accepted. I'm not marking my comment as spoiler because I think it's obvious that you should sort your list

• ###### akar-0resolved an issue on "Wave Sorting" kata

Hi. Before raising an issue:

• Please provide clear examples that illustrate the fail you're talking about, with inputs, code (with a spoiler flag), outputs, possibly logs, etc.
• The description says neatly:

alternate items are not less than their immediate neighbors (thus the other alternate items are not greater than their immediate neighbors).

-> equal numbers are obviously not less not greater.

• Fixed tests include this array `[1, 1, 1, 1]`. How could you write a code that returns an array without equal numbers beside each other in this case?

Also, it's a good idea to have a look at the official documentation: https://docs.codewars.com/

• ###### michellecancreated an issue for "Wave Sorting" kata

The JS tests are incorrect as it passes functions that result in equal numbers beside each other. It passed a solution I tried and a number of others people's submissions I looked at afterwards that should have failed.

approved

• ###### rowcasedcreated a suggestion for "Make Equal" kata

C Translation kumited, please review for approval, thanks!

Removed.

• ###### farhanadityacreated an issue for "Get root property name" kata

JS: No fixed tests