The probability of a car passing a certain intersection in a 20 minute windows is 0.9. What is the probability of a car passing the intersection in a 5 minute window? (Assuming a constant probability throughout)
Two software engineers from Google’s Pittsburgh office deliver a presentation on how to prepare for technical interviews in this Hangout on Air from October 9, 2012. The rundown menu is at the bottom. Head over to http://goo.gl/xSD7jo to learn more about how we hire and to find your role with us. 0:00 – Introductions 0:59… Read More »
Write a function that will find a missing or duplicated number in an array.
Write code to generate all possible combinations of ‘r’ elements in a given array of size ‘n’?
What method can be used to pick or remove any given character from a string?
How will you find out the longest palindrome in a given string.
How will you find the depth of a binary tree?
What code will you write to check if a number is power of two or not?
Write code that will check if a linked list is a palindrome or not.
Write a program for producer-consumer problem. Use a blocking queue.