Software Development Intern Interview Questions | Glassdoor

Software Development Intern Interview Questions


Software development intern interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

To find and return the common node of two linked lists merged into a 'Y' shape.

13 Answers

how did the two linked lists make their poses to merge into a 'Y' shape, one's head attached to the waist? please explain more to help understand the question

The two linked lists were something like: 1->2->3->4->5 and 3->4->5->6->7->8.

For a Y shaped like this: 1 -> 2 -> 3 -> 4 ->7 -> 8 -> 9 5 -> 6 -> 7 -> 8 -> 9 where the trunk portion is of constant length, it is easy. Get the length of the first list. In our case 7. Get the length of the second list: 5. Difference is 2. This has to come from the legs. So, walk the difference in the larger list. Now node1 points to 3. node 2 points to 5. Now, walk through the two lists until the next pointers are the same.

There are 20 floors in a building. If you're on an elevator and you're trying to get to the 20th floor, what is the probability that 4 people ahead of you click the 20th floor before you do? Assuming you click last.

10 Answers

Determine if an array from 1..n has a duplicate in constant time and space.

13 Answers

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.

10 Answers

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

8 Answers

Given the head pointers to two linked lists of unknown length, find the node of intersection if they do intersect.

5 Answers

Write a program to find the square root of a double.

5 Answers

What is the angle between the two arms of the clock at 2:40?

8 Answers

Write a program that sees if two binary trees are equal.

6 Answers

Write a function that takes in an array and repeats an integer that appears the most.

5 Answers
110 of 547 Interview Questions