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.
async def count_safe(self) -> int:
"""Skip failed subtrees and count what succeeded."""async def count_where(self, predicate) -> int:
"""Count only nodes for which predicate(node) is True. Predicate is synchronous."""