Developer Internship Interview Questions

23,870 developer internship 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?
avatar

Software Engineer(Internship)

Interviewed at Microsoft

4
Nov 17, 2021

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?

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.
avatar

Software Engineer(Internship)

Interviewed at Microsoft

4
Jul 28, 2021

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.

Viewing 701 - 710 interview questions

Glassdoor has 23,870 interview questions and reports from Developer internship interviews. Prepare for your interview. Get hired. Love your job.