GamifiedGamified challengesPracticeRaceLeaderboardPricing

Learn data structures by watching them move, then doing it yourself. Press M anytime to toggle sound.

A product of Amypo Technologies, Coimbatore.

Learn

  • Fundamentals & OOPs
  • Data structures and algorithms
  • Aptitude
  • Learning path
  • How it works
  • About dotprep

Practice

  • Practice arena
  • Daily challenge
  • Gamified challenges
  • Race mode
  • Leaderboard

Interview prep

  • Java interview
  • Coding questions
  • Company questions
  • System design
  • Jobs & careers

You

  • Dashboard
  • Settings
  • Pricing
  • Create account

© 2026 dotprep

Content last updated 27 November 2026

GamifiedGamified challengesPracticeRaceLeaderboardPricing
AptitudeQuantitative aptitude · Time, Speed and Work

Time and Work

Turn times into daily rates to solve combined work, efficiency, wages, changing teams, and pipes, cisterns and leaks.

6 min read 45 questions
Practice questions

On this page

1/10
  1. 011. Work is a rate
  2. 022. Core formulas
  3. 033. Working together, and finding one worker
  4. 044. The units (LCM) method
  5. 055. Efficiency, man-days and wages
  6. 066. Pipes, cisterns and leaks
  7. 077. Alternate days and changing teams
  8. 088. Common traps
  9. 099. Revision sheet
  10. 10Practice
Back to top

1. Work is a rate

Every time-and-work question rests on one idea: if a job takes n days, one day completes 1/n of it. The time is given, but you calculate with the rate. Rates of people working together add; their times do not.

Asha paints a hall in 12 days and Ravi in 24 days. Asha does 1/12 a day, Ravi 1/24. Together they do 1/12 + 1/24 = 1/8 a day, so the hall takes 8 days, less than either alone and nowhere near the "average" of 18 days.

Asha: 12 days aloneRavi: 24 days aloneTogether: 8 daysFull bar = the whole job. Shaded cell = one day's work.
One shaded cell is one day of work. Together, each day covers a bigger slice of the job.

Placement tests like this topic because the same rate idea hides behind workers, machines, pipes, leaks and wages. Learn the rate picture once and every variety becomes addition and subtraction of fractions.

2. Core formulas

SituationRule
A takes a daysA does 1/a of the job per day
A and B togetherRate = 1/a + 1/b; time = ab/(a + b)
Together t, A alone aB alone = at/(a − t)
Three workersTime = 1 ÷ (1/a + 1/b + 1/c)
Work done in k daysk × (sum of the rates of whoever is working)
Men and daysM1 × D1 × H1 ÷ W1 = M2 × D2 × H2 ÷ W2
A is k times as efficient as BA takes 1/k of the time B takes
WagesShared in the ratio of work done
Inlet a, outlet b (b > a)Fills in ab/(b − a)

Time and rate are reciprocals. Twice the efficiency means half the time; 25% more efficient means the time is multiplied by 100/125 = 4/5.

3. Working together, and finding one worker

Together. Add the rates and flip. For 12 and 24 days: 12 × 24 ÷ (12 + 24) = 8 days. The product-over-sum shortcut works for exactly two workers.

Finding the partner. Two people finish a job in 6 days and one of them alone needs 10 days. The other's rate is 1/6 − 1/10 = 1/15, so that person needs 15 days alone. Subtract rates; never subtract the days (10 − 6 = 4 is wrong).

A quick sanity check: the combined time is always less than the faster worker's time, and the missing partner's time is always more than the combined time.

4. The units (LCM) method

Fractions slow you down. Instead, call the job a convenient number of units: the LCM of the given times. If A takes 20 days and B takes 30 days, let the job be 60 units. Then A does 3 units a day and B does 2.

Job = 60 unitsunits02463A2B5A + B
With the job fixed at 60 units, rates become whole numbers that you can add in your head.

Worked example (someone leaves). A and B work together for 6 days, then A leaves. Together they do 5 units a day, so 6 days finish 30 units and 30 remain. B alone needs 30 ÷ 2 = 15 more days; the job takes 21 days in all.

