Available question text
Given the house interval and positions of two trees plus arrays of fruit fall distances, translate each fruit's distance into an absolute landing position (distances may be negative) and count how many apples and oranges fall within the house range. This is a simple range-check/count problem after offsetting by each tree's position.
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 1715. Count Apples and Oranges
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source