Member-only story

CARS24 Frontend Interview Questions with Expert Answers

Saurabh Mhatre
Stackademic
Published in
8 min readDec 3, 2024
CARS24 Frontend Interview Questions with Expert Answers

Hello everyone, today we will cover some interview questions asked in Frontend Developer rounds at CARS24.

CARS24 is an Indian multinational online marketplace for used cars headquartered in Gurgaon. The company is considered among the four major organised players in the used car segment in India. Its revenue was close to $660 million in 2023.

Not a Medium Member? Read here: Article Link

If that got you excited, then let's start with interview questions for the day:

Q1. Write polyfill for debounce and throttle

Let’s understand these concepts one by one:

Debounce:

The debounce function ensures that a function is executed only once in a given time interval, even if repeated calls are made to it. It is useful when we want to limit the rate at which a function executes in a given time interval, especially when dealing with user-triggered events like typing in a search box, resizing the window, or scrolling.

For example when a user types, a search API call can go to the server on every keystroke which is resource-intensive and might confuse the user due to frequent out-of-order changes in search results. Using debouncing, we can ensure that…

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Published in Stackademic

Stackademic is a learning hub for programmers, devs, coders, and engineers. Our goal is to democratize free coding education for the world.

Written by Saurabh Mhatre

Senior Frontend Developer with 9+ years industry experience. Content creator on Youtube and Medium. LinkedIn/Twitter/Instagram: @SaurabhNative

Responses (1)

Write a response

polyfill

Polyfill? These don't require polyfills, as JS doesn't have them natively