Tip 1 : Solve as many questions as you can
Tip 2 : Practice Quantitate aptitude.
Tip 3 : Don't lie on your resume.
Tip 1 : Have some good projects.
Tip 2 : Don't lie on your resume.
Had some small chit-chat regarding how Work from Home is going on for him and me. Later he introduced himself and asked the same.
Coming to technical questions, he asked me the algorithm and also asked me to code the questions mentioned below. Discussed the time complexities and edge cases.







The order in which the groups and members of the groups are printed does not matter.
inputStr = {"eat","tea","tan","ate","nat","bat"}
Here {“tea”, “ate”,” eat”} and {“nat”, “tan”} are grouped as anagrams. Since there is no such string in “inputStr” which can be an anagram of “bat”, thus, “bat” will be the only member in its group.
This round started without any introduction, and he directly jumped into the question. Asked me about the algorithm, and later coded it and ran it. And then he asked me to optimize it. Finally, he asked me if I had any questions.



This game is played between two people (Player 1 and Player 2). Player 1 chooses ‘X' and Player 2 chooses ‘O’ to mark their cells. A move is guaranteed to be valid and is placed on an empty block.
A player who successfully places 'N' of their marks in a horizontal, vertical, or diagonal row wins the game. Once a winning condition is reached, no more moves are allowed.
0: No one wins.
1: Player 1 wins.
2: Player 2 wins.
Let us assume if ‘N’ = 3 and player 1 places ‘X’ and player 2 places ‘O’ on the board.

This was the last round of the day. He introduced himself and asked how I reduced API response times(which I mentioned in my resume). We discussed it for 5-10 min. Then he asked about one of the projects. Discussed use cases and complete design of the implementation. Then, he asked me a question that is similar to System Design. Finally, he asked me if I had any questions.
He started off by asking me to open my mobile phone and told me to open any messaging application and type something. Then, he pointed out to look at the suggestions after and while typing a word. Then, he asked me to design that functionality for a newly bought mobile. There are multiple ways to do it using Tries and Ternary Search Tree, we discussed some of them and one in-depth. Later, he asked me about Distributed File Systems and why and when they are used. And also about how the Single Point of Failure issue handled. By this time almost 50 min was completed. Then, he asked me to write the code for the Sudoku solver. I explained the algorithm and gave a walkthrough, and he was convinced. But, when I ran it the test cases were not passing due to a very small bug. This round happened for around 1 and a half hours.
Almost a week later, I received a call from Microsoft telling me that I was selected. I was more than happy. This is like dream come true for me.

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?