3890. Integers With Multiple Sum of Two Cubes
You are given an integer
n.An integer
xis considered good if there exist at least two distinct pairs(a, b)such that:
aandbare positive integers.a <= bx = a^3 + b^3Return an array containing all good integers less than or equal to
n, sorted in ascending order.
1 | class Solution { |