Tip 1 : Practice as many questions as you can
Tip 2 : Focus on the approach rather than seeing the solution
Tip 3 : Do atleast 1-2 projects and 1 internship
Tip 1 : Resume should have only those skills which you really have
Tip 2 : Mention your leetcode, github profile etc.



If the given input string is "Welcome to Coding Ninjas", then you should return "Ninjas Coding to Welcome" as the reversed string has only a single space between two words and there is no leading or trailing space.
First I came up with n2 followed by O(n) approach which passed all the test cases
Binary Vs Counting Semaphore

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?