Hacker News new | ask | show | jobs
by daiyanze 2157 days ago
Nice one there!

sort is an elegant solution even tho the time complexity may be O(nlogn).