Echo JS 0.11.0

<~>

jjrv 2653 days ago. link 2 points
They insert new numbers in the middle (using array.splice) as needed to keep the array sorted. This sounds O(N^2). Pretty terrible process overall really, for such a simple task.
MaxArt 2653 days ago. link 2 points
You just have to explain why you used such a convoluted algorithm to get a random number from 10000 to 99999.
selanac09 2654 days ago. link 1 point
Fun with the binary search algorithm in javascript