Use the same method when people join late: work out the units finished in each phase, subtract from the total, and divide what is left by the rate of whoever is still working.

5. Efficiency, man-days and wages

Efficiency. "A is 50% more efficient than B" means their rates are 150 : 100 = 3 : 2, so their times are 2 : 3. If B needs 30 days, A needs 20.

Man-days. When all workers are alike, the job is a fixed number of man-days. 15 men finishing in 24 days is 360 man-days, so 20 men need 360 ÷ 20 = 18 days. If hours per day or the size of the job changes, use M1 × D1 × H1 ÷ W1 = M2 × D2 × H2 ÷ W2.

Wages. Money is split by work done. When everyone works the same number of days, that is the ratio of the rates. Asha (12 days) and Ravi (24 days) earn ₹3,600 together: rates are 1/12 : 1/24 = 2 : 1, so Asha gets ₹2,400 and Ravi ₹1,200. If they work for different numbers of days, compare rate × days instead.

6. Pipes, cisterns and leaks

A filling pipe is a worker. An outlet or a leak is a worker with a negative rate. Everything else is unchanged.

Pipe A: fills in 12 hPipe B: fills in 15 hDrain C: empties in 20 h
Inlets add to the net rate; the drain subtracts from it.

All open. Net rate = 1/12 + 1/15 − 1/20 = 1/10 of the tank an hour, so the tank fills in 10 hours.

Finding a leak. A pipe fills a tank in 6 hours, but with a leak it takes 8 hours. The leak's rate is 1/6 − 1/8 = 1/24, so on its own it would empty the full tank in 24 hours (product ÷ difference).

If a rate is given in litres, convert through fractions: "the leak removes 1/24 of the tank an hour and that is 5 litres" means the tank holds 24 × 5 = 120 litres.

7. Alternate days and changing teams

Alternate days. A (9 days) and B (12 days) work on alternate days, A first. Treat two days as one cycle. One cycle of 2 days completes 1/9 + 1/12 = 7/36 of the job. After 5 full cycles (10 days) 35/36 is done and 1/36 is left. A then needs 1/36 ÷ 1/9 = 1/4 of a day. The job takes 10 1/4 days. Doubling the "together" time is only a rough guide; always finish the last cycle by hand, in the right order.

"Leaves k days before the end". A (12 days) and B (18 days) start together and A leaves 3 days before the job is over. Let the job take T days: (T − 3)/12 + T/18 = 1, so T = 9 days. This is different from "A leaves after 3 days", which fixes how long A works rather than how long B works alone.

8. Common traps

  • Adding or averaging days. 12 days and 24 days together is 8 days, not 36 or 18.
  • Subtracting days to find a partner. Subtract rates, then flip.
  • Reading "more efficient" as "fewer days by that percent". 25% more efficient means 4/5 of the time, a 20% saving.
  • Counting only the last phase. When a question asks for the total time, add the days already worked.
  • Sharing wages by days alone. Wages follow work done: rate × days.
  • Forgetting the sign of an outlet. A drain open "by mistake" subtracts for exactly as long as it is open.
  • Extra men versus total men. "How many more must be hired" asks for the difference.

9. Revision sheet

  • n days for a job → 1/n per day. Add rates, flip for time.
  • Two workers: ab/(a + b). Missing partner: at/(a − t).
  • Pick the LCM as the job size; rates become whole units per day.
  • Phases: units done in each phase, then remaining ÷ current rate.
  • Efficiency ratio p : q → time ratio q : p.
  • Same-ability workers: M1 D1 H1 / W1 = M2 D2 H2 / W2.
  • Wages in the ratio of work done (rate × days).
  • Pipes: inlets positive, outlets and leaks negative. Leak time = product ÷ difference.
  • Alternate days: work per cycle, whole cycles, then finish the tail in order.

Practice

45 questions in 3 sets. Every answer comes with its explanation, and each question you get right earns XP.

  • Easy · 15
  • Medium · 15
  • Hard · 15
Start practising
PreviousStocks and SharesNextTime, Speed and Distance
Log inStart free