I am getting TLE.
My approach is simple. I am using n-times delete function to delete a value which is already used for print.
Is it right way ?
Moderator: Board moderators
Leonid wrote:I used binary tree to solve the problem.
Users browsing this forum: No registered users and 1 guest