O(n) time O(1) space to print link list reversely.
Engineer Intern Interview Questions
24,102 engineer intern interview questions shared by candidates
Write a function that finds the minimum and maximum values within an unsorted array using divide-and-conquer.
Given the head pointers to two linked lists of unknown length, find the node of intersection if they do intersect.
Make a program that writes a Binary Search Tree to a file. Now create a program that reads those files and recreates a Binary Search Tree.
You are in a boat which is in the middle of a pond and you are holding a rock in your hand. You throw the rock into the lake. Does the water level of the lake rise?
Find the nth fib number
Use basic arithmetic operations (+-*/) to implement sqrt function.
Given N credits cards, determine if more than half of them belong to the same person/owner. All you have is an array of the credit card numbers, and an api call like isSamePerson(num1, num2).
Given a string write a function which prints all the subsets of the string. Now make the function to return only unique solutions. For example if they give you "abc" you print out a ab abc ac b bc c Now for the unique solution constraint, if they give you "aba" the output should be: a ab aba b
Signed an NDA, so I will not post the questions.
Viewing 41 - 50 interview questions