Tip 1 : Solve min two questions daily.
Tip 2 : Revise whatever you studied.
Tip 1 : Keep your resume concise and do not mention false information.
Tip 2 : Mention at least two projects.



I first made a set. As we know set only contains distinct elements, so when I got set.add(n) == false I returned true. It was quite an easy question.



'S' = "{}()".
There is always an opening brace before a closing brace i.e. '{' before '}', '(' before ').
So the 'S' is Balanced.
This is a very common question. First, I made a stack and looped that string if I found '(', '{' or '[' I pushed them into the stack and I encountered the opposite I checked the peek ok stack.



I made an index variable that had 0 at the beginning, then I started a loop on the array, and if I found a non-zero element I swapped it with the num[index] and incremented the index.
The interviewer asked about myself and things I mentioned in my resume like - hobbies, and co-curricular activities.
Tip 1 : Be confident.
Tip 2 : Be prepared for scenario-based questions like - what you will do in case of conflict.
The interviewer asked me about my strengths and weaknesses.
The interviewer asked me if I am willing to reallocate or not.
Tip 1 : Tell the truth.
Tip 2 : Be positive.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?