ABBYY Cup 2.0 - Hard C3. Smart Beaver and Resolving Collisions
- Time : O(qlogn)
- Space : O(n)
c++
1 |
|