We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Cut the sticks
Cut the sticks
Sort by
recency
|
2105 Discussions
|
Please Login in order to post a comment
Javascript
You can make the script easier if you use a native sort method. That way you just shift the array each time.
C# solution is shown below