Write code to sum the values contained in two memory slots into a third memory slot, using only 3 instructions: zero <slot> increment <slot> jlt <slot1>,<slot2> <location>, where jlt=jump to <location> if <slot1>is less than <slot2>.
Senior Software Interview Questions
75,649 senior software interview questions shared by candidates
in first round - 1.design database table that can store comments like facebook. but there could be hierarchy of replies possible. design table to store them and query them in a way that each complete set of comments with their reply can be resulted. 2.Design ranking system, like in oyo room, there could be different ranking systems like user feedback and audit feedback etc. you should allow user to query all of them or few of them. the query should be generic enough. In second round- 1. calculate a to the power of n (interviewer was under impression that in order to do that u have to multiply a n times :D). optimize it to logn. 2. in an array every number present in pairs except one. find out one number which is not present in pair. (u can't sort or use extra space). (again this funny interviewer wanted to use bit-wise operator xOr to solve this which he was rigid. )
Write a method to output the Fibonacci sequence.
Write code to search a substring from another string
write a query for this scenario: If the last working day of the month either Saturday or sunday then you need to get the last friday as last working day else it should be any of the day from monday to friday
How will you implement word ladder puzzle
Middle element in linked list
This is what happened. The recruiter reached out to me for some hiring event. She canceled twice. Both times I had to WFH or take some time away from work. The last time she canceled was after I waited 10 mins and pinged her. The response was classic. You are too senior for the job posting and ill keep your resume on file if there are opportunities that are suitable for you. Microsoft hiring community - At least have some decency to treat other's time with respect. There is a reason why your hiring process has got a bad reputation.
"Ok, well do you have any questions for me?"
Q2: Do you know OOP? How would describe this to someone using C?
Viewing 911 - 920 interview questions