If I spin a roulette, roll a dice, and pick a card out of a 52-card deck, what are the chances that all three are the same number? How confident are you in your answer?
Interns Interview Questions
248,188 interns interview questions shared by candidates
Now, you have an option to reflip all the coins if you want. What's your strategy? And how what's the expected value?
Write a C procedure to reverse a string in-place.
Given an array of numbers, there is one number that has a duplicate. How would you find the number?
1. Describe what happens when user surf the internet 2. What's Java Object class. Name one of its method. What will be returned for equal() if two objects have same hashcode
Assuming a preexisting list of 100 words, how would you efficiently see if a word received from input is an anagram of any of the 100 words?
p++ means?
given a list of numbers and a function that returns 0,1 or 2 for every int, sort the list by the return value of the function. should do it without using another array, in place.
Given an array of integers, all but one of which appears an even number of times, find the one integer which appears an odd number of times. Upon completion, asked to improve the algorithm in terms of both time and space, eventually asked to do it in O(n) time and constant space.
Find the numbers in an array that appear an odd number of times.
Viewing 221 - 230 interview questions