Filter interviews by
Be the first one to contribute and help others!
Yes
Java uses pass by value for all variables, including object references.
When an object reference is passed as an argument, a copy of the reference is passed, not the actual object.
Modifying the reference inside the method will not affect the original reference outside the method.
However, modifications to the object's state inside the method will be visible outside the method.
Singleton pattern restricts the instantiation of a class to a single object.
Singleton pattern ensures that only one instance of a class exists throughout the application.
It provides a global point of access to the instance.
Commonly used in scenarios where a single instance needs to coordinate actions across the system.
Example: Database connection manager, logger, configuration manager.
posted on 15 May 2024
I applied via LinkedIn and was interviewed in Apr 2024. There was 1 interview round.
HashMap is implemented using an array of linked lists to handle collisions.
HashMap stores key-value pairs in an array of linked lists
Hash function is used to determine the index of the array where the key-value pair will be stored
Collision handling is done by chaining, where multiple key-value pairs with the same hash value are stored in the same linked list
HashMap allows null keys and values
HashMap is not synchronized...
DS, Algo, DP, Greedy, Stack, Heap
Design a scalable cloud storage system similar to DropBox.
Use distributed file system for storing files across multiple servers.
Implement data deduplication to save storage space.
Use client-side encryption for security.
Implement file synchronization across devices.
Utilize load balancing to distribute user requests.
Implement version control for files.
Use metadata for efficient file organization.
A linked list is a linear data structure where each element is a separate object with a reference to the next element.
Start with a Node class that has data and a reference to the next node
Create a LinkedList class that manages the nodes and provides methods like insert, delete, and search
Example: Node class - data, next; LinkedList class - head, insert(data), delete(data), search(data)
I appeared for an interview in Jan 2025.
Test was based on arrays and some dsa concepts.
posted on 23 Nov 2023
I appeared for an interview before Nov 2022.
Abstract classes are classes that cannot be instantiated and can have both abstract and non-abstract methods. Interfaces are a collection of abstract methods.
Abstract classes can have constructors, interfaces cannot
A class can implement multiple interfaces, but can only inherit from one abstract class
Interfaces can be used to achieve multiple inheritance in Java
Abstract classes can have instance variables, interfaces c...
I am currently working on a project to develop a web-based inventory management system.
Developing a user-friendly interface for managing inventory
Implementing database functionality to store and retrieve inventory data
Integrating with other systems to automate inventory updates
Creating reports and analytics to track inventory levels and trends
Sort array without using any inbuilt method?
posted on 14 Aug 2024
I applied via Referral and was interviewed in Jul 2024. There were 2 interview rounds.
Min and max value from an array of integers, reverse of a string
posted on 14 Jan 2025
I applied via Campus Placement and was interviewed before Jan 2024. There were 3 interview rounds.
Easy coding questions DSA
Reverse a linked list by changing the pointers direction
Start with three pointers: current, previous, and next
Iterate through the linked list, updating the pointers to reverse the direction
Update the head pointer to point to the new first node
To find the middle of a linked list, use the slow and fast pointer technique.
Initialize two pointers, slow and fast, both pointing to the head of the linked list.
Move slow pointer by one step and fast pointer by two steps until fast reaches the end of the list.
The position of the slow pointer will be the middle of the linked list.
The question is asking to pick an orange from a basket.
Carefully select a ripe orange without any bruises or blemishes
Gently twist the orange off the stem to avoid damaging the fruit
Check for firmness and weight to determine ripeness
posted on 29 Sep 2024
I applied via Job Portal and was interviewed before Sep 2023. There were 4 interview rounds.
Medium level leet code questions
Low level system design of Instagram involves designing the core components like database, storage, caching, and networking.
Use sharding to distribute data across multiple database servers for scalability.
Implement a caching layer using Redis or Memcached to improve performance.
Utilize a content delivery network (CDN) for faster content delivery to users.
Design a fault-tolerant storage system to ensure data durability ...
Designing a message queue system for efficient communication between components
Define the requirements and constraints of the system
Choose a suitable messaging protocol (e.g. AMQP, MQTT)
Design the message format and structure
Implement mechanisms for message persistence and delivery guarantees
Consider scalability and fault tolerance
Use appropriate data structures and algorithms for efficient message handling
My goal is to continuously improve my technical skills, contribute to impactful projects, and eventually move into a leadership role.
Continuously improve technical skills through learning new technologies and best practices
Contribute to impactful projects by delivering high-quality code and solutions
Work towards moving into a leadership role by taking on more responsibilities and mentoring junior team members
I chose Jupiter because of its strong gravitational pull and potential for scientific exploration.
Jupiter's large size and mass make it a key player in shaping the solar system
Its strong magnetic field and radiation belts provide valuable insights for space research
Jupiter's moons, like Europa and Io, offer unique environments for potential exploration missions
I applied via Company Website and was interviewed in Aug 2023. There were 4 interview rounds.
I applied via LinkedIn and was interviewed in Apr 2023. There were 3 interview rounds.
Use Depth First Search (DFS) to find connected components in a graph
Start by initializing all vertices as unvisited
Iterate through each vertex and perform DFS to find connected components
Keep track of visited vertices to avoid revisiting
Example: For a graph with vertices {A, B, C} and edges {(A, B), (B, C)}, the connected components are {A, B, C}
Design a chess game with proper board setup, piece movements, and win conditions.
Create a 8x8 grid to represent the chess board
Assign initial positions to each type of chess piece (pawn, rook, knight, bishop, queen, king)
Implement rules for each piece's movement (e.g. pawn moves forward, rook moves horizontally/vertically)
Check for valid moves and capture opponent's pieces
Implement win conditions (checkmate, stalemate)
...
Software Engineer
45
salaries
| ₹13.5 L/yr - ₹55.5 L/yr |
Product Manager
35
salaries
| ₹12.5 L/yr - ₹40 L/yr |
Software Developer
28
salaries
| ₹13.6 L/yr - ₹38.1 L/yr |
Senior Software Engineer
26
salaries
| ₹24 L/yr - ₹80 L/yr |
Backend Developer
22
salaries
| ₹18 L/yr - ₹52.6 L/yr |
Paytm
BharatPe
Kissht Finance
Money View