Given an array of numbers, there is one number that has a duplicate. How would you find the number?
Intern Engineer Interview Questions
15,456 intern engineer interview questions shared by candidates
1. Describe what happens when user surf the internet 2. What's Java Object class. Name one of its method. What will be returned for equal() if two objects have same hashcode
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?
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.
Viewing 71 - 80 interview questions