Write an algorithm to determine whether a given number is of the form (2^n)+1, where n is an integer.
Engineer Interview Questions
933,580 engineer interview questions shared by candidates
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.
Would you want to join CMP or metal group?
Given an array of integers, we would like to determine whether the array is monotonic (non-decreasing/non-increasing) or not. Examples: // 1 2 5 5 8 // true // 9 4 4 2 2 // true // 1 4 6 3 // false //1 1 1 1 1 1 // true
Coderpad: given an array scores[][] = {“jerry”,”65”},{“bob”,”91”}, {“jerry”,”23”}, {“Eric”,”83”}} Find the student with highest average score
Given an array of integers where each element points to the index of the next element how would you detect if there is a cycle in this array?
If you were in a dark closet with 49 white socks and 1 black one.how many socks would you pick so as to ensure that you exit the closet with a pair of similar colored socks
My experience and availability to relocate
Viewing 41 - 50 interview questions