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
avatar

Software Engineer

Interviewed at eBay

4
May 13, 2016

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.
avatar

Senior Java Engineer

Interviewed at Tide

4.6
Jul 10, 2020

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.

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) ;
avatar

Software Development Engineer

Interviewed at Amadeus

4
Jul 18, 2013

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

Glassdoor has 843,690 interview questions and reports from Engineers interviews. Prepare for your interview. Get hired. Love your job.