i
Porter
Filter interviews by
I applied via Company Website and was interviewed in Jan 2024. There were 2 interview rounds.
Java, springboot, mysql
Top trending discussions
I applied via Recruitment Consultant and was interviewed in May 2021. There were 4 interview rounds.
An immutable class is a class whose instances cannot be modified after creation.
Make all fields private and final
Don't provide any setter methods
Ensure that any mutable objects passed to the constructor are defensively copied
Make the class final so that it cannot be subclassed
Singleton pattern ensures only one instance of a class is created and provides a global point of access to it.
Create a private constructor to prevent direct instantiation of the class.
Create a private static instance of the class.
Create a public static method to access the instance, and create the instance if it doesn't exist.
Ensure thread safety by using synchronized keyword or double-checked locking.
Vector is synchronized and ArrayList is not. Vector is thread-safe and ArrayList is not.
Vector is a legacy class and ArrayList is a part of the Java Collection Framework.
Vector is synchronized which means only one thread can access it at a time, while ArrayList is not.
Vector is thread-safe which means it can be used in a multi-threaded environment, while ArrayList is not.
Vector is slower than ArrayList because of synch...
Create Linked List without using internal library and provide add, delete, find functionality.
Create a Node class with data and next pointer
Create a LinkedList class with head pointer and methods to add, delete, and find nodes
Use a loop to traverse the list and perform operations
Handle edge cases such as adding to an empty list or deleting the head node
The current system follows a microservices architecture.
The system is divided into multiple independent services.
Each service has its own database and communicates with other services through APIs.
The architecture allows for scalability and flexibility.
Examples of microservices used in the system include user authentication, payment processing, and inventory management.
Find the total no of islands in a 2D matrix.
Use DFS or BFS to traverse the matrix.
Mark visited cells to avoid repetition.
Count the number of islands found.
Loop detection in a linked list.
Use two pointers, one moving at twice the speed of the other.
If there is a loop, the faster pointer will eventually catch up to the slower one.
If there is no loop, the faster pointer will reach the end of the list.
I applied via Referral and was interviewed before Mar 2023. There was 1 interview round.
Basic coding test from hackerearth.
I applied via Recruitment Consulltant and was interviewed before Mar 2022. There were 5 interview rounds.
Mettle Test based on DP based approach
Design a distributed queue similar to Kafka.
Use a distributed architecture with multiple brokers and partitions.
Implement a publish-subscribe model for producers and consumers.
Ensure fault tolerance and high availability through replication and leader election.
Use a log-based storage system for messages and offsets.
Provide support for message ordering and retention policies.
Implement a scalable and efficient message de...
Design a Price Tagger System
Identify the products to be tagged with prices
Determine the pricing strategy (e.g. cost-plus, value-based, etc.)
Choose the appropriate tagging technology (e.g. barcode, RFID, etc.)
Develop a user-friendly interface for tagging and updating prices
Implement a database to store product and pricing information
Integrate with point-of-sale systems for accurate pricing at checkout
Designing search systems involves creating efficient algorithms and data structures to quickly retrieve relevant information.
Understand the data structure of the search system (e.g. inverted index, trie)
Implement efficient search algorithms (e.g. binary search, hash tables)
Consider scalability and performance optimization techniques (e.g. caching, indexing)
Include user-friendly features like autocomplete and spell corr...
I applied via Referral and was interviewed before Jan 2023. There were 3 interview rounds.
Rotate a matrix by 90 degrees.
Transpose the matrix
Reverse each row of the transposed matrix
The question asks for finding the longest substring in a given string that contains only unique characters.
Iterate through the string and keep track of the current substring
Use a set to check for duplicate characters
Update the longest substring if a longer one is found
Ecommerce hight level design
I applied via Naukri.com and was interviewed in May 2021. There were 3 interview rounds.
I applied via Approached by Company and was interviewed before Jun 2023. There were 4 interview rounds.
Machine coding - design food ordering service,
Use Dutch National Flag algorithm to sort array of 0s, 1s, and 2s in single pass.
Initialize three pointers low = 0, mid = 0, high = n-1 where n is the length of the array.
Iterate through the array and swap elements based on their values and positions.
Example: Input array ['0', '1', '2', '0', '1', '2'] should be sorted as ['0', '0', '1', '1', '2', '2'].
Return new trees after deleting specified nodes from a given tree
Traverse the tree and delete nodes that match the given list
For each deleted node, create a new tree with the remaining nodes
Return all new trees created after deletion
Restaurant management system to streamline operations, orders, inventory, and customer service.
Include features for table management, order processing, menu customization, inventory tracking, and customer feedback.
Implement user roles for staff, managers, and administrators with varying levels of access and permissions.
Integrate payment processing systems for seamless transactions and reporting.
Utilize data analytics t...
based on 2 interviews
Interview experience
Business Associate
260
salaries
| ₹0 L/yr - ₹0 L/yr |
Business Executive
223
salaries
| ₹0 L/yr - ₹0 L/yr |
Assistant Manager
96
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Business Associate
78
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Manager
73
salaries
| ₹0 L/yr - ₹0 L/yr |
Dunzo
Flipkart
Amazon
Snapdeal