Filter interviews by
Basic design questions
Top trending discussions
I applied via Naukri.com and was interviewed before Aug 2020. There were 4 interview rounds.
I applied via Approached by Company and was interviewed in Sep 2023. There was 1 interview round.
I applied via Naukri.com and was interviewed before Dec 2020. There were 3 interview rounds.
posted on 8 May 2021
I applied via Naukri.com and was interviewed before Sep 2021. There were 3 interview rounds.
C programs and linked list related programs. In c mainly focus on strings and arrays
Extern and static are storage classes in C programming language.
Extern is used to declare a variable or function that is defined in another file.
Static is used to declare a variable or function that is only accessible within the same file.
Extern variables have global scope while static variables have local scope.
Extern functions can be used in other files while static functions cannot be used outside the file they are
posted on 16 Sep 2021
I appeared for an interview before Sep 2020.
Round duration - 30 minutes
Round difficulty - Easy
To search for a node in a linked list, iterate through the list and compare each node's value with the target value.
Start at the head of the linked list
Iterate through each node by following the 'next' pointer
Compare the value of each node with the target value
Return the node if found, otherwise return null
To detect a loop in a linked list, we can use Floyd's Cycle Detection Algorithm.
Initialize two pointers, slow and fast, at the head of the linked list.
Move slow pointer by one step and fast pointer by two steps.
If there is a loop, the two pointers will eventually meet.
Alternatively, we can use a hash set to store visited nodes and check for duplicates.
Implement a stack using a singly linked list
Create a Node class with data and next pointer
Create a Stack class with top pointer pointing to the top of the stack
Implement push, pop, and peek operations by manipulating the linked list
Example: Node class - Node { int data; Node next; }
Round duration - 40 minutes
Round difficulty - Easy
The top view of a binary tree shows the nodes visible from the top when looking down from the root node.
The top view of a binary tree is the set of nodes visible from the top when looking down from the root node.
Nodes at the same horizontal distance from the root are considered at the same level in the top view.
If multiple nodes are at the same horizontal distance, only the topmost node at that level is included in the...
Deleting a node from a linked list involves updating pointers to maintain the list's integrity.
Identify the node to be deleted by traversing the list
Update the previous node's next pointer to skip the node to be deleted
Free the memory allocated to the node to be deleted
Do practice a lot of questions on linked list and stacks as these are two most important data structures asked in the interview. Also, try to implement it yourself without seeing the solution. Also prepare for Computer Science subjects like Operating System, Database Management System, Computer Networks, etc. I prepared them through Coding Ninjas notes which were simpler and easy to understand.
Application resume tips for other job seekersKeep your resume short and up to mark and check spellings before submitting it for the interview process.
Final outcome of the interviewSelectedposted on 7 May 2017
I appeared for an interview in Feb 2017.
malloc is a function in C that dynamically allocates memory on the heap. It is used to allocate memory for variables or data structures.
malloc is used in C programming language.
It is used to allocate memory on the heap.
malloc is different from 'new' in C++ as it does not call constructors for objects.
C++ is a general-purpose programming language while Objective C is a superset of C used for iOS and macOS development.
C++ is widely used for developing applications, games, and system software.
Objective C is mainly used for iOS and macOS development.
C++ supports both procedural and object-oriented programming paradigms.
Objective C is an object-oriented language with dynamic runtime features.
C++ has a larger community a...
Class container is a class that holds objects of other classes, while class composition is a way to combine multiple classes to create a new class.
Class container holds objects of other classes, acting as a collection or container.
Class composition combines multiple classes to create a new class with its own behavior and attributes.
In class container, the objects are typically stored in a data structure like an array o...
Divide the horses into groups of 5 and race them. Take the top 2 from each race and race them again. Finally, race the top 2 horses to determine the top 3.
Divide the horses into 3 groups of 5 and race them.
Take the top 2 horses from each race and race them again.
Finally, race the top 2 horses to determine the top 3.
Developing a real-time data processing system for a high-traffic e-commerce website
Implemented a distributed system architecture to handle large volumes of data
Optimized algorithms for efficient data processing and storage
Utilized caching mechanisms to improve system performance
Worked closely with cross-functional teams to troubleshoot and resolve issues
Example: Successfully reduced data processing time by 50% by imple
Seeking new challenges and opportunities for growth.
Looking for a more challenging role to further develop my skills
Interested in exploring new technologies and industries
Seeking better career advancement opportunities
Want to work in a more collaborative team environment
The width of a tree is the maximum number of nodes at any level in the tree.
To calculate the width of a tree, we can perform a level order traversal and keep track of the maximum number of nodes at any level.
We can use a queue data structure to perform the level order traversal.
At each level, we count the number of nodes in the queue and update the maximum width if necessary.
I applied via Naukri.com and was interviewed in Jun 2019. There were 3 interview rounds.
Why-Why analysis is a problem-solving technique used to identify the root cause of a problem by repeatedly asking 'why' until the underlying cause is determined.
Why-Why analysis is also known as the 5 Whys technique.
It helps to uncover the underlying causes of a problem rather than just addressing the symptoms.
The technique involves asking 'why' multiple times to dig deeper into the problem.
Each 'why' question leads to...
5s is a workplace organization method that aims to improve efficiency and productivity by organizing and standardizing the workplace.
Sort - separate necessary items from unnecessary ones
Set in order - arrange necessary items in a logical manner
Shine - clean and inspect the workplace regularly
Standardize - establish procedures and guidelines for maintaining the workplace
Sustain - maintain the 5s system through continuou...
based on 1 interview
Interview experience
based on 5 reviews
Rating in categories
Assistant Manager
28
salaries
| ₹6 L/yr - ₹10.5 L/yr |
Project Manager
18
salaries
| ₹7.5 L/yr - ₹27.5 L/yr |
Deputy Manager
16
salaries
| ₹7.1 L/yr - ₹12 L/yr |
Senior Engineer
13
salaries
| ₹4.2 L/yr - ₹8 L/yr |
Site Engineer
10
salaries
| ₹2.5 L/yr - ₹4.3 L/yr |
Apar Industries
TDK India Private Limited
Molex
Micron Technology