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
268,925 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?
Write a Java program that takes a 2D bitmap (represented as a 1D array of integers), and reverses it about its vertical axis.
Matrix sorted in increase order by row and column; find a given number x if it appears in the matrix
1. Write a function to implement the "cat" command in Linux 2. Find the first character that only appears once in the whole string
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.
How do you write an algorithm to count all subsets of strings in a string.
you have two eggs, and a 100 storey building, find out the highest floor to throw them from so that they wont break, and in minimum number of tries.
Viewing 341 - 350 interview questions