Create an algorithm to find the length of a binary tree.
Developer Intern Interview Questions
5,251 developer intern interview questions shared by candidates
It was essentially a more difficult version of the "fizz buzz" question. No algorithms or data structures were involved, only if-else logic.
In general the OA questions were pretty manageable (probably leetcode medium at worst), and I got a pretty easy question about binary trees during the phone interview.
Fix the code segment, write program segments
Finding the total number of possible sub-arrays from an array, given an Integer that must be the maximum number of odd numbers within each sub-array.
Greedy and Dynamic Programming DSA questions
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.
How to reverse a linked list?
Describe some personal experiences where you failed to achieve a goal and what you did to overcome it.
about my previous work experience
Viewing 5131 - 5140 interview questions