← Google questions
CodingReported in a candidate post, Jul 2025

Apple Collection with DFS and Substring Processing

Filed under Google

The question

Collect a minimum number of apples from trees using DFS to guarantee m red apples, and find the longest substring satisfying specific criteria.

No write-up yet. Related questions below have one.

Related Google questions

Collected from public candidate posts and coding forums. Updated Nov 2026.