1) Asked me brief intro about myself.
2) Why do you want to change company?
3) Given a string. Remove duplicate characters from the string in optimum way.
4) How do u design a stack such that push(), pop() and getMin() opearations are done in O(1) time complexity
5) Given two sorted arrays. Return Kth maximum sum formed by pairs of elements such that first element in from array1 and second element is from array2.(For this one i gave brute force approach)
6) Given a sorted rotated array.Write an algorithm to find the element in the array.
7) Did you ever override hashcode() method ? If yes, in which cases you overrode?
8) Advantage of using Thread class over Runnable interface?
No comments:
Post a Comment