wise

• ###### JupperTVcommented on "String repeat" python solution

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

• ###### nomennesciocommented on "Return Two Highest Values in List" kata

C translation by far is harder than 8 Kyu

• ###### Ливанcommented on "Return Two Highest Values in List" kata

Yeah, I understood my mistake. Thank you!

• ###### Chrono79resolved an issue on "Return Two Highest Values in List" kata

Not a kata issue, your function returned the wrong value.

• ###### Ливанcreated an issue for "Return Two Highest Values in List" kata

Good evening!

Don't you think that answer is incorrect?

Testing for [59162,51782,72847,48186,55098,11610,8150,81156,1767,98293,44591,91635,11148,90553,43927,58884,9930,80008,97382,83712,72845,52064,77214,40896,59596,15806,58905,93013,29576,33781,20852,21018,89984,69471,75391,74113,60283,19659,19619,95692,48601,16922,47250,3800,73073,86086,65198,91995,46941]:
expected [ 98293, 3800 ] to deeply equal [ 98293, 97382 ]

I think there is mistake in this assignment

• ###### dinglemouseresolved a suggestion on "Return Two Highest Values in List" kata

i added a mutability test so your solution and others have been invalidated for casting const away :p

touché

• ###### trashy_incelcommented on "Return Two Highest Values in List" kata

i added another test that should take care of sloppy comparator functions. the only solution left is mine ^^ you guys should aim for O(n) anyway :p

• ###### trashy_incelcommented on "Return Two Highest Values in List" kata

i added a mutability test so your solution and others have been invalidated for casting `const` away :p

• ###### trashy_incelcommented on "Return Two Highest Values in List" kata

edit : nevermind

• ###### dinglemousecreated a suggestion for "Return Two Highest Values in List" kata

Please inclue another `C` test like:

`do_sample_test((C {LLONG_MAX, 0}), (C {LLONG_MAX, 0}));`

I think the above might detect/fail some solutions using bogus qsort comparator functions.

• ###### akar-0commented on "Return Two Highest Values in List" kata

Seems ok now :)

• ###### trashy_incelcommented on "Return Two Highest Values in List" kata

how embarassing ><
i fixed a bug and republished , can you please retry ?

• ###### akar-0commented on "Return Two Highest Values in List" kata

it seems there's an issue with reference solution:

``````for array:
{-73, -51, 53, -73}
expected:
{53}
but got:
{53, -51}

for array:
{-70, 3}
expected:
{3}
but got:
{3, -70}
``````

Thanks :)