TypeScriptTypeScript byteStarter~2h time-box

Priority Index

You are cleaning up a legacy priority table used by an internal routing tool. The old format groups item codes by integer priority. The new format needs a direct lookup from item code to priority.

Priority Index
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
  • jest.config.js
  • package.json
  • priority-index.test.ts

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
data transformnormalizationrecordstypescript
Difficulty
Starter

Fundamentals-level. Clear requirements, straightforward execution.