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.
Intern Software Engineer Interview Questions
9,453 intern software engineer interview questions shared by candidates
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.
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".
Frequency Counting of Words / Top N words in a document. Given N terms, your task is to find the k most frequent terms from given N terms. Needs to be O(N)
Implement the getElementsByClassName(element, className) function in Javascript.
The Interviewer asked me to code a question online on how I would implement a search. The feature had to be pretty practical and was very expansive he continually added on to the questions and cases that may not initially be brought up but were much part of everyday search functions.
Implement Hashmap structure in Java.
One question: Do you know React?
Asked to describe physical components on multiple embedded devices.
Viewing 971 - 980 interview questions