Pergunta de entrevista da empresa Shipsy

Given 3L, 5L each, take out 4L of water. (Problem-Solving - Puzzles)