You are viewing a single comment's thread. Return to all comments →
I was using the nested loop algo, was getting timed out.
Then i used this (JAVA)
i am a beginner, can anyone tell me is this a bad way to solve a problem, if yes why?