Given an array as an input: [1,2,3,4,5] Return an array, which has a given index the product of all the other numbers in the array (except for the number at the given index), without using the divide operator: [120,60,40,30,24]
Engineer Interview Questions
843,597 engineer interview questions shared by candidates
In the 2nd round they asked: 1. An egg has to be boiled which takes exactly 11 minutes to boil. There are only 2 sand watches available to you one of 9 minutes and the other of 5 minutes. Using only these sand watches boil the egg.
You have an analog clock with two hands, one for the hour and one for the minute. Given a time of the day, what is the angle between the two hands?
Write a program to count the number of words in a file.
Given an array of unsorted integers, determine which number appears most often.
Given two very large binary trees T1, with millions of nodes, and T2, with hun- dreds of nodes, create an algorithm to decide if T2 is a subtree of T1.
find if 2 strings are anagrams
Identify pairs of integers in an array which sum to a specified x.
How to detect loops in a linked list without using a data structure
Write out merge sort and apply it to two arrays of integers.
Viewing 811 - 820 interview questions