Available question text
Find two distinct elements in nums (n up to 1e5, values ≤1e6) whose binary representations share no set bits (nums[i] & nums[j] == 0) and maximize their product, returning 0 if no such pair exists. The core challenge is efficiently searching many numbers under a bitwise-disjointness constraint to compute the maximum product.
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 3670. Maximum Product of Two Integers With No Common Bits
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source