Intern Interview Questions

249,570 intern interview questions shared by candidates

1st round HR: basic behavioral questions 2nd tech screen: data structures and an algorithm question that most people should have learned in their algorithms class 3rd tech screen: a simpler algorithm design question, then a really weird data structure question.
avatar

Intern - Hourly

Interviewed at Intentional Software

3.8
Feb 20, 2016

1st round HR: basic behavioral questions 2nd tech screen: data structures and an algorithm question that most people should have learned in their algorithms class 3rd tech screen: a simpler algorithm design question, then a really weird data structure question.

Given an array of randomly arranged lower case letters, uppercase letters, and numbers, sort the array such that all lower case letters come before all uppercase letters, come before all numbers. The classes of characters do not need to be in order in their respective sections.
avatar

Intern

Interviewed at Meta

3.6
Sep 12, 2015

Given an array of randomly arranged lower case letters, uppercase letters, and numbers, sort the array such that all lower case letters come before all uppercase letters, come before all numbers. The classes of characters do not need to be in order in their respective sections.

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 ?
avatar

Software Development Engineer Intern

Interviewed at Amazon

3.5
Feb 10, 2013

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 ?

Viewing 51 - 60 interview questions

Glassdoor has 249,570 interview questions and reports from Intern interviews. Prepare for your interview. Get hired. Love your job.