Implement a stack that supports push, pop and mode(the one from statistics) operation. Gave an O(log n ) push and pop and O(1) mode operation.Another good question was implement atoi function. I assumed it as base 10 but was asked to support from binary to any base numbers(even base 50).
Intern Software Interview Questions
20,198 intern software interview questions shared by candidates
Give you an array of integers without duplication. Let you write a piece of code to return the pairs that their sum is 100.
The input to a function is an array of n elements.Output of that function is also an array where each element is product of all elements in the input array except the one with same index. Input ::::: 1 2 3 4 Output ::::: 2*3*4 1*3*4 1*2*4 1*2*3
Hasp map concepts theory questions coding question : Program to check if binary tree is a BST Complexity of the module written
Given a binary search tree and a number find the closest node to that number.
How would you reverse a doubly-linked list?
Write a function in java to calculate all the possible palindromes in a string.
If you get an array of integers, find the only integer that is repeated for an odd number of times.
Tell us something about your projects ?
to encode the interview, you can watch a video on the internet for the "take-home" project: You have to monitor... with the person in charge of hiring: discussion of my motivations, my vision, what I wanted to do, the way I work
Viewing 371 - 380 interview questions