Look for a string in a very long string - a needle in a haystack. Write the program in pseudo-code.
MISSING VALUE Interview Questions
6,576,772 interview questions shared by candidates
Why do you want to work for Victoria's Secret?
Why are manhole covers round?
Use singly linked list to implement the cache (LRU) algorithm. How would you do?
Find the length of the longest chain of consecutive integers in an unsorted set in linear time.
write code to generate iid draws from distribution X when we only have access to a random number generator
What do you do in your current role How many people do you manage
Given array of stick lengths, return number of turns it takes to have no sticks left. Each turn you remove sticks of smallest length and cut that length from the rest of the sticks.
One probability question and one r coding. Teams A and B are playing a game with 7 matches. A has probability p to win a match. What's the probability A wins the game at the 7th match.
Puzzle1 - Given 8 coins, and the fact that one of the coins is heavier than the other, how many times(min) do you need to use a beam balance to figure out which is the anomalous coin? After I answered this, he made it little tougher. Given 9 coins and one anomalous coin(maybe heavier or lighter), figure out which coin it is and whether heavier or lighter. What is the min no of comparisons? This is where i took a while to answer.
Viewing 4491 - 4500 interview questions