Given a sorted array, find two elements that sum up to a certain value in linear time.
Internship Software Interview Questions
25,075 internship software interview questions shared by candidates
There are three boxes, one contains only apples, one contains only oranges, and one contains both apples and oranges. The boxes have been incorrectly labeled such that no label identifies the actual contents of the box it labels. Opening just one box, and without looking inside the box, you take out one piece of fruit. By looking at the fruit, how can you immediately label all of the boxes correctly?
Implement a sorting algorithm in a time that was impossible.
Can you tell me about your accomplishments?
A 2d grid containing some obstacle and some gaurds each facing some direction and protecting entire row/column in front of them, Now a assassin is standing somewhere in the grid and want to reach end of the grid without being caught by gaurds and also he can not move on cell with obstacle or cells gaurded by gaurd or out of grid, We just need to return boolean value (0/1). He can only move in 4 adjacent cell in one move.
The interviewer wrote down a method and asked me what was wrong with the code. The method tested my knowledge of asynchronous processes and promises.
Given a full binary tree, iterate over it from the top to the bottom while for each level you change direction of iteration, for odd level go from left to right and for even go from right to left.
Mathematical coding problem in any programming language
Explain multi-threading as if I was a 5 year old ? 3 Easy leetcodes on array and string. 1 hard leetcode to see your thinking process.
Q: "Tell us about yourself"
Viewing 861 - 870 interview questions