+ Reply to Thread
Results 1 to 3 of 3

Thread: Measure 4 Ltr using 8 5 3 ltr cans

  1. #1
    TopGun Guest

    Measure 4 Ltr using 8 5 3 ltr cans

    You have three cans of capacity 8, 5, 3 ltrs. 8 ltr can is filled with 8 ltrs of water, 5 and 3 ltr cans are empty. How do u measure 4 ltrs without throwing away water and without adding any.

  2. #2
    TopGun Guest

    Re: Measure 4 Ltr using 8 5 3 ltr cans

    8 5 3 Cans
    ==================
    8 0 0 Initial State
    3 5 0
    3 2 3
    6 2 0
    6 0 2
    1 5 2
    1 4 3

  3. #3
    rahul.jain Guest
    8 5 3 Cans
    8 0 0 Initial State
    5 0 3
    5 3 0
    2 3 3
    2 5 1
    7 0 1
    7 1 0
    4 1 3

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts