Remove a node from a singly linked list.
Software Intern Interview Questions
20,230 software intern interview questions shared by candidates
1. Why do u want to work for Microsoft? 2. How would you test a calculator 3. Talk abt a project and the biggest problem u faced while doing that project 4. Advantage of using java over c++ and vice versa
Implement an online LRU cache to keep track of browser history (not worded in that way, but after the interview, I realized this was effectively what they were asking) e.g. keep track of the 5 most recently seen items without duplicates.
1. How do you test a key board? 2. Given nine items and one of them is heavier than the others, how do you find the heavier one using a scale just twice?
Write a program to reverse a linked list
Unexpected question was to design and develop a function to draw a card from a deck. The interviewer said that we are going to Vegas to sell this product. It should draw cards at random however it should not be predictable and so on.
Fastest way to get a whole family through a narrow tunnel with a family who take 1 minute, 2 minutes, 4 minutes, and 5 minutes to get across, where at most two people can go through and at least one of those must have the family's only torch.
Logic puzzle: If we have 3 doors and we need to choose the one with the prize. We choose one and then the host opens one of the other two doors. Should we change our answer after that?
Basically, "solve FizzBuzz in sudocode" - asked by a nontechnical HR interviewer, because "an engineer told them to ask", and "I don't have to do it if I don't want to".
How long would it take to drink olympic sized swimking pool
Viewing 1981 - 1990 interview questions