Software Engineer Interview Questions

467,290 software engineer interview questions shared by candidates

In the first round i am asked three questions 1. Eliminate the duplicate elements from a given linked list. 2. One question on Permutations and Combinations 3. Union find algorithm. In the second round Given a problem to design an algorithm for that. Some questions on OS(Memory Management, Scheduling) Some questions on C language
avatar

Software Engineer

Interviewed at Salesforce

4
Jan 22, 2016

In the first round i am asked three questions 1. Eliminate the duplicate elements from a given linked list. 2. One question on Permutations and Combinations 3. Union find algorithm. In the second round Given a problem to design an algorithm for that. Some questions on OS(Memory Management, Scheduling) Some questions on C language

The questions where very low level JAVA language questions. Questions like what is the Super class of all classes in JAVA. How does the class loader work. What are the different drivers in JDBC (he did want to know about JAVA JDBC Connectors so I do not know what he was referring to). The questions where mostly like this. Things that I never heard anyone else ask before on a JAVA interview.
avatar

Software Engineer

Interviewed at Oracle

3.5
Apr 4, 2014

The questions where very low level JAVA language questions. Questions like what is the Super class of all classes in JAVA. How does the class loader work. What are the different drivers in JDBC (he did want to know about JAVA JDBC Connectors so I do not know what he was referring to). The questions where mostly like this. Things that I never heard anyone else ask before on a JAVA interview.

5 horses on a 5-lane track. You have 5 horses and you want to rank the top three. All you have available to you is a track and the ability to tell perfectly in which order the horses crossed the finish line. How many races are necessary in order to rank the top three horses?
avatar

Software Developer

Interviewed at Oracle

3.5
May 29, 2010

5 horses on a 5-lane track. You have 5 horses and you want to rank the top three. All you have available to you is a track and the ability to tell perfectly in which order the horses crossed the finish line. How many races are necessary in order to rank the top three horses?

One of the questions was asked by Ahmed Bashir, who (I later learned) was a Director level and the manager of the hiring manager. The question was as follows. You are given 25 horses. In each race only up to 5 horses can run and each race only reveals the ranking between the horses (i.e., we do not know the actual time). What is the minimum number of races you need to have in order to reveal the 3 fastest horses between the 25.
avatar

Software Engineer

Interviewed at Apple

4.1
Feb 3, 2019

One of the questions was asked by Ahmed Bashir, who (I later learned) was a Director level and the manager of the hiring manager. The question was as follows. You are given 25 horses. In each race only up to 5 horses can run and each race only reveals the ranking between the horses (i.e., we do not know the actual time). What is the minimum number of races you need to have in order to reveal the 3 fastest horses between the 25.

There are ten buckets of lead weights, with nine of them having equal weights of 10 grams each, while one of them has weights of 11 grams each. You want to find out which bucket has weights of 11 grams each, by using a scale, but you can only turn on the scale once.
avatar

Software Engineer Intern

Interviewed at Cisco

4.1
Sep 10, 2013

There are ten buckets of lead weights, with nine of them having equal weights of 10 grams each, while one of them has weights of 11 grams each. You want to find out which bucket has weights of 11 grams each, by using a scale, but you can only turn on the scale once.

Viewing 1961 - 1970 interview questions

Glassdoor has 467,290 interview questions and reports from Software engineer interviews. Prepare for your interview. Get hired. Love your job.