โ† Airtel questions

Max Continuous Fruits in Two Buckets

Filed under Airtel

The question

Given a stream of fruits and two buckets that can each hold one type of fruit, find the maximum continuous sequence of fruits that can be held.

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

Related Airtel questions

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