Engineer Interview Questions

844,385 engineer interview questions shared by candidates

Given an integer write a function that converts the input into a linkedList where each node corresponds to a number of the integer. Eg: 25697 == 2 -> 5 -> 6 -> 9 -> 7 Then write a function that takes 2 linkedList, add the corresponding integers and return a third list with the result.
Nov 6, 2012

Given an integer write a function that converts the input into a linkedList where each node corresponds to a number of the integer. Eg: 25697 == 2 -> 5 -> 6 -> 9 -> 7 Then write a function that takes 2 linkedList, add the corresponding integers and return a third list with the result.

1. What is a virtual? 2. If class has virtual function, what happens in compile time and in run time? 3. What is a polymorphism? 4. Write the function that gets array of chars and returns number of elements with 3 bits ON, performance is important. 5. Write the function that draws a line from x1,y1 to x2,y2 6. You have very long function with many return statements. You have to determine how much time it runs.
avatar

Software Engineer

Interviewed at GE HealthCare

4.2
Apr 21, 2016

1. What is a virtual? 2. If class has virtual function, what happens in compile time and in run time? 3. What is a polymorphism? 4. Write the function that gets array of chars and returns number of elements with 3 bits ON, performance is important. 5. Write the function that draws a line from x1,y1 to x2,y2 6. You have very long function with many return statements. You have to determine how much time it runs.

Design a Data Structure SpecialStack that supports all the stack operations like push(), pop(), isEmpty(), isFull() and an additional operation getMin() which should return minimum element from the SpecialStack. All these operations of SpecialStack must be O(1). To implement SpecialStack, you should only use standard Stack data structure and no other data structure like arrays, list, etc.
avatar

Software Development Engineer I

Interviewed at Flipkart

3.8
May 21, 2016

Design a Data Structure SpecialStack that supports all the stack operations like push(), pop(), isEmpty(), isFull() and an additional operation getMin() which should return minimum element from the SpecialStack. All these operations of SpecialStack must be O(1). To implement SpecialStack, you should only use standard Stack data structure and no other data structure like arrays, list, etc.

You have a 3 litre container & a 5 litre container filled with water to the brim.You also have a 5 litre container which is empty.How would you extarct or make an exact amount of 4 litres of water in any of the containers. You are not allowed to throw the water outside the containers. You can transfer the water from 1 Container to the other.
avatar

Applications Engineer

Interviewed at Invensys

3.5
Jun 5, 2012

You have a 3 litre container & a 5 litre container filled with water to the brim.You also have a 5 litre container which is empty.How would you extarct or make an exact amount of 4 litres of water in any of the containers. You are not allowed to throw the water outside the containers. You can transfer the water from 1 Container to the other.

Viewing 1861 - 1870 interview questions

Glassdoor has 844,385 interview questions and reports from Engineer interviews. Prepare for your interview. Get hired. Love your job.