Cars24 SDE2 Interview Experience | YOE 2.3 | Round-1 | SDE1/ SDE2
Summary
I recently interviewed at Cars24 for an SDE 1/2 role in a walk-in interview at their Gurgaon office. The interview primarily covered core Java concepts like HashMap and ConcurrentHashMap, Spring annotations, and a Data Structures and Algorithms question on constructing a BST from its preorder traversal, ultimately resulting in a rejection.
Full Experience
I recently had a walk-in interview at Cars24's Gurgaon office for an SDE 1/2 role. I had applied for this opportunity after seeing a LinkedIn post by a recruiter and emailing my resume. The interview lasted about 30 minutes and consisted of several technical questions focusing on Java fundamentals and data structures. After addressing the questions, I inquired about potential feedback, but unfortunately, the verdict was a rejection.
Interview Questions (8)
What is HashMap?
Explain what a HashMap is in Java.
How HashMap Works Internally?
Describe the internal working mechanism of a HashMap.
HashMap Collision Handling
Explain how HashMap handles collisions.
What is ConcurrentHashMap?
Explain what a ConcurrentHashMap is in Java.
HashMap vs. ConcurrentHashMap
Describe the key differences between HashMap and ConcurrentHashMap.
ConcurrentHashMap Optimization over HashMap
Explain how ConcurrentHashMap is optimized compared to HashMap.
Spring @Service vs. @Repository Annotations
Explain the difference between the @Service and @Repository annotations in Spring.
Construct BST from Preorder Traversal
Given the preorder traversal of a Binary Search Tree (BST) as [8, 5, 1, 7, 10, 12], describe how to construct the BST from it.