How to implement Sqrt(double k) efficiently?
Developer Interview Questions
639,992 developer interview questions shared by candidates
Given n+1 buckets with n of them with ball inside and move(a,b) function, that moves ball from bucket a to bucket b. Each ball has a different number from [1,n] on it. Move balls, so each bucket has a ball with matching number in it.
Given 2 arrays sorted in ascending orders (a[n] and b[n*2]) with the second half of array a[] being empty, create a function that merges both arrays into a single sorted array.
Given two binary trees, return true if they have same elements (irrespective of tree structure)
Give a dictionary with a huge set of words and a string with wildcard. You are required to find whether there is a match in the dictionary for this given string.
Write a function to take a BST and a value k as input and have it print the kth smallest element in the BST.
You have an analog clock with two hands, one for the hour and one for the minute. Given a time of the day, what is the angle between the two hands?
Write a program to count the number of words in a file.
Given an array of unsorted integers, determine which number appears most often.
How to detect loops in a linked list without using a data structure
Viewing 631 - 640 interview questions