Tip 1 : start with the easy one as warm up and then gradually increase the level
Tip 2 : instead of trying to remember how to solve the problem focus on your thought process and why are you doing it , that's more important
Tip 3 : don't just rush into coding , think about how you can approach it first , your approach will get refined during during the time you are coding , just know what are you doing
Tip 1 : Keep it precise , one page is resume is good enough
Tip 2 : don't write things , you are not sure about ,it can backfire sometimes
There were 2 questions.



Input: 'arr' = [2, 2, 2, 2, 0, 0, 1, 0]
Output: Final 'arr' = [0, 0, 0, 1, 2, 2, 2, 2]
Explanation: The array is sorted in increasing order.
You can use 2 pointers approach , swap 0 to the first and 2 to the last keep doing the same
It will be sorted



Design a memory management system
Tip 1 : keep asking questions until are you sure what you are supposed to code
Tip 2 : think about how different entities are going to interact and affect each other
why you want to join Flipkart?

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?