i
CARS24
Filter interviews by
Clear (1)
Create a REST API to retrieve employee data by ID
Use a GET request to /employees/{id} endpoint
Query the database for employee data based on the provided ID
Return the employee data in JSON format
I applied via Approached by Company and was interviewed in Nov 2024. There was 1 interview round.
Longest substring without repetition
Use a hashmap to count the frequency of each word in the array of strings and find the word with the highest frequency.
Create a hashmap to store the frequency of each word
Iterate through the array of strings and update the frequency in the hashmap
Find the word with the highest frequency in the hashmap
Top trending discussions
posted on 9 Aug 2024
I applied via Recruitment Consulltant and was interviewed before Aug 2023. There were 2 interview rounds.
Custom object sorting in Java involves implementing the Comparable interface or using a Comparator to define the sorting logic.
Implement the Comparable interface in the custom object class and override the compareTo() method to define the natural ordering.
Alternatively, create a separate class that implements the Comparator interface and override the compare() method to define custom sorting logic.
Use the Collections.s...
I applied via Approached by Company and was interviewed in Jan 2022. There were 4 interview rounds.
It was sort of pair programming where you will be told to implement some feature. Here they check your coding style, your approach and the architecture you follow.
posted on 9 Nov 2024
I applied via LinkedIn and was interviewed in May 2024. There were 3 interview rounds.
Event loop is a mechanism in programming that allows for asynchronous execution of code by continuously checking for and handling events.
Event loop is commonly used in JavaScript to handle asynchronous operations like setTimeout, setInterval, and AJAX requests.
It works by continuously checking the event queue for any pending events, executing them one by one, and then moving on to the next event.
Event loop helps in pre...
The order of output is fs, process, setTimeout, setInterval, promise.
fs module is synchronous and will output first
process is next in line
setTimeout will be executed after process
setInterval will be executed after setTimeout
promise will be executed last
JavaScript is an interpreted language.
JavaScript is an interpreted language, meaning it is executed line by line at runtime.
There is no separate compilation step in JavaScript like in languages that use compilers.
Examples of interpreted languages include Python, Ruby, and PHP.
Output comparison of for loops using var, let, and bind in JavaScript.
Using var: variable is function-scoped, may lead to unexpected behavior in loops.
Using let: variable is block-scoped, recommended for loop iterations.
Using bind: creates a new function with a specified 'this' value and initial arguments.
I work on coding, debugging, testing, and collaborating with team members. Tech stack decisions are based on project requirements, scalability, performance, and team expertise.
Daily tasks include coding, debugging, testing, and collaborating with team members
Tech stack decisions are based on project requirements, scalability, performance, and team expertise
Consider factors like language compatibility, libraries/framewo...
Design a scalable, real-time document sharing app like Google Docs.
Use websockets for real-time collaboration
Implement version control to track changes
Utilize a distributed database for scalability
Include user authentication and access control
Support offline editing with automatic sync
Utilize cloud storage for scalability, implement image compression techniques, and regularly update image processing libraries.
Utilize cloud storage for scalability
Implement image compression techniques
Regularly update image processing libraries
posted on 4 Feb 2024
I applied via Job Fair
Create a controller, service, and repository to save user details using Spring Data JPA.
Create a UserController class with appropriate mappings for saving user details.
Create a UserService class with a method to save user details.
Create a UserRepository interface that extends JpaRepository to handle database operations.
Implement the saveUserDetails method in the UserService class to call the save method of the UserRepo...
I applied via Referral and was interviewed in Aug 2024. There was 1 interview round.
I was asked question on sliding window on finding the largest subarray with all distinct numbers. The interviewer was very helpful.
posted on 20 Mar 2024
Template and Reactive Forms in Angular are two ways to handle forms in Angular applications.
Template Forms are based on the traditional HTML forms and are easy to use for simple forms.
Reactive Forms are more flexible and powerful, allowing for complex form validation and dynamic form controls.
Template Forms use two-way data binding, while Reactive Forms use a more reactive approach with observables.
Reactive Forms are r...
posted on 14 Mar 2023
I applied via Approached by Company and was interviewed before Mar 2022. There were 4 interview rounds.
Technical questions based on dsa
Questions based on high level programming and system architecture
based on 3 interviews
Interview experience
based on 9 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