Developer Intern Interview Questions | Glassdoor

Developer Intern Interview Questions

760

Developer intern interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

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

7 Answers

Write a program to find (x^y) % z

5 Answers

how would you design how a cellphone implements its contact list when you press a certain letter. For example, If you press M it will tell you all the names starting with M. then if you press MI it will tell you all names starting from MI and so forth....

6 Answers

Linked list memory management: deleting a node from the middle of a list was easy. Next question - how to delete a node from the end of a list. Was too tired to think and realize this was a trick question.

5 Answers

Possible anagrams of a string ...

4 Answers

Can you think of an example of a scenario where you would want to use a tree with more degrees of branching than a binary tree?

4 Answers

string compression: aaabbbbcc ->a3b4c2

5 Answers

Suppose there is a rectangular map where you can only travel up or right to go from a start location in the bottom left corner to the top right corner, and each move is discrete. Write a program that prints all possible solutions to get from the start to finish.

4 Answers

I was asked two questions. Q 1. You are given two version numbers of a software, like Version 10.3.4 and Version 10.3.41. Write a program to find out which of the version numbers are the latest. If version 1 is latest output -1, if version number 2 is latest output +1 else output 0 if same version. Both the version numbers are taken as string. He also asks to make the program of minimum time complexity as we can. At the end he also asked the difference between an iterative program and one with recurrence and their advantages and disadvantages. Q 2. Given two files with a list of application IDs (or some kind of data) stored in them , write a program to compare the data in the two files and output all the common data found in each. What data structure would you use and why ? Give a minimum time and space complexity algorithm. Why did you choose the particular data Structure or algorithm ?

5 Answers

Given a bag of nuts and a bag of bolts, each having a different size within a bag but exactly one match in the other bag, give a fast algorithm to find all matches.

4 Answers
1120 of 760 Interview Questions