java 8: Arrays.sort vs Collections.sort performance
For problem 710B following solutions:
Does this mean Arrays.sort is slow, and should not be used in contests ? Anybody encountered such problem before ?
Full text and comments »
Please help: Road To Home
http://codeforces.me/contest/721/problem/E
Couldn't understand the solution even after reading the editorial. Someone please help.
UPD: In hope that somebody might explain the solution :)