How do you find yourself working with the team?
Data Structures Interview Questions
6,580,659 interview questions shared by candidates
Given a 12 sided dice, you roll the dice repeatedly until the cumulative sum is odd. What is the number of the cumulative sum you can have with the highest probability?
If you had only 5 and 11 cent stamps. Whats the smallest number that would be impossible to make with those stamps.
During the third interview : imagine an infinite chess board. If the horse from 1 case, in how many cases can he possibly ends after 10 moves. You actually don't have to give a number but a 95% confidence interval. pen and paper allowed
The questions were not very difficult but you really need to have all the concepts crystal-clear and be ready to apply them successfully. One of the questions was "how to count the letters in this string:" "The quick brown fox jumps over the lazy dog";
If you had a list of appointments (each appointment has a begin time, an end time, and a boolean hasConflict), how would you efficiently go through them and set the hasConflict boolean for each. You cannot assume they are sorted in any way. Keep in mind that one appointment may be very long, etc.
Phone interview question: Given a string pattern of 0s, 1s, and ?s (wildcards), generate all 0-1 strings that match this pattern. e.g. 1?00?101 -> [10000101, 10001101, 11000101, 11001101]. You can generate the strings in any order that suits you.
- Given an array, remove the duplicates and return a unique array keeping the first occurrence of the duplicates and the order. [@2, @1, @3, @1, @2] --> [@2, @1, @3] - how would you implement call for canceling queued blocks with dispatch_after?
Walk me through your resume
Pretty much in line with what other people have been asked.
Viewing 1801 - 1810 interview questions