You are viewing a single comment's thread. Return to all comments →
O(N log N + M log N ) time is enough. No fancy Segment Trees required! Fancy Maps are enough.
Seems like cookies are disabled on this browser, please enable them to open this website
Range Minimum Query
You are viewing a single comment's thread. Return to all comments →
O(N log N + M log N ) time is enough. No fancy Segment Trees required! Fancy Maps are enough.