Build a duplicate-
payout check.
Read the service that calls your function. Work out the expected result. Then implement the check.
function findDuplicates(rows) {
// Your implementation starts here.
}Simplified preview of the task's starting point. The editor and tests are inside the experience.
See a small example
Here are three illustrative payout rows:
| Row | Rider ID |
|---|---|
| 1 | rider_042 |
| 2 | rider_108 |
| 3 | rider_042 |
rider_042 appears twice. Inside the task, you'll turn that observation into a function and check its behavior with sample data.
An explanatory example, not a scored assessment.


