Version Dependency

Medium · Coding · 75 min

Parse and compare dot-separated numeric versions, binary-search for the earliest version supporting a monotonic feature with minimal oracle queries, resolve package version constraints via backtracking, and compute a topological install order.

This is a Pro problem. Pro unlocks the full prompt, a step-by-step walkthrough, a reference solution and tests you can run.

See Pro plans

More OpenAI problems