Intern Interview Questions

Sort: Popular Date
Sort: Popular Date

Did you mean companies matching "Intern"? See Companies

Intern at Google

Dec 30, 2011

“Find occurrences of a number in sorted array (allow duplicates).”

“Given a sorted array, write a program to decide if two elements sum up to a third.”

“Write a function that finds the minimum and maximum values within an unsorted array using divide-and-conquer.”

“Print out a binary tree level by level”

“To return the 'm' smallest numbers from a file of 'n' numbers”

“Questions related to data structures like "What data structure would you use for a browser's BACK & FORWARD ability"”

“You are given an array with n positive integers where all values in the array are repeated except for one. Return the one that is not repeated.”

“What if you could reflip 1 coin that you wanted. What would be the expected value then?”

“• Is 1027 a prime number?
• How would you write an algorithm that identifies prime numbers?
• 2 blue and 2 red balls, in a box, no replacing. Guess the color of the ball, you receive a dollar if…”

“Write a power function
power(a , b)
returns a^b”

2130 of 13,534 Interview Questions