Filter interviews by
You need to determine all possible paths for a rat starting at position (0, 0) in a square maze to reach its destination at (N-1, N-1). The maze is represented as an N*N mat...
Find all possible paths for a rat in a maze from source to destination.
Use backtracking to explore all possible paths in the maze.
Keep track of visited cells to avoid revisiting them.
Recursively move in all directions (up, down, left, right) until reaching the destination.
Return the list of valid paths sorted in alphabetical order.
A process in an operating system is an instance of a program that is being executed.
A process is a unit of execution within an operating system.
Each process has its own memory space, resources, and state.
Processes can communicate with each other through inter-process communication.
Examples of processes include web browsers, word processors, and media players.
Given a binary tree with 'N' nodes and a specific node in this tree, you need to determine and return a sorted list of the values of the node's cousins. The cousins...
Given a binary tree and a specific node, return a sorted list of the values of the node's cousins.
Traverse the binary tree to find the parent of the given node and its depth.
Traverse the tree again to find nodes at the same depth but with different parents.
Return the sorted list of cousin node values or -1 if no cousins exist.
You are provided with a gold mine, represented as a 2-dimensional matrix of size N x M with N rows and M columns. Each cell in this matrix contains a positive integer representi...
The task is to determine the maximum amount of gold a miner can collect by moving in allowed directions in a 2D gold mine matrix.
Create a function that takes the gold mine matrix and dimensions as input
Implement a dynamic programming approach to find the maximum amount of gold that can be collected
Consider the constraints and optimize the solution for efficiency
Traverse the matrix from left to right, calculating t...
The four pillars of OOP are encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Inheritance: Allowing a new class to inherit properties and behaviors from an existing class.
Polymorphism: The ability for objects of different classes to respond to the same message in different ways.
Abstraction: Hiding the complex implementatio...
Given a singly linked list of integers, return the head of the reversed linked list.
Initial linked list: 1 -> 2 -> 3 -> 4 -> NULL
Reversed linke...
Reverse a singly linked list of integers and return the head of the reversed linked list.
Iterate through the linked list and reverse the pointers to point to the previous node instead of the next node.
Use three pointers to keep track of the current, previous, and next nodes while reversing the linked list.
Update the head of the reversed linked list as the last node encountered during the reversal process.
Design and implement a Trie (prefix tree) to perform the following operations:
insert(word)
: Add a string "word" to the Trie.search(word)
: Verify if the string "wo...Implement a Trie data structure to insert, search, and determine if a string starts with a given prefix.
Create a TrieNode class with children and isEndOfWord attributes.
Implement insert() to add words by traversing the Trie.
Implement search() to check if a word exists by traversing the Trie.
Implement startsWith() to check if any word starts with a given prefix.
Use lowercase English letters a-z for words.
Handle que...
Your task is to determine the maximum possible sum of a simple path between any two nodes (possibly the same) in a given binary tree of 'N' nodes with integer values.
Find the maximum sum of a simple path between any two nodes in a binary tree.
Use a recursive approach to traverse the binary tree and calculate the maximum sum path.
Keep track of the maximum sum path found so far while traversing the tree.
Consider all possible paths between any two nodes in the tree to find the maximum sum.
Given a string str
of size N
, your task is to recursively remove consecutive duplicates from this string.
T (number of test cases)
N (length of the s...
Recursively remove consecutive duplicates from a given string.
Iterate through the string and remove consecutive duplicates using recursion.
Keep track of the current character and compare it with the next character.
If they are the same, remove the next character and continue recursively until no consecutive duplicates are left.
I appeared for an interview before Mar 2021.
Round duration - 70 Minutes
Round difficulty - Medium
This online coding round, consisted of 3 DSA problems and we were supposed to solve them in 70 mins.
Programming Languages allowed: C, C++, JAVA
Note: Python was not available.
Given a binary tree with 'N' nodes and a specific node in this tree, you need to determine and return a sorted list of the values of the node's cousins. The cousin...
Given a binary tree and a specific node, return a sorted list of the values of the node's cousins.
Traverse the binary tree to find the parent of the given node and its depth.
Traverse the tree again to find nodes at the same depth but with different parents.
Return the sorted list of cousin node values or -1 if no cousins exist.
Your task is to determine the maximum possible sum of a simple path between any two nodes (possibly the same) in a given binary tree of 'N' nodes with integer values.
Find the maximum sum of a simple path between any two nodes in a binary tree.
Use a recursive approach to traverse the binary tree and calculate the maximum sum path.
Keep track of the maximum sum path found so far while traversing the tree.
Consider all possible paths between any two nodes in the tree to find the maximum sum.
You are provided with a gold mine, represented as a 2-dimensional matrix of size N x M with N rows and M columns. Each cell in this matrix contains a positive integer represent...
The task is to determine the maximum amount of gold a miner can collect by moving in allowed directions in a 2D gold mine matrix.
Create a function that takes the gold mine matrix and dimensions as input
Implement a dynamic programming approach to find the maximum amount of gold that can be collected
Consider the constraints and optimize the solution for efficiency
Traverse the matrix from left to right, calculating the ma...
Round duration - 45 Minutes
Round difficulty - Medium
This was the first technical round and those who cleared the online coding assessment round were eligible for this round. This round consisted of questions from DSA, CS Fundamentals, my projects and questions related to frontend.
What are the various formatting tags in HTML? What is DOM? What is the significance of and tag in HTML?
Given a string str
of size N
, your task is to recursively remove consecutive duplicates from this string.
T (number of test cases)
N (length of the ...
Recursively remove consecutive duplicates from a given string.
Iterate through the string and remove consecutive duplicates using recursion.
Keep track of the current character and compare it with the next character.
If they are the same, remove the next character and continue recursively until no consecutive duplicates are left.
Given a singly linked list of integers, return the head of the reversed linked list.
Initial linked list: 1 -> 2 -> 3 -> 4 -> NULL
Reversed link...
Reverse a singly linked list of integers and return the head of the reversed linked list.
Iterate through the linked list and reverse the pointers to point to the previous node instead of the next node.
Use three pointers to keep track of the current, previous, and next nodes while reversing the linked list.
Update the head of the reversed linked list as the last node encountered during the reversal process.
Design and implement a Trie (prefix tree) to perform the following operations:
insert(word)
: Add a string "word" to the Trie.search(word)
: Verify if the string "w...Implement a Trie data structure to insert, search, and determine if a string starts with a given prefix.
Create a TrieNode class with children and isEndOfWord attributes.
Implement insert() to add words by traversing the Trie.
Implement search() to check if a word exists by traversing the Trie.
Implement startsWith() to check if any word starts with a given prefix.
Use lowercase English letters a-z for words.
Handle queries ...
A process in an operating system is an instance of a program that is being executed.
A process is a unit of execution within an operating system.
Each process has its own memory space, resources, and state.
Processes can communicate with each other through inter-process communication.
Examples of processes include web browsers, word processors, and media players.
Round duration - 45 Minutes
Round difficulty - Medium
This was the second technical round and those who cleared the previous interview round were eligible for this round. This round consisted of questions from DSA, CS Fundamentals majorly OOPS, and my projects. How can we club two or more rows or columns into a single row or column in an HTML table?
You need to determine all possible paths for a rat starting at position (0, 0) in a square maze to reach its destination at (N-1, N-1). The maze is represented as an N*N ma...
Find all possible paths for a rat in a maze from source to destination.
Use backtracking to explore all possible paths in the maze.
Keep track of visited cells to avoid revisiting them.
Recursively move in all directions (up, down, left, right) until reaching the destination.
Return the list of valid paths sorted in alphabetical order.
The four pillars of OOP are encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Inheritance: Allowing a new class to inherit properties and behaviors from an existing class.
Polymorphism: The ability for objects of different classes to respond to the same message in different ways.
Abstraction: Hiding the complex implementation det...
Tip 1 : You should be proficient in one of the 2 languages: C++, Java
Tip 2 : For each of the 4 pillars of OOPS, focus on 4 important aspects i.e. definition, use case, real-world eg., advantages.
Tip 3 : Learn about general design patterns like, Singelton, Factory, Builder etc.
Tip 1 : Mentions your past experiences.
Tip 2 : Mention at least 2 projects.
Top trending discussions
Inter-process communication (IPC) and mutexes are essential for managing concurrent processes in Linux systems.
IPC allows processes to communicate and synchronize their actions. Common IPC methods include pipes, message queues, and shared memory.
Mutex (mutual exclusion) is a synchronization primitive that prevents multiple threads from accessing shared resources simultaneously.
Example of IPC: Using a named pipe (FIFO) ...
Implementing a linked list stack in C involves defining a node structure and stack operations like push, pop, and peek.
Define a struct for the node: `struct Node { int data; struct Node* next; };`
Create a stack structure that holds a pointer to the top node: `struct Stack { struct Node* top; };`
Implement push operation: Allocate a new node, set its data, and adjust the top pointer.
Implement pop operation: Check if the ...
I appeared for an interview in Oct 2016.
My hobbies include hiking, playing guitar, and cooking.
Hiking: I enjoy exploring nature trails and challenging myself physically.
Playing guitar: I love learning new songs and improving my skills.
Cooking: I like experimenting with different recipes and creating delicious meals.
In 5 years, I see myself as a senior software developer leading a team and working on complex projects.
Leading a team of developers
Working on complex projects
Continuously learning and improving my skills
Contributing to the growth and success of the company
I want to join DELL because of their innovative technology solutions and strong reputation in the industry.
DELL is known for their cutting-edge technology solutions which align with my passion for software development.
I admire DELL's strong reputation in the industry and their commitment to customer satisfaction.
I believe joining DELL will provide me with opportunities for growth and career advancement.
I appeared for an interview in Jan 2017.
I appeared for an interview in May 2017.
String is immutable because it ensures data integrity and allows for efficient memory management.
Immutable strings prevent accidental modification of data.
Immutable strings can be easily shared and reused, improving memory efficiency.
Immutable strings enable efficient string interning and caching.
Immutable strings support thread safety in concurrent environments.
Yes, @RequestParam has a default value if not specified.
If a @RequestParam is not provided in the request, it will use its default value.
The default value can be set using the 'defaultValue' attribute of @RequestParam annotation.
If no default value is specified, the parameter will be considered as required and an exception will be thrown if not provided.
Abstract classes are required to provide a common interface and share code among related classes.
Abstract classes allow for code reusability and promote modular design.
They provide a common interface for a group of related classes.
Abstract classes can define abstract methods that must be implemented by subclasses.
They can also provide default implementations for common methods.
Abstract classes cannot be instantiated, b...
I appeared for an interview before May 2021.
Round duration - 90 Minutes
Round difficulty - Medium
You are given a set of 'N' stones, each with a specific weight and color. The goal is to fill a knapsack with exactly 'M' stones, choosing one stone of each color, so that the to...
The goal is to fill a knapsack with exactly 'M' stones, choosing one stone of each color, minimizing the unused capacity.
Use dynamic programming to solve this problem efficiently.
Create a 2D array to keep track of the minimum unused capacity for each color and weight combination.
Iterate through the stones and colors to update the array with the minimum unused capacity.
Return the minimum unused capacity from the array a...
Round duration - 24 hours
Round difficulty - Medium
Round duration - 25 minutes
Round difficulty - Easy
Tip 1 : have basic knowledge of web development
Tip 2 : have in depth understanding of workflow and tech stacks you use in your projects
Tip 1 : mention the skills you are comfortable to answer questions on
Tip 2 : have some projects with clear mention of your contribution to it on resume.
I appeared for an interview before May 2021.
Round duration - 24 hours
Round difficulty - Easy
It was a hackathon we were given a problem statement and we had to solve that within 2 days. There were team of 4 people.
The design process for building a chatbot involves defining user goals, choosing a platform, designing conversation flow, implementing natural language processing, and testing for accuracy.
Define user goals and objectives for the chatbot
Choose a platform or framework for building the chatbot (e.g. Dialogflow, Microsoft Bot Framework)
Design the conversation flow and user interactions
Implement natural language processing...
Round duration - 15 minutes
Round difficulty - Easy
HR round
Tip 1 : Do Quants everyday
Tip 2 : Work on your communication skills
Tip 3 : Competitive coding
Tip 1 : don’t brag
Tip 2 : wrote the skills you have
I applied via Naukri.com and was interviewed before Jun 2021. There were 2 interview rounds.
Networking and linux internals
I applied via LinkedIn and was interviewed in Nov 2023. There were 2 interview rounds.
Difficult Coding question.
I applied via Company Website and was interviewed in Apr 2023. There were 3 interview rounds.
I am read to test for round number one.
I also ready for this and this is so effective for me.
Assistant Manager
1k
salaries
| ₹9.4 L/yr - ₹15.3 L/yr |
Software Engineer
959
salaries
| ₹11.6 L/yr - ₹20 L/yr |
Sales Executive
892
salaries
| ₹1.8 L/yr - ₹5.5 L/yr |
Manager
511
salaries
| ₹15.6 L/yr - ₹28.4 L/yr |
Area Sales Manager
501
salaries
| ₹12.1 L/yr - ₹22.5 L/yr |
Apple
vivo
OPPO
Dell