โ† TCS questions
CodingReported in a candidate post, Jun 2024

Fill 4 litres using 5L and 3L buckets

Filed under TCS

Given a 5-liter bucket and a 3-liter bucket with an unlimited water supply, explain the sequence of operations to measure exactly 4 liters in the 5-liter bucket.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related TCS questions

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