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?
Engineer Internship Interview Questions
23,863 engineer internship interview questions shared by candidates
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.
A question about string interpolation
Why Microsoft? Return the smallest integer in a circularly sorted array.
Develop a dictionary class from scratch.
5. A database call takes 500 ms. How would you optimize it?
Viewing 831 - 840 interview questions