Desktop only
Coding Challenges are optimized for Desktop
Come back on a wider screen - the live editor needs room to breathe. You can still read the problem brief above.
Come back on a wider screen - the live editor needs room to breathe. You can still read the problem brief above.
def find_earliest_supporting(versions, feature_test) -> str | None:
"""`feature_test(version)` returns True iff that version supports the feature.
Assume the test is monotonic (once-supported = always-supported).
Return the earliest version, or None if no version supports it."""def satisfies_constraint(version: str, constraint: str) -> bool: ...