Software Developer Ii Interview Questions

6,480 software developer ii interview questions shared by candidates

Technical interview: >> How would you count the number of 1's in an integer. The question was not as simple as this. Lot of follow-up questions on how I would test this function, edge cases, different types of binary representations etc. On site questions: >> Linked list - reverse ONLY from nodes begin to end (begin, end) will be integer values >> Next right pointers. Did it with both single queue and with two queues q1 and q2 and swapping them. Follow up - how do you cut down on memory. >> All positive integers on left, negative on the other side - follow up was to modify it to a templated function >> Given a string "Hello World", split all words. This was a programming session on the interviewer's computer (not whiteboard). There will be ONLY space as delimiter. If a service can be called up to max of 5 times, how do you make sure it is handled. I answered "sempahores".
avatar

Software Engineer II

Interviewed at Microsoft

4
Jun 11, 2019

Technical interview: >> How would you count the number of 1's in an integer. The question was not as simple as this. Lot of follow-up questions on how I would test this function, edge cases, different types of binary representations etc. On site questions: >> Linked list - reverse ONLY from nodes begin to end (begin, end) will be integer values >> Next right pointers. Did it with both single queue and with two queues q1 and q2 and swapping them. Follow up - how do you cut down on memory. >> All positive integers on left, negative on the other side - follow up was to modify it to a templated function >> Given a string "Hello World", split all words. This was a programming session on the interviewer's computer (not whiteboard). There will be ONLY space as delimiter. If a service can be called up to max of 5 times, how do you make sure it is handled. I answered "sempahores".

Round 1: 2 interviewers in the panel, one was asking questions other was making notes on his laptop Asked about my past projects, as soon as I mentioned “NoSQL/Cassandra” he asked: • What’s NoSQL? • Why you chose it over RDBMS? • What can NoSQL achieve that RDBMS can not? • Write code to find max sum subarray in a given array. • Given a sorted array of integers with size n, find if there exists a number that is repeated at least n/4 times, n is length of array. Time complexity should be less than O(n). Explain approach and write code. Initially I was asked to code in any language but later they kept me from writing scala code and ask me to write in other language, I wrote in Java. Round 2: A senior guy from PowerPoint mobile app team interviewed me. • Given a circular LinkedList which is sorted, Given a node of this LL and an integer, WAP to insert the item in the LL so that the LL remains sorted after insertion, handle all edge cases. • One more question that I forgot. Round 3: A lady (very senior) from Excel online team interviewed me. • Same questions about NoSQL as in round 1. • Given a list of train schedules (arrival and departure time), find the minimum number of platforms required to run the trains. Write a program. • Design a phone book. Follow up: how do you store and retrieve data in Trie data structure? Lunch Break! Round 4 (HM round): Very senior guy working on a instant messenger product. • How have your other rounds been? • Asked about my past projects, as I mentioned “NoSQL/Cassandra” he asked the same questions as in round 1. • OO design of an elevator. Write interfaces and implementation and logic. Some questions on testing. • Why you want to leave your current job? • Why Microsoft? • He told me about how they decide which team to deploy a new joiner in?
avatar

Software Development Engineer-II

Interviewed at Microsoft

4
May 20, 2019

Round 1: 2 interviewers in the panel, one was asking questions other was making notes on his laptop Asked about my past projects, as soon as I mentioned “NoSQL/Cassandra” he asked: • What’s NoSQL? • Why you chose it over RDBMS? • What can NoSQL achieve that RDBMS can not? • Write code to find max sum subarray in a given array. • Given a sorted array of integers with size n, find if there exists a number that is repeated at least n/4 times, n is length of array. Time complexity should be less than O(n). Explain approach and write code. Initially I was asked to code in any language but later they kept me from writing scala code and ask me to write in other language, I wrote in Java. Round 2: A senior guy from PowerPoint mobile app team interviewed me. • Given a circular LinkedList which is sorted, Given a node of this LL and an integer, WAP to insert the item in the LL so that the LL remains sorted after insertion, handle all edge cases. • One more question that I forgot. Round 3: A lady (very senior) from Excel online team interviewed me. • Same questions about NoSQL as in round 1. • Given a list of train schedules (arrival and departure time), find the minimum number of platforms required to run the trains. Write a program. • Design a phone book. Follow up: how do you store and retrieve data in Trie data structure? Lunch Break! Round 4 (HM round): Very senior guy working on a instant messenger product. • How have your other rounds been? • Asked about my past projects, as I mentioned “NoSQL/Cassandra” he asked the same questions as in round 1. • OO design of an elevator. Write interfaces and implementation and logic. Some questions on testing. • Why you want to leave your current job? • Why Microsoft? • He told me about how they decide which team to deploy a new joiner in?

Viewing 471 - 480 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 6,480 interview questions and reports from Software developer ii interviews. Prepare for your interview. Get hired. Love your job.