JobsJob TrackerJob alerts

Pine Labs · 5 questions

All 5Coding 3
  • Multiply LinkedList value by 2Coding
  • Majority ElementCoding
  • Stock Span ProblemCoding
  • Water Jug Problem
  • Measure 4 litres using 5-litre and 3-litre jugs
← Pine Labs questions
  1. Interview questions
  2. Pine Labs
  3. Measure 4 litres using 5-litre and 3-litre jugs

Measure 4 litres using 5-litre and 3-litre jugs

Filed under Pine Labs

The question

Given a 5-litre jug and a 3-litre jug, find a way to measure exactly 4 litres of water.

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

Related Pine Labs questions

  • Multiply LinkedList value by 2
← Water Jug Problem

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