Diamond problem and some DSA problems.
Intern Software Engineer Interview Questions
9,348 intern software engineer interview questions shared by candidates
Q. Questions on finding minimum element from stack in constant time without any extra space.
Binary search on a sorted array that was rotated once
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
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.
Viewing 1341 - 1350 interview questions