Filter interviews by
I applied via curtShort and was interviewed in Dec 2024. There was 1 interview round.
Koko eating bananas
Maximum product
Number of valid parenthesis
Prefix sum
Overlapping intervals
I applied via Referral and was interviewed before Sep 2023. There was 1 interview round.
ZigZag traversal in tree involves traversing the tree in a zigzag pattern, alternating between left and right directions at each level.
Start by traversing the tree level by level, alternating between left and right directions.
Use a queue data structure to keep track of nodes at each level.
For each level, alternate the direction of traversal to achieve the zigzag pattern.
Example: For a tree with root node 1 and children...
Inncircles Technologies interview questions for popular designations
I applied via Referral and was interviewed before Feb 2023. There was 1 interview round.
Sort an array of strings containing 0s and 1s.
Use a sorting algorithm like counting sort or quicksort to efficiently sort the array.
Alternatively, you can use two pointers approach to swap 0s and 1s in-place.
Example: Input array ['0', '1', '0', '1', '1', '0'] should be sorted to ['0', '0', '0', '1', '1', '1'].
A tree for LinkedIn connections model
Start with the user at the root of the tree
Each connection is a child node branching off from the user
Connections can have their own connections, creating a hierarchical structure
Include attributes like connection strength or relationship type
The left view of a tree shows the nodes that are visible when looking at the tree from the left side.
The left view of a tree can be obtained by performing a level order traversal and keeping track of the first node at each level.
Nodes at the leftmost side of each level will be part of the left view.
Example: For a tree with nodes 1, 2, 3, 4, 5, the left view would be 1, 2.
Top trending discussions
posted on 23 Aug 2024
Error handling middleware is a function that processes errors in an Express application.
Error handling middleware is defined with four parameters: err, req, res, and next.
It is used to catch errors that occur during the execution of route handlers or other middleware functions.
It is typically defined at the end of the middleware chain with app.use() and has a signature like (err, req, res, next) => {...}.
Example: app.u...
posted on 11 Dec 2024
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
Use the built-in reverse() method to reverse an array in JavaScript.
Use the reverse() method on the array to reverse its elements in place.
Example: let arr = ['apple', 'banana', 'cherry']; arr.reverse(); // ['cherry', 'banana', 'apple']
Virtual DOM is a lightweight copy of the actual DOM that allows for efficient updates and rendering in web applications.
Virtual DOM is a concept used in frameworks like React to improve performance by minimizing direct manipulation of the actual DOM.
When changes are made to the virtual DOM, a comparison is done with the actual DOM to identify the minimal number of updates needed.
This approach reduces the number of DOM ...
Foreign key in SQL is a field in a table that is a primary key in another table, establishing a relationship between the two tables.
A foreign key constraint ensures referential integrity between two related tables.
It helps maintain consistency and avoid orphan records.
Example: In a database with tables 'orders' and 'customers', the 'customer_id' in 'orders' table can be a foreign key referencing the 'id' column in 'cus
Props are read-only properties that are passed from a parent component to a child component in React.
Props allow data to be passed down the component tree.
Props are immutable and cannot be changed by the child component.
Props are accessed in the child component using this.props.
I would choose MongoDB for its flexibility and scalability in handling unstructured data.
MongoDB is a NoSQL database, making it easier to work with unstructured data compared to MySQL which is a relational database.
MongoDB is highly scalable and can handle large amounts of data and high traffic loads.
MongoDB is a good choice for applications that require frequent updates and real-time analytics.
MySQL is a better choice...
based on 7 interviews
Interview experience
based on 6 reviews
Rating in categories
Product Developer
15
salaries
| ₹0 L/yr - ₹0 L/yr |
Product Delivery Manager
9
salaries
| ₹0 L/yr - ₹0 L/yr |
Technical Lead
6
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Product Developer
6
salaries
| ₹0 L/yr - ₹0 L/yr |
Full Stack Developer
6
salaries
| ₹0 L/yr - ₹0 L/yr |
TCS
Infosys
Wipro
HCLTech