Timeline for Codility Frog Jump - Count minimal number of jumps from position X to Y
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 7, 2019 at 13:29 | comment | added | LowFieldTheory | I just came here from that test, and your solution is the first one I tried, but it gives me 44%. | |
Jun 14, 2015 at 20:04 | comment | added | Mast♦ | I'm seeing this a bit late, but could you add explanation why your solution is better? In it's current state it's nothing more than a code dump. | |
Apr 10, 2014 at 6:51 | comment | added | abuzittin gillifirca |
or just return (y - x + d - 1) / d;
|
|
Apr 9, 2014 at 7:09 | history | answered | PKopachevsky | CC BY-SA 3.0 |