Given a fleet of 50 trucks, each with a full fuel tank and a range of 100 miles, how far can you deliver a payload? You can transfer the payload from truck to truck, and you can transfer fuel from truck to truck. Extend your answer for n trucks.
Developer Support Engineer Interview Questions
1,134,444 developer support engineer interview questions shared by candidates
implement the dynamic polymorphism
The final round of interview was challenging in terms of how you pick scenarios from your career.
Given an array of ints = [6, 4, 0, 5, 0, 0, 0, 1, 0] move all non zero numbers to the left and zeros to the right. How can you now improve your answer to O(n)?
Write an algorithm to determine whether a given number is of the form (2^n)+1, where n is an integer.
What is polymorphism?
An array of 99 elements contains integers from 1 to 100 with one missing element. Find the missing element.
Given the list of points of the skyline of a city in order (from East to West) Find the maximal rectangle contained in this skyline. I was asked to write the code. I managed to find the algorithm but was not sufficient.
Given an array of positive integers and a target integer, find if there is a consecutive subarray that sums to the target. E.g, given {5,6,4,12}, findsum(10)=true, findsum(11)=false.
Viewing 41 - 50 interview questions