i
Best Koki Automotive
Filter interviews by
2hours with basic questions
Stack is Last In First Out (LIFO) data structure, while Queue is First In First Out (FIFO) data structure.
Stack: elements are added and removed from the top of the stack. Example: stack of plates.
Queue: elements are added at the rear and removed from the front of the queue. Example: waiting line.
Recursion is a programming technique where a function calls itself to solve a problem.
Recursion involves breaking down a problem into smaller subproblems and solving them recursively.
Base case is important to prevent infinite recursion.
Examples: factorial calculation, Fibonacci sequence, tree traversal.
Top trending discussions
I applied via Campus Placement
I applied via Campus Placement
Interview experience
Assistant Engineer
37
salaries
| ₹1.9 L/yr - ₹3.5 L/yr |
Senior Engineer
30
salaries
| ₹4.5 L/yr - ₹7.2 L/yr |
Assistant Manager
25
salaries
| ₹6 L/yr - ₹10 L/yr |
Engineer
20
salaries
| ₹2.4 L/yr - ₹5 L/yr |
Production Engineer
17
salaries
| ₹2 L/yr - ₹5.8 L/yr |
Maruti Suzuki
Tata Motors
Mahindra & Mahindra
Ashok Leyland