Does there exist a non-negative integer such that ? If so, report the value of . Otherwise, report .
Does there exist a non-negative integer such that ? If so, report the value of . Otherwise, report .
Create a free account to answer questions and track your progress — across 2,000+ interview questions.
Get started for free