Available question text
Determine whether a positive integer n can be expressed as a sum of distinct powers of three — equivalently, check that n’s base‑3 representation contains only the digits 0 and 1 (no 2s).
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1780. Check if Number is a Sum of Powers of Three
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source