Assuming a preexisting list of 100 words, how would you efficiently see if a word received from input is an anagram of any of the 100 words?
Software Engineer Intern Interview Questions
9,436 software engineer intern interview questions shared by candidates
How would you store and search 1 million names?
Given an array of integers, all but one of which appears an even number of times, find the one integer which appears an odd number of times. Upon completion, asked to improve the algorithm in terms of both time and space, eventually asked to do it in O(n) time and constant space.
Find the numbers in an array that appear an odd number of times.
You have a box of red balls, a box of blue balls, and a box of red and blue balls. What is the minimum number of boxes you can open and know what is the contents of each box?
Print a binary tree level by level in zigzag order
Implement integer division
Logical Reasoning Goal: The person to reach 50 first wins. Rules: Play with another person, say a number, and the other person can say any number upto 10 over your number.
Implement the functions for a stack and function getMinimum() all with O(1) complexity.
How can one implement a queue with only a stack implementation?
Viewing 71 - 80 interview questions