AI InterviewSearch…Search problems, topics, or pages…Ctrl KGet started
Mediumpipes

~60s

Two inlets and an outlet

Pipe A fills a tank in 12 hours, pipe B in 15 hours, and pipe C empties a full tank in 20 hours. With all three open, how long does the tank take to fill?

Show the answer and the worked solution

Correct answer: B.

10 h

Worked solution

  1. Net rate = 1/12 + 1/15 − 1/20 = 5/60 + 4/60 − 3/60 = 6/60 = 1/10.
  2. The tank fills in 10 hours.

Answer: 10 h.

The idea

Inlets add to the rate, outlets subtract. If the net rate came out negative the tank would never fill, which is worth checking.

Shortcut. Call the tank 60 units: A adds 5 and B 4 an hour, C removes 3, so the net is 6 an hour and the tank fills in 10 hours.

Common trap. 12 h — A's time alone, on the idea that B's inflow roughly cancels C's outflow; B adds 4 units an hour but C removes only 3, so the tank fills sooner.

Two inlets and an outlet — Time & Work Aptitude Question

Two inlets and an outlet: Pipe A fills a tank in 12 hours, pipe B in 15 hours, and pipe C empties a full tank in 20… Answer and worked solution on CodeKairo.

Question

Pipe A fills a tank in 12 hours, pipe B in 15 hours, and pipe C empties a full tank in 20 hours. With all three open, how long does the tank take to fill?

Options

  1. 8 h
  2. 10 h
  3. 12 h
  4. 15 h
Show the answer and the worked solution

Correct answer: B. 10 h

Worked solution

  1. Net rate = 1/12 + 1/15 − 1/20 = 5/60 + 4/60 − 3/60 = 6/60 = 1/10.
  2. The tank fills in 10 hours.

Answer: 10 h.

The idea

Inlets add to the rate, outlets subtract. If the net rate came out negative the tank would never fill, which is worth checking.

Shortcut. Call the tank 60 units: A adds 5 and B 4 an hour, C removes 3, so the net is 6 an hour and the tank fills in 10 hours.

Common trap. 12 h — A's time alone, on the idea that B's inflow roughly cancels C's outflow; B adds 4 units an hour but C removes only 3, so the tank fills sooner.

All Time & Work questions · placement mock tests