Microsoft Interview Experience | Set 109 (2 years experienced)
Round 1 (Telephonic)
- What is LRU. How to Implement it.
- Find kth smallest element in an array.
Solution: GeeksforGeeks Link - In a file, there are two columns, first column has some word (String) and 2nd column has some value (Double).
Example :- ABC 23.4 ERF 34.89 WERT 122.9 Now user wants some arithmetic operations like 1) ABC + ERF = 23.4 + 34.89 = 58.29 2) ABC - WERT = 23.4 - 122.9 = -99.5
- Design an efficient DS for these kind of operations.
Round 2 (F2F)
- Asked about current Project.
- Given a string str. You have to make this string to square string with maximum length. A square string is of the following format:
str = x + x; where x is any string. Return length of this square string.Example str = ababa Max length square string = 4; str = abcd Max length square string = 1;
Round 3 (F2F)
- Asked about current project. Asked to draw architecture of my project. Then Asked to design a new feature that is currently not there in my project.
- Design undo and redo operation in Microsoft Word like text editor.
- Design Hit Counter. (Design Hit Counter)
Round 4 (F2F)
- Asked about current project.
- You are given a text file. You have to return the list of starting index of the given word in text file. Design an efficient DS for that.
Example :- Text file content : "geeks for geeks" word : "geeks" List : {0,10}
This article is contributed by bnslanuj. If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.
Recommended Posts:
- Microsoft Interview Experience | Set 112 (For 4.5 Years Experienced)
- Microsoft Interview experience | Set 115 (4 Years Experienced for IDC)
- Microsoft interview experience: | Set 167 (7 Years Experienced)
- Microsoft Interview Experience | (SDE-2 for 3 Years Experienced)
- Microsoft IDC interview Experience | Set 47 (For 1.7 Years Experienced)
- Microsoft Interview Experience | Set 154 (For 1.5 Years Experienced)
- Microsoft interview Experience | Set 48 (For 1.5 Years Experienced)
- Microsoft Interview Experience | Set 111 (For 1.5 Years Experienced)
- Microsoft Interview experience | Set 114 (2.5 Years Experienced for SDE2)
- OYO Interview Experience | Set 11 (For 2 years experienced)
- Paytm Interview Experience For Experienced (2.5 years)
- Paytm Interview Experience | Set 12 (For 1.5 Years Experienced)
- Oracle Interview Experience | Set 43 (For 3 Years Experienced)
- Paytm Interview Experience (5 Years Experienced)
- Amazon Interview experience | Set 334 (For 4.5 Years Experienced)



