Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Coding in the AI era
/
Examples and counterexamples
The only example says stock 4 with reorderAt 8 returns reorder. Which case best rejects a…
from Examples and counterexamples
Node 24
intermediate
2 min
The only example says stock 4 with reorderAt 8 returns reorder. Which case best rejects an implementation that hard-codes threshold 10?
stock 8, reorderAt 5, active -> hold
stock 3, reorderAt 8, active -> reorder
stock 2, reorderAt 8, active -> reorder
stock 4, reorderAt 8, active -> reorder again
Check
Ask AI about this kata
Report an error
previous kata
Why include an archived document owned by an administrator in the permission examples?
Quiz
next kata
A parser prompt gives examples for canonical digits but says nothing about surrounding wh…
Quiz
A new version is available
Reload