Given an array with length n-1 which contains integers of the range 1 to n. Each element is distinct and appears only once. One integer is missing. Find the missing integer in linear time using O(1) memory. Now two integers are missing, find them out in linear time using O(1) memory. How about three?
Programmer Developer Interview Questions
747,419 programmer developer interview questions shared by candidates
Given n sets of choices: (1,2,3), (2,3,4), (4,5) You pick one element from each set of choices. Generate all possible picking.
Consider an X x Y array of 1's and 0s. The X axis represents "influences" meaning that X influences Y. So, for example, if $array[3,7] is 1 that means that 3 influences 7. An "influencer" is someone who influences every other person, but is not influenced by any other member. Given such an array, write a function to determine whether or not an "influencer" exists in the array.
assume you are writing number in ascending order to an array of constant size. once you reach the end of the array, you start writing from the beginning, thus writing over the oldest entries. write an algorithm for finding a specific number in this array.
Write a function that divides two numbers without using the divide '/' operator.
Determine whether the binary representation of a number if a palindrome or not, code it on a white board.
Describe a routine which returns the set of integers in {1..100} divisible without remainder by 3 but not by 9.
Write a program for odd input the pattern output will as below n=1 *-* n=3 ***** *** *---* *** *****
If a couple has two children, what is the probability that one is a girl and one is a boy?
1. sliding window algorithm 2. Why ZocDoc? Your interest match with the team and position. 3. System design question involving cache mechanism 4. triangle tree and some questions on threading mechanism
Viewing 121 - 130 interview questions