Available question text
Find the length of the longest contiguous subarray whose product equals gcd times lcm of its elements. With n ≤ 100 and values ≤ 10, the core challenge is efficiently checking segments (e.g., via brute-force segment checks or by comparing prime-exponent representations).
Related questions
Continue with questions that share topics or the same question type.
- Divide an array into subarray with equal sum.
Coding
- Find the Longest Equal Subarray
Coding
- Flip Columns For Maximum Number of Equal Rows
Coding
- Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
Coding · Array · Heap (Priority Queue) · Monotonic Queue
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 3411. Maximum Subarray With Equal Products
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source