What is the difference between Java and Java Enterprise Edition?
Engineers Interview Questions
843,690 engineers interview questions shared by candidates
1st round: 1. How to uniquely identify the repeating strings from the array. 2. How to search in Skiplist 2nd round: 1. BinarySearch 2. How to write Customized Comparator 3. Anagrams 3rd round: Lunch with tech manager and find maximum sub array 4th round: 1. Binary Search in sorted matrix 2. Different ways of writing Singleton pattern 3. Resume go through 5th round: 1. How HashMap works 2. Get sum using minimum combination of numbers provided 6th round: 1. Singleton 2. Tree traversal 3. How to mirror the tree 4. Stack implementation 5. Queue using stack 6. Reverse the sentence
You are given a circular road with petrol pumps at regular intervals & you know the average of your car. Each petrol pump has given certain quantity of petrol. Now you need to find if you can complete that circle & from which point i.e. petrol pump you need to start.
If 6 men can do a piece of work in 14 days, how many men are needed to do the work in 21 days?
In Java, how do you convert string "123" to a number. I knew this, but was drawing a blank during the interview.
how do you find 3 number total 0?
given an array of words find what is and how long is the length of the longest common substring between two words in the array
About experience, initiatives, difficulties
Why are man-holes round?
1. How to achieve automatic type conversion from type X to type Y? a. X can define the member function operator Y() b. a) or b) can be used c. Y can define the constructor Y(const X&) d. none of the above 2. class Coordinate{ int x; int y; public: Coordinate(int a=0, int b=0) { x=a; y=b; }; }; What are the values for the following object: Coordinate point(10); a. x=10,y=0 b. x=0,y=10 c. x=10,y=10 d. x=0,y=0 3. What type of argument can the following function take : Void foo(); a. any number or type of arguments b. a character c. an integer d. no an integer argument of any type 4. Consider the following function declarations in a header file: void doit(char *, int); int doit(char *) ; float doit(float, float) ; Which of the following declarations cannot follow in the same header: a. void doit(int, char *); b. int doit(int) ; c. float doit(char *) ; d. int doit(int, int) ;
Viewing 2981 - 2990 interview questions