Graduate Software Engineer Interview Questions | Glassdoor

Graduate Software Engineer Interview Questions

37

Graduate software engineer interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

You are in a room by yourself and someone walks into the room, asks you to find the temperature, and leaves. How would you find the temperature in the room without leaving the room?

3 Answers

Call a friend to bring a thermometer over.

Cut a 5cm*5cm*5cm ice cube from the refrigerator, and test how long it take for it to melt completely.

Find two equal size ice cubes, for the first one, wait till it melts completely(0 ℃) , heat it till it boils, record the time t1. For the second one, wait long enough till the water has the same temperature with the room, than heat it till it boils, record the time t2. The room temperature is 100*t2/t1.

Write a function (in your preferred language C, C++, or Java) that will take the given string and return the reverse. (ie. input:"abc def ghi" output:"ihg fed cba") Optimize the above code (if possible). Now knowing that the original function you wrote in pt1 is being used by other programs and cannot be modified write another function that when called will utilize the function from pt1 to only reverse the words in the sentence. (ie. input:"abc def ghi" output:"ghi def abc") Test your code.

2 Answers

How do you compile a Linux kernel? where does the kernel image reside on the computer ? What is a bootloader ? How does the linux machine boot ? explain static volatile auto Which are the essential components you need to compile in order to run you linux image

1 Answer

Write a function that when given a string will return the position of the starting point of the largest reoccurring character. (ie. given:"AAABBCCCCD" would return 5 (starting point of C)) Test your code.

1 Answer

in an election, how would you find the person who received the most votes at a certain time?

I signed an NDA, but there were a number of recursion and graph-based problems.

There weren't any specific questions, the interview was more on my background and getting to know the company well.

Given a linked list of elements defined as objects of a given class delete elements from the linked list that are found in an array.

2 Answers

What are typical latency times for registers, cpu caches, memory, disc storage, network, etc.? How does garbage collection work in java?

110 of 37 Interview Questions