Tip 1 : Data Structure and Algorithms is the most important topic. Make sure you have clear basics, practise a lot of problems, and keep revising the concepts.
Tip 2 : To make your resume attractive, participate in hackathons, do competitive programming, contribute to open source, do some internships.
Tip 3 : Have a strong hold on core CS subjects like Operating System, OOP, Computer Networks, Databases. (Though Google only focuses on DSA, its good to know because they can come up anytime during an interview.)
Tip 1 : Follow Google Resume video tips from Youtube
Tip 2 : When a recruiter looks at your resume, she wants to know two things. First is can this guy crack the DSA rounds. And second is has this guy done some hands on work (development). Make sure your resume answers this.
This was a Phone screening round. I they like me they would go ahead with my onsites.




If N = 4 and the numbers on the top sides are: { 1, 2, 3, 2 } and the numbers on the bottom sides are: { 2, 4, 2, 2}
Then the minimum number of flips required is equal to 1.
We can flip the 2nd card, the top sides now become: { 1, 4, 3, 2 } and the bottom sides are: { 2, 2, 2, 2}. This results in getting the same numbers on the bottom side.

‘A’ = '2'
For X = 1, Ninja will get LCM(1,2) ÷ 1 = 2/1 = 2.
For X = 2, Ninja will get LCM (2,2) ÷ 2 = 2/2 = 1.
For X = 3, Ninja will get LCM (3,2) ÷ 3 = 6/3 = 2.
For X = 4, Ninja will get LCM (4,2) ÷ 4 = 4/2 = 2.
For X = 5, Ninja will get LCM (5,2) ÷ 5 = 10/2 = 2.
For X = 6, Ninja will get LCM (6,2) ÷ 6 = 6/6 = 1.
And so on, It can be verified that Ninja will never get any integer other than 1 and 2. Hence the answer for 'A' = 2 is 2.
It was my first onsite rounds. They scheduled two onsite rounds on the same day.

1. Two nodes may have the same value associated with it.
2. The root node will be fixed and will be provided in the function.


I wasnt able to solve this problem
Second round was DSA+Googlyness




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?