Software engineering internship Interview Questions | Glassdoor

Software engineering internship Interview Questions

93

software engineering internship interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

The questions weren't difficult--I just was a little rusty in the morning and didn't do so well. I think the hardest one was to traverse a linked list and remove any odd elements.

2 Answers

public static void remove(Node head) { Node prev = null; while (head != null) { if (head.value % 2 == 1) { if (prev == null){ head = head.next; prev = head; } else prev.next = head.next; } else { prev = head; } head = head.next; } }

using namespace std; void removeOddElements(list& original) { for (list::iterator i = original.begin(); i != original.end(); ++i) { i = original.erase(i); } }

What is the difference between a Class in C and an Object in C++?

2 Answers

The Difference Between while and a DO While loop.

2 Answers

What is the difference between a signed and unsigned integer variable type?

2 Answers

How many simulations would it take to get an accuracy of less than or equal to 1%

2 Answers

What's your biggest weakness?

1 Answer

How to find if n numbers in a list sum up to an integer k?

1 Answer

Unexpected question: "Describe yourself using adjectives." Most difficult question: The famous "Why should I hire you?"

1 Answer

What is the difference between "Abstraction" and "Inheritance"?

1 Answer

Write code to add two very large integers together (given as strings). Now add on to that code to add two very large integers with decimal points. Write an algorithm to find the diameter of a binary tree.

1 Answer