Given an array of n coins, determine the minimum number of flips for all coins to have the same side (all heads or all tails).
Developer Interview Questions
269,109 developer interview questions shared by candidates
What is your age
Given an array of numbers [1,3,3,5,9,4,1,10,9,7,2,7], Write a php function that will print numbers that are not duplicated in array. [5,4,10,2]
Why are manhole covers round?
Matrix sorted in increase order by row and column; find a given number x if it appears in the matrix
Write a Java program that takes a 2D bitmap (represented as a 1D array of integers), and reverses it about its vertical axis.
Given a positive integer N, write a function to return a list of the first N fibonacci numbers in order. For example, if N=5, the output list is 0 1 1 2 3.
Is this valid/what would this do (C): int *p; p=0; p++; printf("%d",p);
You have a large data file, consisting of ten-digit numbers separated by new-line characters. Write a program in C to sort it, using at most 20MB of memory. Make it efficient.
int i=14; if (i=15) i++; How much is i?
Viewing 341 - 350 interview questions