Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

one more filling water problem..

This is a discussion on one more filling water problem.. within the Brainteasers forums, part of the Brain Gym category; You have 8 liter jug, 5 liter jug, 3 liter jug. 8 liter jug have full of water. Your goal is finally the 8 liter and 5 liter jug contains ...

Go Back   Geeks Talk > Brain Gym > Brainteasers
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

Brainteasers The coolest place to post puzzles, riddles and brain teasers that tickle your brain.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-07-2007
Contributing Member
 
Join Date: Sep 2006
Location: bangalore, india
Posts: 1,016
Thanks: 0
Thanked 91 Times in 72 Posts
psuresh1982 will become famous soon enough
one more filling water problem..

You have 8 liter jug, 5 liter jug, 3 liter jug. 8 liter jug have full of water.

Your goal is finally the 8 liter and 5 liter jug contains 4 liter water and 3 liter jug contains no water. You have only 8 liter water and you are not getting more water from any other resources.

How can you fill the water?

----------------
suresh
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-07-2007
Expert Member
 
Join Date: Jan 2007
Location: Bangalore
Posts: 252
Thanks: 4
Thanked 8 Times in 7 Posts
Manojks is on a distinguished road
Re: one more filling water problem..

Hi,

A=8L jug
B=5L jug
C=3L jug

A B C
8 0 0
5 0 3
5 3 0
2 3 3
2 5 1
7 0 1
7 1 0
4 1 3
4 4 0

Thanks
Manoj
Reply With Quote
  #3 (permalink)  
Old 02-07-2007
Contributing Member
 
Join Date: Sep 2006
Location: bangalore, india
Posts: 1,016
Thanks: 0
Thanked 91 Times in 72 Posts
psuresh1982 will become famous soon enough
Re: one more filling water problem..

Manoj,

you are answer is correct. you are using 8 steps. find the minimum number of steps to acheive the result..8 is not a minimum.

------------------
suresh
Reply With Quote
  #4 (permalink)  
Old 02-07-2007
Expert Member
 
Join Date: Jan 2007
Location: Bangalore
Posts: 252
Thanks: 4
Thanked 8 Times in 7 Posts
Manojks is on a distinguished road
Re: one more filling water problem..

Hi Suresh,

Have u noticed that i have done 1 action per step either it is A <-> B or B <-> C or C <-> A. I want to know whether any possibility to optimize the steps with 1 action per step so i can try out...

Thanks
Manoj
Reply With Quote
  #5 (permalink)  
Old 02-07-2007
Contributing Member
 
Join Date: Sep 2006
Location: bangalore, india
Posts: 1,016
Thanks: 0
Thanked 91 Times in 72 Posts
psuresh1982 will become famous soon enough
Re: one more filling water problem..

yes manoj,

It is possible....Try to find the answer....

------------------
suresh
Reply With Quote
  #6 (permalink)  
Old 02-12-2007
Junior Member
 
Join Date: Feb 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
25001089 is on a distinguished road
Re: one more filling water problem..

A = 8l b = 5l c = 3l

8 0 0
3 5 0
3 2 3
6 2 0
6 0 2
1 5 2
1 4 3
4 4 0

Last edited by psuresh1982; 02-13-2007 at 01:14 AM.
Reply With Quote
Reply

  Geeks Talk > Brain Gym > Brainteasers

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Recycling Water norman Chemical Engineering 8 03-02-2009 03:08 AM
Filling "Date Creation" field with the current day Lokesh M Test Director 1 02-27-2008 08:39 AM
fill the water using jug.... psuresh1982 Brainteasers 1 02-07-2007 06:21 AM
Microwaved water Rajani Geeks Lounge 5 12-23-2006 03:42 PM
Query with Filling Functions joel C and C++ 2 09-16-2006 04:13 PM


All times are GMT -4. The time now is 02:17 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved