Available question text
Return all distinct values ≤ bound that can be written as x^i + y^j for nonnegative integers i,j; the core challenge is enumerating pairs of powers up to the bound (noting powers stop growing unless a base equals 1) while avoiding duplicates.
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 970. Powerful Integers
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source