if there are 9 white balls and 7 black balls in a bag .You have to take out balls one by one from the bag.then in how many attempts you wilk get a matched pair
Programmer Trainee Interview Questions
712,403 programmer trainee interview questions shared by candidates
String foo = "abc"; String foo1 = "abc" what does (foo == foo1) evaluate to?
hackerrank problems
If you toss a coin n times, what's the expected value of n if you get the 2nd head?
None of the questions were unexpected, at least for any candidate applying for this job. I definitely felt I could have answered few questions better.
How do you find 2 missing elements in an array of consecutive integers that are not sorted who's size is N-2.
Search on an unsorted list with a time complexity of O(logn)
Iterating through a k-dimensional array given size of each dimension in an array.
return true if array of size n contains a permutation of [1,n]
1. The police have managed to capture three suspects in a local bank robbery case. After intensive questioning, the three suspects have spoken. If we know that one of them always lies, and the other two always tell the truth. Who is guilty. 1. Sam - ‘I am innocent’ 2. Will - ‘I am innocent’ 3. Jenny - ‘Will is guilty’
Viewing 641 - 650 interview questions