Developer Intern Interview Questions

5,250 developer intern interview questions shared by candidates

Q1: Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right, which minimizes the sum of all numbers along its path. Note: You can only move either down or right at any point in time. Q2: You are given an integer array height of length n. There are n vertical lines drawn such that the two endpoints of the ith line are (i, 0) and (i, height[i]). Find two lines that together with the x-axis form a container, such that the container contains the most water. Return the maximum amount of water a container can store.
avatar

Software Developer Intern

Interviewed at Amazon

3.5
Sep 15, 2023

Q1: Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right, which minimizes the sum of all numbers along its path. Note: You can only move either down or right at any point in time. Q2: You are given an integer array height of length n. There are n vertical lines drawn such that the two endpoints of the ith line are (i, 0) and (i, height[i]). Find two lines that together with the x-axis form a container, such that the container contains the most water. Return the maximum amount of water a container can store.

Interview started with introduction. Then moved to DSA question 1) Course Schedule 2) Diagonal Traversal of Binary Tree Overall difficulty is hard because of not aware of diagonal traversal and also the problem statement were very confusing
avatar

Software Developer Intern

Interviewed at Amazon

3.5
Oct 12, 2024

Interview started with introduction. Then moved to DSA question 1) Course Schedule 2) Diagonal Traversal of Binary Tree Overall difficulty is hard because of not aware of diagonal traversal and also the problem statement were very confusing

Viewing 5121 - 5130 interview questions

Glassdoor has 5,250 interview questions and reports from Developer intern interviews. Prepare for your interview. Get hired. Love your job.