Comment Comment by daiyanze Nice one there!sort is an elegant solution even tho the time complexity may be O(nlogn). parent daiyanze 6 years ago
sort is an elegant solution even tho the time complexity may be O(nlogn).