i
CARS24
Filter interviews by
Clear (1)
An immutable class is a class whose instances cannot be modified after creation.
Use final keyword for class declaration to prevent inheritance
Make all fields private and final to prevent modification
Do not provide setter methods, only getter methods should be used
Implement a Springboot service to intercept HTTP requests.
Create a Springboot application with necessary dependencies.
Implement a custom interceptor by extending HandlerInterceptorAdapter.
Override preHandle and postHandle methods to intercept requests and responses.
Register the interceptor in the WebMvcConfigurerAdapter configuration class.
Rate your
company
🤫 100% anonymous
How was your last interview experience?
I applied via Job Portal and was interviewed in May 2024. There was 1 interview round.
Dsa question based on dp
LRU cache is a data structure that stores the most recently used items, discarding the least recently used items when full.
Use a doubly linked list to keep track of the order of items based on their usage.
Use a hash map to quickly access items in the cache.
When a new item is accessed, move it to the front of the linked list. If the cache is full, remove the item at the end of the list.
HashMap is a data structure that stores key-value pairs and allows for fast retrieval of values based on keys.
HashMap is implemented using an array of linked lists or a balanced tree to handle collisions.
It uses a hash function to map keys to indices in the array.
Example: HashMap
I was interviewed before Apr 2021.
Round duration - 45 Minutes
Round difficulty - Medium
It was in the mid day and since I applied for a Frontend role the discussion was majorly around data structure and bit of Javascript.
The interviewer was helping and good listener.
You are provided with two sorted linked lists. Your task is to merge them into a single sorted linked list and return the head of the combined linked list.
...Merge two sorted linked lists into a single sorted linked list without using additional space.
Create a dummy node to start the merged list
Compare the values of the two linked lists and add the smaller value to the merged list
Move the pointer of the merged list and the pointer of the smaller value list
Continue this process until one of the lists is fully traversed
Append the remaining elements of the other list to the me
Given an integer array arr
of size 'N' containing only 0s, 1s, and 2s, write an algorithm to sort the array.
The first line contains an integer 'T' representing the n...
Sort an array of 0s, 1s, and 2s in linear time complexity.
Use three pointers to keep track of 0s, 1s, and 2s while traversing the array.
Swap elements based on the values encountered to sort the array in-place.
Time complexity should be O(N) and space complexity should be O(1).
Round duration - 60 Minutes
Round difficulty - Medium
It was more of a in depth round on the framework I'm working on and problem solving.
The event loop is a mechanism in programming that allows for asynchronous execution of code.
The event loop is a key component in JavaScript's runtime environment, responsible for handling asynchronous operations.
It continuously checks the call stack for any pending tasks and executes them in a non-blocking manner.
The event loop ensures that the program remains responsive by allowing other code to run while waiting for ...
Output-based questions in JavaScript using browser APIs
Example 1: Write a script that uses the Geolocation API to display the user's current location on a map
Example 2: Create a program that uses the Web Audio API to play a sound when a button is clicked
Example 3: Develop a web page that uses the Canvas API to draw a simple animation
Designing a system to support localization in a mobile app
Use resource files to store localized strings for different languages
Implement a language selection feature for users to choose their preferred language
Utilize localization libraries or frameworks to streamline the process
Consider cultural differences when localizing content, such as date formats and currency symbols
Round duration - 75 Minutes
Round difficulty - Hard
It was more of a fitment/managerial round.
Didn't had any coding questions, but was asked more on approaches and optimisations.
Discussions on the project you have worked on.
To find the fastest 3 horses out of a group with 5 horses racing at a time, we can use a tournament style approach.
Divide the horses into groups of 5 and race them against each other. This will give you the fastest horse in each group.
Take the winners from each group and race them against each other. The top 3 horses in this final race will be the fastest 3 overall.
Keep track of the results and compare the timings to d
To debug lag on a screen, analyze code, check for memory leaks, optimize rendering, and use profiling tools.
Analyze code to identify any inefficient algorithms or operations causing lag.
Check for memory leaks that could be impacting performance.
Optimize rendering by reducing the number of draw calls, optimizing shaders, and minimizing overdraw.
Use profiling tools like Xcode Instruments or Android Profiler to identify p
The app I recently worked on is a social media platform for sharing photos and connecting with friends.
The app follows a client-server architecture, with the client being the mobile app and the server handling data storage and processing.
The client side is built using React Native for cross-platform compatibility.
The server side is implemented using Node.js with a MongoDB database for storing user data and photos.
The a...
Tip 1 : Get your JS fundamentals right (if applying for a Frontend role, https://javascript.info/ is a good start)
Tip 2 : Apart from preparing data structures, practise on the communication skills as well (prepare your introduction, be a good listener and on spot improvisation plays key roles)
Tip 1 : highlight projects related to the job profile in your resume and mention what was your contribution in them precisely in 1/2 lines.
Tip 2 : Include URLs to applications/projects that you have build and your achievements/blog (if any)
CARS24 interview questions for designations
Top trending discussions
I applied via Campus Placement and was interviewed before Dec 2023. There were 2 interview rounds.
Duration 1Hr
2 coding questions
I applied via Naukri.com and was interviewed in Oct 2024. There were 4 interview rounds.
Easy level to Medium level
2 Easy questions of DSA
I applied via Referral and was interviewed in Apr 2024. There were 2 interview rounds.
Iterative solution using a stack to perform postorder traversal.
Use a stack to simulate the recursive call stack.
Push nodes in the order of right, left, root.
Pop nodes from stack and add to result array.
Repeat until stack is empty.
Design a messaging app like WhatsApp with one-to-one, group messaging, and read receipts functionalities.
Use a relational database to store user information, messages, and group memberships.
Create tables for users, messages, groups, and group memberships.
Include columns for message content, sender, receiver, timestamp, and read status.
Implement a feature to mark messages as read with read receipts.
Use indexes for effic
I was interviewed in May 2022.
Round duration - 120 minutes
Round difficulty - Medium
Round duration - 120 minutes
Round difficulty - Medium
- Discussion on the first round's assignment
- Was asked about adding unit tests in the assignment
- Fundamental questions on the approach used for the assignment.
Some improvements in the system design problem could include better scalability planning, more efficient data storage solutions, and improved error handling.
Implementing a more robust caching mechanism to improve performance under heavy load.
Optimizing the database schema for better query performance and scalability.
Introducing load balancing and horizontal scaling to handle increased traffic.
Enhancing error handling t...
Round duration - 90 minutes
Round difficulty - Medium
Round was with tech lead. Was briefly asked about the problem I solved in the first round. Then I was asked to solve 1 medium level DSA based question. Some discussion on culture fit was also done.
Yes, an invalid state can occur if the traffic lights are in conflicting states simultaneously.
An invalid state occurs when multiple traffic lights are showing conflicting signals, such as both red and green at the same time.
This can happen due to a malfunction in the traffic light system or human error in programming the lights.
For example, if a traffic light is stuck showing both red and green signals, it would be co
Tip 1 : Have clear web dev fundamentals
Tip 2 : Have at least 1 good non-trivial project
Tip 3 : Practice basic DSA questions.
Tip 1 : For past experience (internship/full time), explain the impact you created instead of only mentioning what you did.
Tip 2 : Don't exceed 1 page.
Tip 3 : Get it cross-checked for mistakes through multiple sources.
Tip 4 : Only put in stuff that you are confident in being able to explain.
The exam duration is one and a half hours.
The total exam time is one and a half hours.
It encompasses all topics related to full stack development.
In two years, I see myself as a senior software developer leading a team on innovative projects.
Advancing to a senior software developer role
Leading a team on new and innovative projects
Continuing to enhance my technical skills through ongoing learning and training
based on 3 interviews
Interview experience
Anonymously discuss salaries, work culture, and many more
Get Ambitionbox App
based on 6 reviews
Rating in categories
Retail Associate
728
salaries
| ₹0 L/yr - ₹0 L/yr |
Evaluation Engineer
463
salaries
| ₹0 L/yr - ₹0 L/yr |
Team Lead
441
salaries
| ₹0 L/yr - ₹0 L/yr |
Retail Manager
428
salaries
| ₹0 L/yr - ₹0 L/yr |
Relationship Manager
313
salaries
| ₹0 L/yr - ₹0 L/yr |
Mahindra First Choice Wheels
Truebil
Udaan
Swiggy