Developer Intern Interview Questions | Glassdoor

Developer Intern Interview Questions

754

Developer intern interview questions shared by candidates

Top Interview Questions

Sort: Relevance Popular Date

Swap two variables without using a temp.

4 Answers

Give me 5 different ways of finding the median (middle element) of a linked list. For the sake of simplicity, assume the list has odd number of ints. Also mention the runtime for each. Follow up: What's the fastest way you could find the median? What is the runtime? Oh.. and yes, code your answer(s) in any language of your preference.

4 Answers

There is an array of numbers, containing the integers 1-n, how can you find the sum of the numbers in that array?

3 Answers

Print a binary tree level by level in zigzag order

3 Answers

Calculate the square root of a number.

3 Answers

You have a building with 100 stories. You also have two glass balls. You can drop the glass balls as many times as you want before they break. How can you find the floor at which they start breaking with the fewest number of drops?

3 Answers

Connect Four is a game where two players take turns dropping their color discs into a vertically suspended grid. The game ends when a player adds a disc to the playing grid that connects four discs of their color. The connected discs can be in a horizontal, vertical or diagonal line. Write a function to be called after every turn that returns true if the game is over (and false otherwise).

3 Answers

Write a function to cause stackoverflow.

3 Answers

Write a function to convert First Name, Last Name to Last Name, First Name.

3 Answers

Is it possible to sort using linear time a file with lots of numbers that contain duplicates, when there are no limits of resources or space?

3 Answers
3140 of 754 Interview Questions