• ###### spiderman2commented on "The highest profit wins!" java solution

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

• ###### TalhaTayyab313commented on "Find the unique number" python solution

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

• ###### TalhaTayyab313commented on "Short Long Short" python solution

I think it will take more time as sorting is generally O(nlogn) while you can compare len(a), len(b) faster than sorting.

• ###### hobovskycommented on "Scramblies" java solution

It depends on map. it is for hashmaps.

• ###### rahatibrahimcommented on "Scramblies" java solution

Is runtime of Map.get O(1)?

• ###### akar-0commented on "The highest profit wins!" java solution

Because that's what people voted.

• ###### Megohcommented on "The highest profit wins!" java solution

Why more Clever than Best Practices?

• ###### jabel123commented on "Calculate String Rotation" java solution

What the... I neet to drown myself by stuffing my head into toilet..

• ###### ArtemLytvynovcommented on "A Needle in the Haystack" java solution

why importing all from java.util? It's possible to import just java.util.Arrays

• ###### gotancommented on "Transportation on vacation " java solution

I don't think so. If you just have one exit point, it often leads to additional variables and complicatet if-else-if-statments. It also invites to do everything in one method. The result is unnecessary long menthods, which are hard to read.
I think it is good practice to leave a method, when the job is done.

• ###### Michael Williscommented on "Word a10n (abbreviation)" java solution

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

• ###### Wanderer1commented on "Word a10n (abbreviation)" java solution

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

• ###### user5842171commented on "SQL Basics: Simple GROUP BY" sql solution

I don't think `count` discards duplicate values, or does it?

• ###### raulpy271commented on "Memoized Fibonacci" python solution

I marked it as clever because I think that the goals of the kata is implement something to cache the function calls, aren't use a something already implemented.