Available question text
Count how many contiguous subarrays of length three satisfy that the sum of the first and third elements equals exactly half of the middle element (i.e., each length‑3 window must meet that arithmetic relation).
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
Cognizant
Leetcode 3392. Count Subarrays of Length Three With a Condition
Reported Nov 20, 2025 · 1 source report
SENIOR
Source snapshot: Nov 12, 2026
View source