Trendlyne interview question

Debouncing, Custom hooks in react, optimization