Answer by Tunaki for Programming challenge "Friend Request in Social Network"
The big performance issue with the current solution is that you're relying on building a String to keep the list of persons that were sent a friend request. A String is immutable in Java so every...
View ArticleProgramming challenge "Friend Request in Social Network"
I am trying to solve a programming problem on a coding platform. When I execute it on my PC, it works perfectly, but when I submit the code on the coding platform, it throws a "Time Limit Exceeded"...
View Article
More Pages to Explore .....