Filter a Long Table with Two Dropdowns and a Text Search Box

Problem: Add Filters to a Long Frontend Table

An existing page renders a very long table of records. Product asks you to add:

  1. A first dropdown filtering by department;
  2. A second dropdown f...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: