Trendlyne Interview Question

Debouncing, Custom hooks in react, optimization