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.
Engineer Software Interview Questions
511,683 engineer software interview questions shared by candidates
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.
Given an array as an input: [1,2,3,4,5] Return an array, which has a given index the product of all the other numbers in the array (except for the number at the given index), without using the divide operator: [120,60,40,30,24]
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.
Given two very large binary trees T1, with millions of nodes, and T2, with hun- dreds of nodes, create an algorithm to decide if T2 is a subtree of T1.
find if 2 strings are anagrams
Viewing 651 - 660 interview questions