The brain teaser: what is the last digit of 2007 power 2007
Developer C Interview Questions
710,954 developer c interview questions shared by candidates
Given a scale and an object that can way between 1 to 40 grams. What is the minimum number of counter weights that you can buy to weigh anything in the range of 1 to 40.
Given 100 white marbles and 100 black marbles and two jaws. Put these marbles in the two jars in a way that would maximize the chance of retrieving a white marble from any given jaw.
In the next telephonic interview with HR, I got uncanny questions like why do you need H1B when you can work 36 months without H1B (I'm on F1 OPT).
Prove that the number between prime pair is always divisible by 6
calculate 234*+46+ using stack
Write a function that is passed a string and determines whether or not the string is a palindrome. (They had me write on the whiteboard in front of them.)
Write a function that, given a list of integers (both positive and negative) returns the sum of the contiguous subsequence with maximum sum. Thus, given the sequence (1, 2, -4, 1, 3, -2, 3, -1) it should return 5.
Question1 /** * Given a nested list of integers, returns the sum of all integers in the list weighted by their depth * For example, given the list {{1,1},2,{1,1}} the function should return 10 (four 1's at depth 2, one 2 at depth 1) * Given the list {1,{4,{6}}} the function should return 27 (one 1 at depth 1, one 4 at depth 2, and one 6 at depth 3)
You have a 5L and a 3L bottle. How can you get exactly 4 Litters of water?
Viewing 1031 - 1040 interview questions