Microsoft’s most asked interview questions

SHARE:


Microsoft’s most asked interview questions

1) Check if a Binary Tree is BST or not.

2) Remove duplicates from a string, do it in-place

3) Given a rotated array which is sorted search for an element in it

4) Given two linked lists that represent two big numbers (numbers that can not be stored in an int or long long int), write a function that adds the numbers and store the result in a third list.
Variations of above question like subtract two numbers or multiply two numbers represented by linked lists.

5) Print last 10 lines of a big file or big string.

6) Clone a linked list with next and arbitrary (or random) pointer

7) Connect nodes at same level.

8) Least common ancestor of a binary tree or a binary search tree

9) Test case questions like test an ATM.

10) Run length encoding.

11) Detect cycle in a linked list.

12) Given a sorted array of size n. Each element in array is unique and lies from 1 to n+1. Find the missing element. Write code and test cases for the same.

13) Check if a binary tree is balanced.

14) Validate a given IP address

15) Why do you want to join Microsoft?

16) Two of the nodes of a BST are swapped. Correct the BST

17) Draw a circle without floating point arithmetic

Source: Geeksforgeeks

COMMENTS

Name

ACADEMICS,8,DATA SCIENCE,1,EXAMS,8,JOBS,11,PLACEMENTS,8,PROJECTS,1,RANKINGS,5,TRENDING,16,
ltr
item
Sezent - accelerate your career: Microsoft’s most asked interview questions
Microsoft’s most asked interview questions
http://i2.paraanaliz.com/wp-content/uploads/2017/05/microsoft.jpg
Sezent - accelerate your career
https://sezent.blogspot.com/2017/08/microsofts-most-asked-interview.html
https://sezent.blogspot.com/
https://sezent.blogspot.com/
https://sezent.blogspot.com/2017/08/microsofts-most-asked-interview.html
true
3963786588625899904
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy