Tip 1 : do atleast 2-3 problems a day consistently
Tip 2 : Prepare situation based questions for projects. Nobody asks directly about the projects you have done. Examples would be amazon leadership principles.
Tip 3 : Have command over one programming language with which you could impress the interviewer.
Tip 1 : Resume should be of one page only. Don't over do on the resume. If you have more content better keep it in pocket to explain during interview.
Tip 2 : Only put the languages which you know or have done project in. Although most of MNC's doesn't care about the programming language.
Tip3 : Best place to build resume is overleaf. Its highly maintainable easy to make and you can find so many good templates.
All rounds were taken in a single day.
8:30-9:30



'arr '= [1,2,3,4,5]
'k' = 1 rotated array = [2,3,4,5,1]
'k' = 2 rotated array = [3,4,5,1,2]
'k' = 3 rotated array = [4,5,1,2,3] and so on.
Made generic method which take length for reversing array
1st full roatation
2nd n-k rotation
3rd n-k+1 to n rotation



Sort the list
Start building the tree from middle as tree needs to be balanced.
This was design and problem solving round
Round was taken on the same day
10:30-11:30
Design Employees management kind of system and need to be able to query the resources assigned to the employees and query should answer for all the employees resouces which are reporting to the queried employee.
Tip 1: practice design patterns
Tip 2: practice object oriented programming
Tip 3: Try to keep as much abstraction as possible. Code should be decoupled.



Consider the two strings 'P' = "abfyg" and 'Q' = "gabfy"
If we cyclically rotate String 'P' to the right once. The resulting string P becomes "gabfy" which is equal to String 'Q'.
Therefore it is possible to convert String 'P' to String 'Q'.
KMP string search algorithm is the most efficient way to solve this and this is exactly interviewer was expecting.
It was HLD round
2:30-3:30
Design stock exchange
Tip 1: Need to be careful about the trade-offs transaction execution time vs transaction consistency.
Tip 2: Data Sharding and calculations are important.
Tip 3: Read about the load balancer.
This was hiring manager round. General discussion about projects.
Design an API which could give the microsoft about user mobile usage and help in increasing user's interaction.
Tip 1: It was more of a general discussion as my previous organization was samsung and i was working in mobile devision.
Tip 2: Caching was important and how you explain about the data transfer.

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?