Graduate Software Developer Interview Questions

4,487 graduate software developer interview questions shared by candidates

The second question was a bit confusing. Suppose you have a facebook API, which allows you to access all one's friends. Can you find if B is connect to A through friend's network? say A has friends (C,D,E) and C has friends(B,G). Now A is connected to B. I did the second one with a 7 layer for loop first, 'cause I was avoiding overloading the memory with too much data. However, the interviewer seems not to appreciate that. But I did answer the following up question wrong. He asked what is the big O for my code. A map search is N(nodes)+V(edge). I did not know that, I gave a answer of N, which is close but not correct.
avatar

Software Engineer New Graduate

Interviewed at Google

4.4
Apr 4, 2016

The second question was a bit confusing. Suppose you have a facebook API, which allows you to access all one's friends. Can you find if B is connect to A through friend's network? say A has friends (C,D,E) and C has friends(B,G). Now A is connected to B. I did the second one with a 7 layer for loop first, 'cause I was avoiding overloading the memory with too much data. However, the interviewer seems not to appreciate that. But I did answer the following up question wrong. He asked what is the big O for my code. A map search is N(nodes)+V(edge). I did not know that, I gave a answer of N, which is close but not correct.

Q1- Swap two variables without using third variable? Q2- You have two integers so when one integer is passed the function outputs the other.... no use of if statements or loops? Q3- What is indexing? Q4- What is difference between unique and primary key? Q5- What is the Time complexity of binary search tree? Q6- Three boxes labeled as red, blue and mixed. These labels are incorrect.one box contains red balls and another box contains blue balls and remaining one box contains both red and blue balls. Pickup one ball from any box(u should pickup ball only once) and name the correct labels.
avatar

Graduate Trainee Software Engineer

Interviewed at Teradata

3.7
Jul 30, 2022

Q1- Swap two variables without using third variable? Q2- You have two integers so when one integer is passed the function outputs the other.... no use of if statements or loops? Q3- What is indexing? Q4- What is difference between unique and primary key? Q5- What is the Time complexity of binary search tree? Q6- Three boxes labeled as red, blue and mixed. These labels are incorrect.one box contains red balls and another box contains blue balls and remaining one box contains both red and blue balls. Pickup one ball from any box(u should pickup ball only once) and name the correct labels.

Viewing 4021 - 4030 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 4,487 interview questions and reports from Graduate software developer interviews. Prepare for your interview. Get hired. Love your job.