STEP 1
Read the required function's inputs and output as a contract before choosing an implementation.
Tailwind CSS Design Systems
Tailwind CSS Design Systems
This is a production-shaped building block. Learn the contract first, then prove your implementation against examples and edge cases.
STEP 1
Read the required function's inputs and output as a contract before choosing an implementation.
STEP 2
Start with the smallest correct version, then account for the boundary conditions in the specification.
STEP 3
Use the visible cases to check understanding; the gated drill also tests whether your solution generalises.
A small, testable implementation pattern
What should you establish before writing a solution?
Next: Phase 2 Hands-On Drill
Solve the coding challenge in the in-browser IDE with live visible and hidden specification tests.