JavaScriptJavaScript byteStandard~2h time-box

Cohort Roster

You are building a roster system for a developer training academy. Participants are assigned to numbered cohorts based on their experience track. The program coordinator needs to view participants grouped by cohort, with each cohort's list sorted alphabeticall…

Cohort Roster
Step 1
Clone the starter repo
Candidate gets the full project locally — README, source, tests, runner config.
Step 2
Run the visible tests
Public test file is right there. Expectations are explicit from minute one.
Step 3
Make tests pass, push
Candidate works in their own style, pushes reviewable commits for your team.
Starter repo
What candidates clone
3 files
  • cohort-roster.js
  • cohort-roster.spec.js
  • package.json

The full README and the hidden test suite are available once you open the byte in your CodeSubmit workspace. Candidates never see the hidden tests.

Skills tested
arraysmapssortingdata grouping
Difficulty
Standard

Standard engineering judgment. Multiple edge cases worth handling.