NewThe Learning module is now liveSee what's new

Design a system to filter and paginate a list of transaction records. Each record follows a list of string format: [timestamp, id, userId, currency, amount]. The system should allow applying query filters for the following criteria:

  • Time range filter
  • Amount range filter
  • User ID filter
  • Currency filter
Test Cases
Input
Output
Expected