No video

Milk and Jars PUZZLE

  Рет қаралды 149,401

LOGICALLY YOURS

LOGICALLY YOURS

7 жыл бұрын

You have a big container full of milk. people come for buying milk in the range of 1 liter to 40 litres. You can have only 4 jars to draw milk out of the container.
PUZZLE :
what should be the capacities of these four jars so that you can measure any amount of milk in the range of 1 liter to 40 litres.
The video has complete explanation of the answer.
Please comment below your answers and suggestions. Also LIKE the video and SUBSCRIBE to my channel if you are new.
Pleae give a try to these Puzzles:
Prize in a Box PUZZLE
• Can you solve "Prize i...
9 dots problem
• 9 dots problem | Join ...

Пікірлер: 331
@canale2303
@canale2303 3 жыл бұрын
The puzzle is not clear at all. I can measure 40 liters with a 1 liter jar, picking up the milk 40 times.
@luisrosado7050
@luisrosado7050 2 жыл бұрын
Efficiency is key
@ragramos
@ragramos 3 жыл бұрын
There's a missing constraint to the problem: You can only dip each jar once in the container
@stefanhorsten5359
@stefanhorsten5359 3 жыл бұрын
More than one. "In the range of 1l to 40l" - OK, give me 7.5l please.
@nivedks5720
@nivedks5720 3 жыл бұрын
1,40,40 will still do
@machomachinmachinmachinmac6910
@machomachinmachinmachinmac6910 3 жыл бұрын
That's a VERY VERY important constraint. I can't believe the guy that uploaded this video didn't mention that. Otherwise, all you need is just a one liter jar. It's actually a stupid constraint......Who ever heard that you can use a jug only once?
@Maxmilian666
@Maxmilian666 9 ай бұрын
If you have only 1 liter jar where are you going to transport those 40l of milk?
@sameeradhikari1777
@sameeradhikari1777 4 жыл бұрын
I think the minimum amount of jars is one, we need a 1 litre jar and we can calculate any amount of milk😂😂
@MegaArti2000
@MegaArti2000 3 жыл бұрын
Thats not true, because you wouldn't have another jar to count your 1 liters...
@justyourfriendlyneighborho2061
@justyourfriendlyneighborho2061 3 жыл бұрын
How about 1 liter and 40 liters to hold the milk?
@cheakohhean5776
@cheakohhean5776 3 жыл бұрын
I think the same, 2 jars are enough to solve the puzzle.
@Mothuzad
@Mothuzad 3 жыл бұрын
Yeah, this puzzle is broken. I stopped at the two-jars solution too.
@abhishekkumarjha8259
@abhishekkumarjha8259 3 жыл бұрын
It's better to have 1 ml jar as it'll help in measuring any quantity of milk
@KoushikPaulliveandletlive
@KoushikPaulliveandletlive 5 жыл бұрын
I like your videos, but in this case u didnt mention that I can not use same jar twice, so in that case only one, one liter jar is enough.
@LOGICALLYYOURS
@LOGICALLYYOURS 5 жыл бұрын
Thanks Kouhik, and I agree that it was a technical mistake that I didn't mention that a Jar has to be used only once. I will re-upload this video soon with correction :)
@saurabhbhalla90
@saurabhbhalla90 4 жыл бұрын
I faced the same issue, but if you think about it for more than 30 seconds, it becomes obvious that you can't use a jar more than once. Otherwise the question is pointless.
@sajalrastogi3904
@sajalrastogi3904 4 жыл бұрын
@@LOGICALLYYOURS toh karo na!
@michalpecz9433
@michalpecz9433 3 жыл бұрын
@@saurabhbhalla90 Well in a lots of viedos here it was about some detail. So majority of people are catching details.
@jaswanthreddy9440
@jaswanthreddy9440 3 жыл бұрын
If the jar has to be used only once. How can we measure 7 litres?
@rainman2543
@rainman2543 5 жыл бұрын
Some ordered 765ml milk Shop owner- Sorry, KZfaq did not teach me tat
@kavin5074
@kavin5074 5 жыл бұрын
😂😂
@sherazmunir9436
@sherazmunir9436 5 жыл бұрын
Lmao 😂
@aradhyamn6950
@aradhyamn6950 5 жыл бұрын
That's why question properly specified 1-40 liters
@halilurrahman8685
@halilurrahman8685 4 жыл бұрын
@@aradhyamn6950 I want 1l and 750ml milk ,that's also between 1 and 40 ,isn't it😉
@perfecttime7124
@perfecttime7124 3 жыл бұрын
Nice😂
@deepanshuagrawal6332
@deepanshuagrawal6332 6 жыл бұрын
Why cant we use a jar twice.....there is no such restriction mentioned in the video
@matesimon4415
@matesimon4415 5 жыл бұрын
Yeah..he should be explaining more precisely...
@deepanshuagrawal6332
@deepanshuagrawal6332 5 жыл бұрын
@@hrxmotive8311 yeah bro...but they should mention clearly na..
@harrywang2795
@harrywang2795 5 жыл бұрын
I can do 1-40ltrs with only 2 cups. One 40 ltr jar and one 1 ltr jar. 1. Fill the 40 ltr jar and pour 1ltr from the 40 ltr jar into the 1 ltr jar (this will give u 39 ltrs) 2. Repeat step 1 (fill the 40 ltr jar, pour 1ltr from the 40 ltr jar into the 1ltr jar and pour the 1ltr into the bucket this will give u 38 ltrs) You can get every liter using this technique.
@thisisbipin
@thisisbipin 5 жыл бұрын
How will you measure 38 L? Where will you keep one litre of jar which is already filled in your 1L jar??
@MostafaAhmed-rx7hr
@MostafaAhmed-rx7hr 4 жыл бұрын
yes absolutely right
@MostafaAhmed-rx7hr
@MostafaAhmed-rx7hr 4 жыл бұрын
i think you should not pour any milk from the jars back to the container , but he did not state any restrictions
@petalkats4620
@petalkats4620 4 жыл бұрын
Harry Wang I like u but.. I think the customer might get a bit impatient But noice answer 😎
@smfinch99
@smfinch99 4 жыл бұрын
You could also count up instead of down. Start with an empty 40 ltr jar then start to fill it using the 1 ltr jar as many times as necessary. (the video didn't mention it but it seems like there's a restriction where you can only use the 1ltr once)
@vijayshinde9972
@vijayshinde9972 3 жыл бұрын
Only one litre jar is sufficient
@kidsgameslearning
@kidsgameslearning 2 жыл бұрын
There should be a rules one jar should be used once to pour from the big container to pour milk. Otherwise people will say I will use 1 litre 40 times.
@AbhijeetKumar-vh1ln
@AbhijeetKumar-vh1ln 3 жыл бұрын
Question is wrong. Right question is a piece of iron weighs 40 kg should divide in 4 parts so that you can measure 1to 40 kg.
@stefanhorsten5359
@stefanhorsten5359 3 жыл бұрын
No. How do you measure 5kg with pieces of 1, 3, 9 and 27kg? That doesn't work.
@GuillaumeWolf1
@GuillaumeWolf1 3 жыл бұрын
Add 1 and 3 to the 5 and compare to 9
@apex4462
@apex4462 5 жыл бұрын
You solved it like hit and trail method, and you haven't mentioned that we can only use one jar once, okay give me 2.45 lit
@preritgoyal9293
@preritgoyal9293 5 жыл бұрын
I have heard the same puzzle but the only difference was that it was about finding only 4 weighing blocks to be made out of 40 kg iron block that could measure all 1-40 kg weights ( natural nos.) in one step only. It would give no confusion.
@MastaSmack
@MastaSmack 5 жыл бұрын
I only needed two jars, I took a 40L and a 1L and filled the 40L 1L at a time marking each spot....man that was easy.
@mohitgargrli
@mohitgargrli 5 жыл бұрын
Easier option would be 1 ltr, 2 ltr, 5 ltr & 10 ltr jar. You can take out any quantity from 1 ltr to 40 ltr just by filling any of these jars 1 to max 4 times. No need of pouring back (subtracting) the extra quantity from bigger to smaller jar and then again from smaller jar to main tub. Lots of time and efforts saved.
@jadavgopinath8179
@jadavgopinath8179 2 жыл бұрын
with your approach you can measure a max of 18 ltr of milk
@PenguinOldTimeRadio
@PenguinOldTimeRadio Жыл бұрын
@@jadavgopinath8179 kind of true...but I didn't hear in the introduction that you could only use each jar once.
@qwertytechnology
@qwertytechnology 5 жыл бұрын
I think there is a deeper reason for the powers of 3. We can take inspiration from how binary numbers work. In that case, for any integer N, a 2^0 + b 2^1 + c 2^2 + ... = N where {a,b,c,...} can only be 0 or 1. In our case, for any integer N, a r^0 + b r^1 + c r^2 + ... = N where {a,b,c,...} can be 0, 1 or -1. "0" : A jug is not used. "1" : A jug is used to fill milk from container. "-1": A jug is used to remove milk from some other jug. Simple linear algebra gives us r=3.
@asheeshkumar1424
@asheeshkumar1424 5 жыл бұрын
After watching video, I think that I've become logical but when you'll post another puzzle, then no logic works.
@Vaaaaadim
@Vaaaaadim 5 жыл бұрын
Not enough constraints on this puzzle. We could use only 2 jars by having -1 jar with 1 litre -1 jar with 39 litres and just keep filling up the small jar and using it to fill up the large jar. If the constraint was to minimize the size of the largest jar, we could have 11, 10, 10, 9 -For a number from 0-8, fill up 11-litre jar, pour from that jar into a 10-litre jar till its filled up, dump contents of that 10-litre jar into the tub. Move the 1 litre of milk in the 11-litre jar into the 9-litre jar. Rinse and repeat till your 9-litre jar has the desired amount. -For a number from 9-11, you can just fill up one of the jars. -For a number X from 12-18, fill up 9-litre with X - 9 litres using first technique, move into 11-litre jar. Fill up 9-litre jar. -For 19 fill up 10 & 9, for 20 fill up 10 & 10, for 21 fill up 11 & 10 -For a number X from 22-28, fill up 9 litre with X - 19 litres using first technique, move into 11-litre jar. Fill up 9 & 10 litre jars. -For 29, fill up 10,10,9, for 30 fill up 11,10,9, for 31 fill 11,10,10 -For a number X from 32-38, fill up 9 litre with X-29 litres using first technique, move into 11-litre jar. Fill up 9,10,10 litre jars. -For 39, fill up 10 litre-jar, pour into 11 litre jar, fill up 9,10,10 litre jars. -For 40, fill up all the jars Some other possible constraints to make variants of this puzzle: -Can only fill up 1 jar at the start -No dumping milk back into the tub. -Can only pour from a larger jar to a smaller jar -Can only pour into an empty jar(in other words, no mixing of milk in jars) -Jars of size N cost F(N), minimize cost of jars -There must be a unique solution for every possible quantity -Minimize number of moves -The sum of all jars must be the target quantity, (no cherry-picking) Perhaps the constraint that would make the solution presented be the only one could be, only allowing pouring from a larger jar to a smaller jar(with the tub of milk being the largest jar) Still a nice puzzle and solution though.
@mdmubashir9607
@mdmubashir9607 7 жыл бұрын
amazing yaar.....really too good......waiting for more puzzles.
@LOGICALLYYOURS
@LOGICALLYYOURS 7 жыл бұрын
Thanks Mubashir :)
@9F10
@9F10 3 жыл бұрын
1,2,5,10 (and 40 which is the main jar) is enough. That is why money system is built like that.
@deadfoul971
@deadfoul971 Жыл бұрын
thanks man to make such logical videos for us
@vijayshinde9972
@vijayshinde9972 3 жыл бұрын
Why other than one litre jar is required?
@sragav4559
@sragav4559 3 жыл бұрын
I thought of same... 😂
@victory159
@victory159 3 жыл бұрын
hahahahah one liter jar is sufficient
@erikkonstas
@erikkonstas 5 жыл бұрын
Just a 1L and a 40L jar should suffice...
@thisisbipin
@thisisbipin 5 жыл бұрын
How will you measure 38 L? Where will you keep one litre of jar which is already filled in your 1L jar??
@MohaMed-fc7hj
@MohaMed-fc7hj 5 жыл бұрын
@@thisisbipin pour it back in the container
@junaidaj9919
@junaidaj9919 5 жыл бұрын
we can also keep 4 jars capacities in this manner, 1l, 3l, 5l and 11l u can measure all from 1L to 40L milk iam 100% sure for this answer is also correct just u can try for all 1L to 40L if u are not getting any x no. of litre then comment me, i will sure give solution u just need to try for all 1L -40L😀😀
@nilaypranjale5661
@nilaypranjale5661 5 жыл бұрын
U cannot use any jar again after giving the milk to the customer
@junaidaj9919
@junaidaj9919 5 жыл бұрын
@@nilaypranjale5661 yeah , i have not used any jar again after giving milk to customer. u just say where do u have problem in my alternative solution.
@nilaypranjale5661
@nilaypranjale5661 5 жыл бұрын
@@junaidaj9919 So explain me how r u going to give 30L to the customer without reusing the jars
@junaidaj9919
@junaidaj9919 5 жыл бұрын
@@nilaypranjale5661 we have milk in big 40L jar ,just remove 11L milk in 11L jar from big one now remained 29L milk in big jar. ok now take that 11L jar filled with milk and put it into 1L jar. ok just dont disturb big jar. now u have 29L milk in big jar and 1L in 1L jar just put 1L milk from 1L jar into big jar containing 29L milk
@junaidaj9919
@junaidaj9919 5 жыл бұрын
@@nilaypranjale5661 have u understood my explaination. isnt it right😁😁
@sajithchannadathu7902
@sajithchannadathu7902 2 жыл бұрын
Yes there is a issue in the constraint in tuhsi one , but u doing a good job keep going
@robertomelo1461
@robertomelo1461 4 жыл бұрын
Would be more fun if you asked what is the maximum integer number of liters that you can measure using 4 jars. By the way, I got it with 7, 9, 10 and 14.
@karthik-dm9zo
@karthik-dm9zo 2 жыл бұрын
how was your approach to this solution?
@sajjadap3378
@sajjadap3378 5 жыл бұрын
1:13 how about if it is 5.5 ltr
@williamturner6192
@williamturner6192 5 жыл бұрын
40l and 1l, no need for the others but you can have others to give you means to get to your desired amount more quickly.
@adityaraja8276
@adityaraja8276 6 жыл бұрын
How should i increase my logic thinking sir...i do programming where logical thinking is crucial...please guide me on how should i improve my logical thinking??
@LOGICALLYYOURS
@LOGICALLYYOURS 6 жыл бұрын
Hi Aditya, the best way to increase logical thinking is by following the least number of feasible object approach which I generally follow in most of my videos. You must watch 5 pirates puzzle on my channel to get an idea. Also there are other important things on which I am planning to make a facecam video. By the way for improving computer programming logic, you should always start with a flow chart and program it, then the second step is to optimize the code to lower down number of lines. You can get a feel of this approach in the video "Torch and 8 batteries" which is best example of programming. Keep posting comments/queries and suggestions, so that I can cover them all in a Q&A session.
@adityaraja8276
@adityaraja8276 6 жыл бұрын
LOGICALLY YOURS thank u so much sir...i will surely work on it😘
@jessicataylor7174
@jessicataylor7174 6 жыл бұрын
LOGICALLY YOURS ~ I'll be watching out for that video too...maybe it's not too late for my brain to learn to think logically! :D
@deeepu4576
@deeepu4576 5 жыл бұрын
Aditya Raja who the fuck made u a programmer
@giannapple
@giannapple Жыл бұрын
You can do the same with just three jars, 1, 2 and 5 liters: the fourth jar could be anything betweeen 0.x and 40 liters, but it really doesn’t matter since you can make all numbers from 1 to 10 with the other three.
@keerthanakeerthu2065
@keerthanakeerthu2065 5 жыл бұрын
U didn't say that u cannot use a jar twice. So what will u do when u want to get 7 literes.
@LOGICALLYYOURS
@LOGICALLYYOURS 5 жыл бұрын
Dear Keerthana... your doubt is valid... you can measure 7 lit in this way : Take out 9 lit (using 9 lit jar)... pour 3 lit from it into 3 lit jar.... (remaining milk in bigger jar is now 6 lit). From 3 lit jar, pour 1 lit into smallest 1 lit jar.. now add this 1 lit from smallest jar into the bigger jar... so 6+1 = 7. I won't criticize your doubt... but I always suggest people to understand the beauty of a puzzle.... I could have clarified that you have to use a jar only once to take out milk.... but the beauty of a puzzle lies in understanding implicit conditions... trust me, if you follow this suggestion, you will be able to solve any complicated puzzle :)
@thisisbipin
@thisisbipin 5 жыл бұрын
@@LOGICALLYYOURS Its true. :) The question was logical.
@ushashreesyreddy4061
@ushashreesyreddy4061 5 жыл бұрын
Best xplanation Bt u mentioned in the video that all are the powers of 3 Nd how can it be a logic fr the question
@piperbusche3438
@piperbusche3438 7 жыл бұрын
Isn't it also possible to measure any amount 1-40 with a 1 liter jar and a 40 liter jar, by repeatedly pouring the 1 liter jar of milk into the 40 liter jar, as many times to get to how much you need?
@piperbusche3438
@piperbusche3438 7 жыл бұрын
Also I really like your content and hope to see more videos soon!
@LOGICALLYYOURS
@LOGICALLYYOURS 7 жыл бұрын
The beauty of this Puzzle is that it 'implicitly' expects any jar to be poured only once (for a specific measurement). In fact, you will see many puzzles don't provide much background information... it has to be deduced :)
@shubhamsemwal5532
@shubhamsemwal5532 5 жыл бұрын
But you didn't say anywhere that we have to use 1 jar only once.
@bagusnaga01
@bagusnaga01 5 жыл бұрын
it's 1 3 5 10 ltr for me because people would carry their own jar to buy milk (well du'h who would buy liquid without having some kind of container either from the seller or the buyer) and also 1 3 5 can cover from 1 to 9 easily therefore most of the world currency is 1 2 5 and 10 (i choose 3 ltr because it's better for this kind of problem)
@Truthist1776
@Truthist1776 5 жыл бұрын
Need more info. There is no restriction from using the same jar more than once. A 1 liter could be used 40 times to get 40 liters.
@TargetHigh_Motivation
@TargetHigh_Motivation 5 жыл бұрын
But the jars like 2,3,5 and 10 will also work for the question.Is that right?
@chillmode1881
@chillmode1881 2 жыл бұрын
It lack constraints. My answer would be one 20 liters of jar because that'd be much easier than 1 liter to any amount because I can assume that my 20 litter jar has measurements. Why four when you can use one? Aren't riddles supposed to be thought out of the box?
@kumaragurusubramanian581
@kumaragurusubramanian581 5 жыл бұрын
U should have explained the question better
@aronblanche
@aronblanche 4 жыл бұрын
He explained it better
@ranitmajee8005
@ranitmajee8005 4 жыл бұрын
We can also use containers having volumes 1ltr, 5ltrs, 10ltrs and 20ltrs.
@saikatkarmakar6633
@saikatkarmakar6633 9 ай бұрын
I think an 1L and a 38L jar is enough.. if anyone asks for 40L give the one the whole container of milk, apart from that if someone asks for 39, fill both the jars and give else if someone asks for 2L pour 1L jar twice in the container and put the milk in 38L jar
@Gaxi2
@Gaxi2 Жыл бұрын
What if someone needs 1L + 250ml? The question is very vague so we can't know for sure. Also, 5 can be given as 3 + (3-1) 6 as 3+3 7 as 3+3+1 8 as 3+3+(3-1) 9 as 3+3+3 10 as 9+1 11 as 9+(3-1)... Maybe it is efficiency related...
@Nani-br9fk
@Nani-br9fk 4 жыл бұрын
If i were there all of jars i use 10 litres This is so complicated explanation for those people who can not understand it even watching for more times also so pls ask some easy riddles and also very tough riddles Bcoz of tough riddles, few people think that they dont have so much iq to solve them They lose themselves Although this is easy to me.....
@grandtheftlemon301
@grandtheftlemon301 4 жыл бұрын
If you had a 1 liter jug and a 40 liter jug, then you could pour any integer amount of milk into the fourty liter jug using the 1 liter jug like a measuring cup
@becalmandquiet881
@becalmandquiet881 3 жыл бұрын
Great video
@agytjax
@agytjax 6 жыл бұрын
Solution is cumbersome. For purely additive measures, use 1 2 4 8. This business of adding and then deducting is not optimal
@LOGICALLYYOURS
@LOGICALLYYOURS 6 жыл бұрын
With powers of 2 you will need additional jar of 16 ltr if you want to measure 27 liters. To achieve objective of this problem we need powers of 3.
@agytjax
@agytjax 6 жыл бұрын
You can measure 27 with 8,8,8,2 and 1.
@agytjax
@agytjax 6 жыл бұрын
Btw, if you say, using a jar multiple times is not allowed, so is deducting from a poured quantity
@bluetrex2
@bluetrex2 6 жыл бұрын
this video gives a poor job of addressing the question, hence the instruction was unclear.. i simply can have 40, 10, 3, and 2 liter containers.. (or 40, 5, 2, and 1) and create any volume combination from 1 to 40 liters.. from the way it was asked.. just 40, and 1 liter containers are enough.
@agytjax
@agytjax 6 ай бұрын
@@bluetrex2 - This puzzle has been asked very very poorly. Without specifying the constraints, you could just have a Jar of 1 liter
@melvinm9001
@melvinm9001 5 жыл бұрын
What if a customer asks 1.5 liter milk?
@shubhamjain-li5tn
@shubhamjain-li5tn 3 жыл бұрын
Can we use the combination of 1, 2, 5, and 10 liters jar?
@shubhzz.09
@shubhzz.09 6 жыл бұрын
awesome
@LOGICALLYYOURS
@LOGICALLYYOURS 6 жыл бұрын
Thanks Amulya
@sagardam2989
@sagardam2989 3 жыл бұрын
But to give any amount of milk in integer multiple of 1 ltr, we only need a one ltr. Moreover 1,2,2,5 is also a standard measure. That's also possible...
@agytjax
@agytjax 6 ай бұрын
Another solution using BINARY : Have Jars of 1,2,4,8 This is much more elegant
@jafferkhan5430
@jafferkhan5430 4 жыл бұрын
1, 2, 5 and 10 are enough to measure any litres.
@devanshurajput6583
@devanshurajput6583 3 жыл бұрын
He didn't mention but you can only take milk out of container only once using each jar... Which means you can fill max of 4 jars when someone asks for milk... And your logic would fail above 18 ltr. He didn't mentioned this rule but without this rule there won't be any question and then in that case even one 1 ltr jar would work.
@al-hilal-shk
@al-hilal-shk 4 жыл бұрын
Actually one thing Is missing in the question that is each jar is allowed to use once for each required quantity demanded
@toddbiesel4288
@toddbiesel4288 4 жыл бұрын
How much would largest container weigh? Could anyone lift it when it is full?
@shubhamsemwal5532
@shubhamsemwal5532 5 жыл бұрын
1 dislike for incomplete information and then, pr denting yourself as superior.
@daitrialz
@daitrialz 5 жыл бұрын
Oh man, where do I start, firstly I really like the channel so well done. Secondly, I’m not trying to hit on your solution but I think this one has more solutions than one... and dare I say it more optimal solutions, or alternatively this puzzle could have actually been more difficult than 40 ltrs. If you start with a simple example of 2,3,11,28 you can still make all the numbers but you can also make up to 44 ltrs. Some numbers are harder, for example to make 7 you need to pour 11 into 2, then pour 2 back into 3, then pour from 11 into 2 again to remove 4 in total from 11 but you do end up with a single container with 7 left, fair? To make some numbers between you need to sometimes pour milk back into the main container, or use a container twice, but it isn’t detailed in the puzzle or against the rules? Like to make 4 you would have to pour 11 into 2 and also 3 which leaves 6, pour 2 back into main container, pour 6 into 2, 4 remains. Or you could pour 11 into 3 and the 3 back into the main for 8 and then pour into 2 and back into the main for 6 and repeat again for 4. Since this is a logic puzzle and you wouldn’t waste any milk there are now more possibilities with a more advanced strategy. To the creator, let me know what you think of this answer? Some of your puzzles are a lot harder, I love logic puzzles so I thought I’d push this one a bit further!
@jr3450
@jr3450 3 жыл бұрын
Hey Ammar, funny problem, especially you did not perfectly clear all the requirements, cause that gives one the possibility to think out of the box. So I gave it a try in a different way: 1) I am a shop owner that sells milk 2) my customers buy milk in the range of 1 to 40 l in integer amounts, and they don‘t bring their own container 3) as the shop owner, I have to buy containers and give them to the customers to take home. For simplicity, I have a contract with my container supplier, so the cost is equal for every container, no matter what capacity. So I‘m interested in selling my milk with a minimum amount of containers, range 1-4 4) I think your solution gives the best possibility for me as the shop owner to save money, because if you handout up to 40 containers, that will ruin my business 😅 Finally, you can make two modified riddles out of this: I have 40 customers,each wanting to buy a different integer amount between 1 and 40 l, so a total of 41*20=820 l (thanks to C.F. Gauss 🙂) A) What are the minimum costs I have to pay to my container supplier, assuming it‘s 100 rupees each, no matter what the size of the container is? B) What are the minimum costs, assuming that a container costs 10 rupees per liter of capacity I didn‘t do the math yet completely, maybe you and your viewers like to give it a try, cheers from Hamburg, Juergen
@zahidhussain251
@zahidhussain251 2 жыл бұрын
The answer to your first question would be slightly different. Without going into detail you will need up to a maximum of 6 containers per customer and containers can be 1, 2, 4, 8, 16, 32. There are other solutions but will this the restriction is that you cannot give the customer more than one of any type of utensils.
@nareshtandel1299
@nareshtandel1299 6 жыл бұрын
It is better to have 1,2,3,5 litres of jar
@veninandakumar5117
@veninandakumar5117 3 жыл бұрын
Its better to have 1×40 litre jar and 1×1 litre jar. 'cause he never mentioned that we can't use a jar twice for a measurement
@kishanchandravadia5278
@kishanchandravadia5278 6 жыл бұрын
i think 2 liter, 3 liter, 4 liter, and 31 liter will also work please check if it is right?
@LOGICALLYYOURS
@LOGICALLYYOURS 6 жыл бұрын
Hi Kishan... how would you measure 10 lit... take into consideration the beauty of puzzle that a jar shouldn't be used twice to take out milk. Anyways... you gave a try thinking outside the box, that's highly appreciated.
@kishanchandravadia5278
@kishanchandravadia5278 6 жыл бұрын
LOGICALLY YOURS yes its true thanks.
@aravindanvaithialingam3016
@aravindanvaithialingam3016 5 жыл бұрын
Super g
@Susp7
@Susp7 3 жыл бұрын
🙌
@harshitkumar9708
@harshitkumar9708 4 жыл бұрын
By measure it is meant, one needs to store it somewhere as well. Not just measure 1 litre and throw.
@explosingpigman2251
@explosingpigman2251 6 жыл бұрын
Just get a 1 ltr and a 6783246109235 ltr If a guy wants n ltr of milk, fill up the 1 ltr jar and pour it into the other jar, then repeat for n times.
@Ray-ln7ut
@Ray-ln7ut 5 жыл бұрын
Congrats on 100k subscribers
@danmimis4576
@danmimis4576 11 ай бұрын
If the buyer comes with his own container there are plenty of 4 jars combinations. One set of 4, without pen on paper, would be 10 - 4 - 3 - 2, but, as I said, can be plenty of others
@stevenmoritsugu4716
@stevenmoritsugu4716 4 жыл бұрын
This puzzle is NOT well specified for two reasons. 1. the range of 1 to 40 includes fractions. the puzzle should have specified no fractions. 2. the puzzle wants the desired amount of milk to end up in its containers. That was not specified at the start. Like bottled water in the USA, maybe the customers all bring their own milk containers. then you only need a single 1 liter measure to give them from 1 to any number of liters. maybe the customer will drink the milk there. then you only need a single 1 liter measure. the puzzle only asks you to measure N liters. It does not say what happens after you measure. you could pour the milk on the ground but still you still would have measured N liters.
@dragondog3180
@dragondog3180 3 жыл бұрын
There's a much easier way to solve this. You have a 1 liter jar and a 40 liter jar. The other two jars don't matter. And you just use the 1 liter jar to measure into the 40 liter jar until you get the exact number of liters you need. Or if we can pour directly into the jar of the person purchasing our milk, we only need the 1 liter jar.
@shubhamsemwal5532
@shubhamsemwal5532 5 жыл бұрын
You didn't mention whether we can use a jar twice or not.
@cathalleddy8144
@cathalleddy8144 4 жыл бұрын
There's a parameter missing. 1 1lr jug would be adequate for what we were asked.
@sweettreat9088
@sweettreat9088 5 жыл бұрын
hii if customer want 20 liters milk how will you give???
@steveaustin2686
@steveaustin2686 3 жыл бұрын
Draw the 27 liter jar. Pour into the 9 liter jar leaving 18 liters in the 27 liter jar. Pour the 9 liter jar into the 3 liter jar, leaving 6 liters in the 9 liter jar. Pour the 3 liter jar into the 1 liter jar, leaving 2 liters in the 3 liter jar. Pour those 2 liters from the 3 liter jar into the 27 liter jar and you will have 20 liters. Hope the next customer wants 7 or fewer liters. :) Without the restriction of only using a jar once, you would just pour the 9 liter jar twice and the 1 liter jar twice to get 20 liters.
@mohdtauheedkhan6198
@mohdtauheedkhan6198 5 жыл бұрын
What if we measure 39.45 litres
@brainboxanky1729
@brainboxanky1729 5 жыл бұрын
Hey you didn't explained why was it powers of three only and where else this concept can be applied
@dollcyjain2452
@dollcyjain2452 2 жыл бұрын
Excellent explanation. I like your videos. To measure 7 litres of milk , It's correct to take 9 litres milk out of the tank and then take out 3 litres milk from 9 litres jar. At last we have to take out 1 litre milk out from 3 litre jar and then put 1 litre milk inside the 9 litre jar from 1 litre jar. Is it correct??
@jameslatief1
@jameslatief1 6 жыл бұрын
Just have a single jar of 1L. Why do you need 4 jars when you can do the same job for with a 1L jar?
@YairCat
@YairCat 4 жыл бұрын
What is the reason behind 3^n please?
@harshpatel6776
@harshpatel6776 5 жыл бұрын
Ruko me 50 ltr ki tanki lekar aata hu, aaj sabme doodh batega.
@prajwalchandak9408
@prajwalchandak9408 5 жыл бұрын
Even the jars with the capacity of 1, 2 , 4, 8 litres will serve the purpose. Mr. Mohammad Ammar, let me know if it is correct.
@LOGICALLYYOURS
@LOGICALLYYOURS 4 жыл бұрын
Prajwal, 8+4+2+1 would give 15 lit of milk... we need upto 40..... But I must admit that while posting this puzzle I made a mistake by not mentioning the condition that a jar can be used only once to draw the milk.
@deeepu4576
@deeepu4576 5 жыл бұрын
thts a pretty good one but.... u did it on basis of substraction what about addition having 1 3 5 10 ltrs of jar 1+1=2 a 3 ltr jar gives 3+1=4 5 would give 5 5+1=6. 5+1+1+=7 5+3=8. 5+3+1=9 and a 10 and so on ......u just show us things in a difficult way ......still i m ur supporter though
@rajmankar4440
@rajmankar4440 4 жыл бұрын
This is also possible I guess :- 7l 9l 11l and 13l
@Mr__Arpit__006
@Mr__Arpit__006 Ай бұрын
Its very easy... Let Jars is named as A B C D We assumed as Jar A is 10 liter.. Jar B is 5 liter.... Jar C is 2 liter.... Jar D is 1 liter.... According to the question, If customer wants 1 liter of milk. We use jar D=1 liter... If customer wants 2 liter of milk we use jar C=2 liter... If customer wants 3 liter of milk we use Jar C+D= 2+1= 3 liter.... If customer wants 4 liter of milk we use Jar C+C= 2+2=4 liter.... If customer wants 5 liter of milk we use Jar B= 5 liter..... If customer wants 6 liter of milk we use Jar B+D=5+1=6 liter.... And so on........! I if u understand......!
@akashdeeprathore1382
@akashdeeprathore1382 3 жыл бұрын
1,2,5,10 are sufficient. Currency is also printed like this.it's the same
@faisalsayyed7
@faisalsayyed7 4 жыл бұрын
I think this is not full question. Because certain conditions should be mentioned with it Such as 1) A jar should used only once to take out milk from bucket. 2) We have to take jars quantity which totals to Amount i.e 40 (as we can't use same jar twice) And of course quantity should be natural number!!!
@agytjax
@agytjax 6 ай бұрын
This puzzle has been asked very very poorly. Without specifying the constraints, you could just have a Jar of 1 liter
@abhishekkrm97
@abhishekkrm97 5 жыл бұрын
For 1.5 ltr ...or 1.2 ltr..or something else value.???
@apex4462
@apex4462 5 жыл бұрын
1ml jar and I don't need other three jars , because one can even demand 1.29 litres
@concernedcommenter8258
@concernedcommenter8258 4 жыл бұрын
Well it doesn't matter if your smart and can just reuse the 1 bottle. I swear you never clarified that.
@thelife5628
@thelife5628 2 жыл бұрын
Can't we just use 1L jar n number of times to take n L of milk...
@eeshanghosh1605
@eeshanghosh1605 3 жыл бұрын
what to do for 7L by this process?
@rockytechz5477
@rockytechz5477 3 жыл бұрын
Nice video
@jayarajnr965
@jayarajnr965 3 жыл бұрын
try 1, 2 ,2 ,5 you can hold any number from 1 to 10 with this if your buyer doesn't have a pot to put milk I used to carry coins in this config so i can give change in any numbers
@jaknap1
@jaknap1 5 жыл бұрын
All u need is a 1 liter jar. 40x 1 liter = 40 liters.
@rollinwifdabigboys13
@rollinwifdabigboys13 4 жыл бұрын
Thought I could use one jar more than once
@bhaskardey1829
@bhaskardey1829 4 жыл бұрын
I heard about this answer but don't know the logic. Thank you for this logical explanation.
@rakeshdhadvi4938
@rakeshdhadvi4938 3 жыл бұрын
Its binary like patterns 8 4 21 for 15 ltr 27 9 3 1 for 40 ltr So on.... Restriction: can't use same jug twice while single measurement. You can use multiple jug at a time for filling and emptying.
@rakeshdhadvi4938
@rakeshdhadvi4938 3 жыл бұрын
Restriction: can't use same jug twice while single measurement. You can use multiple jug at a time for filling and emptying.
@moonyuen0505
@moonyuen0505 3 жыл бұрын
There is a better way to ask this question: there is a balance and 4 difference scale weights, and you can use these weights to find 1 g to 40 g of weight. What are the weight's weight?
@shivanshpandey2026
@shivanshpandey2026 6 жыл бұрын
11.5 , 10.5 , 9.5 , 8.5 would also work 😄...god bless you
@LOGICALLYYOURS
@LOGICALLYYOURS 6 жыл бұрын
Hey Shivansh... good to see your outside the box approach.. I am verifying it for all the values. It's fun to measure all of the values from 1 to 40 with your measurements :) will update my answer here once all calculated.
@shivanshpandey2026
@shivanshpandey2026 6 жыл бұрын
well...i didnt knew before posting that we can draw milk out of container in any jar once and pour into any jar from another jar only once. i wonder how its possible to measure all values by pouring and taking milk only once in any jar only once. sorry for wasting ur time😅
@therandomnomad435
@therandomnomad435 4 жыл бұрын
Wjat if a person wishes to buy 9.5litres?
@sachinbaranwal6987
@sachinbaranwal6987 5 жыл бұрын
1, 2 , 4, 8 is the best jar capacity
@murlidharpatidar4153
@murlidharpatidar4153 6 жыл бұрын
very nice problem
@abhishekrajgor4065
@abhishekrajgor4065 4 жыл бұрын
1, 2 ,5 , 10 also works.
@PJ-dx2qo
@PJ-dx2qo 6 жыл бұрын
Can't you use one jug of 1 liter x times? The requirements don't specify how many times you can use one specific jug, or if you need to optimize the number of steps to draw the milk. The question should be formulated in such a way as to allow only one (reasonable) solution.
@LOGICALLYYOURS
@LOGICALLYYOURS 6 жыл бұрын
Hey MP, i truly agree with you. I must have mentioned the condition to optimize it. I wish I could correct the existing video.
@charlesbromberick4247
@charlesbromberick4247 2 жыл бұрын
nice puzzle
10 Bags Puzzle || Find the bag with defective coins
3:55
LOGICALLY YOURS
Рет қаралды 81 М.
Solve this puzzle to get into Oxford ?!
5:29
MindYourDecisions
Рет қаралды 7 МЛН
Пранк пошел не по плану…🥲
00:59
Саша Квашеная
Рет қаралды 6 МЛН
КАК ДУМАЕТЕ КТО ВЫЙГРАЕТ😂
00:29
МЯТНАЯ ФАНТА
Рет қаралды 10 МЛН
Google Interview Riddle - 3 Friends Bike and Walk || Logic and Math Puzzle
8:47
100 Doors Puzzle || Hard Puzzle for Genius minds
6:30
LOGICALLY YOURS
Рет қаралды 249 М.
7 Riddles That Will Test Your Brain Power - Episode #6
10:16
LOGICALLY YOURS
Рет қаралды 1,4 МЛН
Can you solve the wizard standoff riddle? - Dan Finkel
5:26
TED-Ed
Рет қаралды 12 МЛН
Can you solve the counterfeit coin riddle? - Jennifer Lu
4:35
Mind-Bending Puzzle That Will Challenge Your Intellect
4:39
LOGICALLY YOURS
Рет қаралды 50 М.
GOOGLE Interview Question || Puzzle : 12 Men On An Island || Hard Logic Puzzle
22:01
Viral logic test from Brazil
6:41
MindYourDecisions
Рет қаралды 2,7 МЛН
How To Solve The Hiding Cat Puzzle - Microsoft Interview Riddle
13:37
MindYourDecisions
Рет қаралды 2,6 МЛН
Пранк пошел не по плану…🥲
00:59
Саша Квашеная
Рет қаралды 6 МЛН