I was asked two questions - how will you know which is the starting point in a circular linked list (write a program) and write a program to return two numbers from a function to the main
Intern Software Engineer Interview Questions
9,453 intern software engineer interview questions shared by candidates
In-place array reversal, level-order binary tree traversal, reading two files and outputting strings common to both.
-Write a method that prints out an in order traversal of a binary tree
You are given a stock sequence like: 3, 6, 2,10, 5, 9. Each number represents the price for buying/selling a certain stock each day. You can buy once and sell only once. Find the maximum possible gain.
There was as such no hard question for me. But unfortunately i was not prepared for this interview. Frankly this was my first ever interview. So yes i was bit nervous and i didn't knew about the tips and tricks for cracking the interview at that time. I was asked the following 2 questions: 1. given a tree, do the level order traversal of the tree. Explain the logic and write it's proper code not pseudo-code. 2 given a link list, Reverse a Linked List in groups of given size. write it's code.
A inherits from B, which inherits from C. Will initializing A invoke constructor of C
1. Implement a hashset from scratch, write code for various methods of hashset. 2. Find all the pairs of numbers from a list that sums to a particular number.
Question about a situation in which the deadline was near.
Can't say but it had to do with a graph problem.
Convert a 2D sorted LinkedList to a 1D sorted LinkedList. Basically the 2D LinkedList is a Sorted LinkedList where every node is pointing to another Sorted LinkedList. And the output should be a single Sorted LinkedList.
Viewing 1351 - 1360 interview questions