YAHOO Interview Puzzle || Camel and Bananas || Logic + Optimization

Поделиться
HTML-код
  • Опубликовано: 26 авг 2024
  • You are most welcome to share puzzle, math problems or any topics for upcoming videos.
    Gmail : logicreloaded@gmail.com
    Facebook(message) : / mohammmedammar
    YAHOO Interview PUZZLE :
    This puzzle is based on optimization skills.
    You are the owner of a banana plantation and you have a camel. You want to transport 3000 bananas to a market, which is located at a distance of 1000 kilometers from your planatation. Your camel is used for banana transportation but it can carry a maximum of 1000 bananas at a time, and it eats one banana for every kilometer it travels.
    (that means, irrespective of whether the camel goes towards the maket or towards the planatation , it consumes 1 banana for one kilometer of travelling)
    What is the maximum number of bananas that can be delivered to the market with the help of the camel?
    Hint : Start with the most obvious approach then try to optimize the solution.
    Guys !! Don't forget to press the bell icon to get notified for every new upload.
    Please like and share the video and if you are new please Subscribe to my channel and stay updated with a new logic every week.

Комментарии • 1,9 тыс.

  • @akinamori1615
    @akinamori1615 4 года назад +1019

    If you guys didnt understand here is the explanation.
    3k bananas at starting point
    1k banana max carry
    The camel brought 1k forward to first drop point of 200km. It ate 200 bananas, thus it had 800 left, since it is going back to pick up the rest it had to take 200 from the 800, thus there are only 600 bananas at first drop off.
    It then picked up 1k more bananas, dropped the same 600 since it has to go back the last time to pick the remaining 1k. Since it is no longer going back the 3rd time, then it had 800 to drop off. Totalling 2k bananas at first drop point.
    The 2nd drop point, the camel carried 1k bananas again and made 333km, thus eating 333 bananas, and only having 667 bananas left, since it need to go back again to pick up the last 1k, it took 333 bananas, thus having 334 bananas on 2nd drop point. Once its picked up the 1k bananas, it consumed 333 of it again to get to drop point, thus having 667 to drop plus the remaining 334 to have 1001 bananas on 2nd drop point.
    Now this is where it gets weird. The camel can only carry 1k bananas. Thus 1 banana is wasted. The camel then traveled 467km to drop of the remaining bananas to the market, resulting of 533 bananas delivered out of the 3000 in the beginning.

    • @noobgamerdroid1
      @noobgamerdroid1 4 года назад +61

      you can't waste 1 banana because you have to transport all 3000 bananas otherwise it will be 2999 bananas rule is rule my friend. 😂

    • @akinamori1615
      @akinamori1615 4 года назад +93

      NooB GameR the camel owner finally ate 1.

    • @PaulVaucher-CH
      @PaulVaucher-CH 4 года назад +56

      Hahaha! Not a very good business plan unless you can also sell the camel. And if this is the case, then breed three camels and just sell camels!

    • @zaheemschemnad5377
      @zaheemschemnad5377 4 года назад +8

      Good explaination

    • @TV1989
      @TV1989 4 года назад +28

      If you have a stop at the 500km mark and another at the 750km mark, you can actually deliver 750 bananas. You will have 1500 bananas at the 1st stop and 1000 at the 2nd stop, finally 750 at the market place.

  • @johnmarker4262
    @johnmarker4262 4 года назад +752

    this is why yahoo is going broke

  • @HalaAlTurkOfficials
    @HalaAlTurkOfficials 4 года назад +1926

    Does anyone notice that the length of the video is the Answer 😂😂😂

  • @logandavidson5842
    @logandavidson5842 4 года назад +480

    Five minutes ago I had nothing against camels.

  • @tzisorey
    @tzisorey 4 года назад +85

    So that's why bananas are so expensive these days.

  • @Antheloras
    @Antheloras 4 года назад +695

    And then the camel dies on the trip back, since there are no more bananas

    • @gopalbiswas8420
      @gopalbiswas8420 4 года назад +6

      Lol

    • @matiasm.3124
      @matiasm.3124 4 года назад +62

      You sell the camel and takes an Uber ...

    • @noriakikakyoin6009
      @noriakikakyoin6009 4 года назад +29

      A small price to pay for *B A N A N A S*

    • @Marane8
      @Marane8 4 года назад +15

      You sell the camel in exchange for a luxury vehicle because a wealthy real estate mogul, his grandson, and their three other traveling companions needed to reach the Red Sea.

    • @cornelius_dennies
      @cornelius_dennies 4 года назад

      Lol this made my day

  • @ltdericjones
    @ltdericjones 4 года назад +879

    Ironic the farmer lost 75+% of his revenue due to failing to innovate and Yahoo lost 75+% of its business to Google for a similar reasons...

    • @rexevan6714
      @rexevan6714 4 года назад +9

      LMAO

    • @siddharthraychaudhuri7250
      @siddharthraychaudhuri7250 4 года назад +1

      😝

    • @siddharthraychaudhuri7250
      @siddharthraychaudhuri7250 4 года назад +57

      And I just thought, feed the camel 2000 bananas before starting. That gives it fuel for the whole 2000 km round trip.😂 Load the remaining 1000, go sell your stuff and comeback home. No worries!😆

    • @suyash8468
      @suyash8468 3 года назад +9

      @@siddharthraychaudhuri7250 bhai vo camel h dinosaur nhi jo itne bananas ek sath kha lega 😂

    • @marvinkitfox3386
      @marvinkitfox3386 3 года назад +3

      The farmet loses 75+% of his banana revenue, and spends a FORTUNE on camel replacements each time he tries to make a delivery

  • @tashkiira7838
    @tashkiira7838 4 года назад +30

    Problem: Camels are worth more than 3000 bananas, and you can't take the camel home using the solution Ammar has made! If you want to get the camel home, you need to account for the lost bananas for the return trip. This means you have to remove 1000 bananas from the possible sale category, but NOT from the prepositioned cache category. Unfortunately, no matter what happens, the camel starves to death before getting home--the back-and-forth travel to move bananas to the caches consumes so many bananas that even if you make it to market and turn around without selling bananas, it dies before reaching the first cache again, after picking up the single banana left at the second cache.

    • @Dinerell
      @Dinerell 8 месяцев назад +3

      It just eats negative bananas. :D

    • @ldv1970
      @ldv1970 7 месяцев назад +1

      There was no requirement to return to the plantation.

  • @drakegrimm1287
    @drakegrimm1287 9 месяцев назад +53

    "The camel eats 1 banana for every kilometer it travels" is not the same as "the camel needs to eat 1 banana for every kilometer it travels"

    • @timothyn4699
      @timothyn4699 9 месяцев назад +6

      technically this puzzle is camel only eats while carrying bananas, not on the return trip

    • @ZimCH84
      @ZimCH84 9 месяцев назад

      That was not explained before comming up with the solution. Stupid quiz. Go shmizzle a camel

    • @rusty6899
      @rusty6899 8 месяцев назад +5

      Yeah, I assumed it wouldn’t eat bananas on the return trip. I got ~833 bananas to market.
      You get 2000 bananas to 333m, then 1000 bananas to 833, then you lose 167 to the end.

    • @captbloodbeard
      @captbloodbeard 8 месяцев назад +6

      @@timothyn4699Is it? where did it say that in the rules. It says for every km traveled, so it would need to eat them to on return trips too. That's why this doesn't make sense.

    • @timothyn4699
      @timothyn4699 8 месяцев назад +2

      @@captbloodbeard it has to be only on trips to, not on return trips.
      1) on return trips, camel is not carrying any bananas. How can it eat a banana it does not have (unless it makes up for it and eats a bunch immediately on return)
      2) it's impossible to only be able to carry 1000 bananas at a time, need to travel 1000km, and must eat 1 banana/km (both ways), and still have bananas leftover. Think about it, if you carry all of them the whole way, it's all consumed. If you drop it off halfway, you have 500 left. You return 500km back home, your balance is now 0. If you travel 750 km, your balance is 250. You return home another 750km, your balance is -500 bananas. If you travel 250km, your balance is 750, and you still need to go 750km. Returning home only hurts you and drops your bananas down -250, so you have 500 remaining, yet now you need to travel 250 (to get back to where you were, you now have 250 bananas), and still need to travel 750 to market, so you're -500 bananas if you go to market.
      hence, it must be the case, that camel does not require bananas on return trip (nor binge eat on return back), if the problem is going to make any sense, and if you are to have any bananas leftover

  • @devosjunior7577
    @devosjunior7577 4 года назад +540

    *when you feed 2467 bananas to the camel and only sell 533*
    **stonks**

    • @dorijancirkveni
      @dorijancirkveni 4 года назад +84

      Devos Junior when you have to buy 1000 bananas to get back to the plantation and end up with a net total of -467 bananas
      *not stonks*

    • @r.a.6459
      @r.a.6459 4 года назад +8

      533 sold, 3000 produced. Just below 18% efficiency. Market price of a comb of bananas is $18, this one sells at $100. Talk about of being ripped off!!

    • @reda29100
      @reda29100 4 года назад

      @DefinitelyNotDan Yeah! Speak of labor of $10 that yields $150 per hour. That's what real civilized world economics stand for!

    • @KineticManiac
      @KineticManiac 4 года назад

      What if he doesn't sell all 533 of them.

    • @satrioekowicaksono7452
      @satrioekowicaksono7452 4 года назад

      @DefinitelyNotDan damn you're dumb

  • @martinvanlierop5020
    @martinvanlierop5020 4 года назад +248

    Respect for the camel for eating that amount of bananas

    • @jaynestagg334
      @jaynestagg334 3 года назад +1

      My thoughts exactly. Hope he didnt throw up too much.🙈

    • @BenDRobinson
      @BenDRobinson 10 месяцев назад +1

      and for anyone following behind

    • @05weasel
      @05weasel 8 месяцев назад

      Not sure how camel biology handles potassium but something tells me somewhere around the second forward trip of the second leg of the journey our camel friend is dropping dead from heart failure

  • @benwhiley9680
    @benwhiley9680 3 года назад +93

    The question needs to contain the line;
    "In order to move, the camel requires a banana every km."
    The way it is formulated currently, it is unclear whether the camel is opportunistically stealing a banana every km just because it can OR if the banana is required fuel for the camel to move the 1km.
    In other words, I can empty the camel at the intermediate points and return to previous stage to refill - the return journeys cost no bananas.

    • @flowbeus
      @flowbeus 3 года назад +18

      Agreed, this needs clarification. I just wrote the same paragraph and then checked to see if someone else already wrote it:
      It is unclear in the description of the problem that the camel MUST eat a banana in order to move 1 km (like it's FUELing the camel), or if it only eats them if they are available (as in a NUISANCE behavior of the camel). In other words, you could assume that if there are no bananas with the camel, it is still able to travel back to the plantation to fetch more bananas.

    • @fomori2
      @fomori2 3 года назад +11

      "the camel is opportunistically stealing a banana every km"--
      Lol, even camels are shady in the middle east.

    • @jiogcyihsugyiocjfdoivhphvw6821
      @jiogcyihsugyiocjfdoivhphvw6821 2 года назад +3

      no, the question is fine

    • @DJSaez-ll8or
      @DJSaez-ll8or Год назад +12

      100% agreed. Had the same issue. I understood that the camel needed to make multiple drop offs but thought that the return trips didn't require bananas.

    • @user-go8oj4dl4w
      @user-go8oj4dl4w 11 месяцев назад +2

      And 'it eats one banana for every km it travels' could be clarified to say one needs to be eaten every km, or the camel can eat many at one time to cover the upcoming kms.

  • @wavydre8547
    @wavydre8547 4 года назад +46

    So how do you know your bananas are safe when you leave them 250 km away from you?

  • @wizzardoffuzz
    @wizzardoffuzz 4 года назад +211

    So you don’t bring the camel back from the market?

    • @pppbbb235
      @pppbbb235 4 года назад +2

      Best comment..lol

    • @proudindian18058
      @proudindian18058 4 года назад +7

      Camel Kabaabs must be delicious.

    • @mr.neorizal8908
      @mr.neorizal8908 4 года назад +2

      they cant..no more bananas for the camel to eat on way back..

    • @notknifeykestrel3104
      @notknifeykestrel3104 4 года назад +44

      If the camal ate 75% of my product, i don't think id want to bring it back.

    • @cooldigitaltips
      @cooldigitaltips 4 года назад +1

      wizzardoffuzz he will sell the camel

  • @Amal_ch
    @Amal_ch 4 года назад +175

    Me thinking: What a waste of bananas😂

    • @Joekool88
      @Joekool88 4 года назад +3

      Me too. Also the camel is quite inefficient as it eats the farmer's profits

    • @netpilot5
      @netpilot5 4 года назад +1

      Why does that surprise you? It happens with fuel deliveries, too. The fuel is just stored in different tanks and the efficiencies are different. Think of what it costs to refuel a jet fighter in flight.

    • @satrioekowicaksono7452
      @satrioekowicaksono7452 4 года назад

      @@netpilot5 the fuel is the one get consumed, the goods isn't.
      Then the fuel price is quite cheap, if you divide it per kg goods that it can carry.

  • @valkrieknights
    @valkrieknights 8 месяцев назад +12

    While this is great and I could not figure it out myself, the thing I immediately realized is that you aren't getting your camel back to the plantation. This sort of logic puzzle is good for seeing if you can think outside of the obvious and create efficient ways to optimize things, but it's ultimately a plan that should be scrapped.

    • @sunway1374
      @sunway1374 7 месяцев назад +2

      Not really. You sell the bananas with high profits (they must be in demand if it's so tough to get bananas there), sell the camel too. Then buy a pickup truck and drive back.

  • @upendraverma5435
    @upendraverma5435 4 года назад +150

    No camels were harmed in the making of this video 😂😂

    • @IS_THIS_ALL_A_DREAM_
      @IS_THIS_ALL_A_DREAM_ 4 года назад

      😂😂🤣

    • @rishigupta8467
      @rishigupta8467 4 года назад +4

      What about the camel that didn’t have any bananas to go back home from the shop at the end

    • @ko-Daegu
      @ko-Daegu 3 года назад

      @@rishigupta8467 nah we ate the camel after selling the bananas

    • @rishigupta8467
      @rishigupta8467 3 года назад +1

      @@ko-Daegu we could have just done that at the start...

  • @digantaislam1472
    @digantaislam1472 4 года назад +117

    Now I realize the importance of motor engine after watching this video

    • @reda29100
      @reda29100 4 года назад

      Wait! Isn't 1 liter of fossil fuel the result of tons of dead bodies? Like how more effecient is the tons->liter/km compared with few kg/km?

    • @satrioekowicaksono7452
      @satrioekowicaksono7452 4 года назад

      @@reda29100 most of the fossil fuel is from plant and plankton.
      And yes the fossil fuel is the most energy dense fuel after hydrogen and nuclear. You can carry more energy in 1 kg of gasoline than 1kg of battery.

    • @reda29100
      @reda29100 4 года назад

      @@satrioekowicaksono7452 okay, to clarify, I'm thinking and not asserting.
      I'm suggesting the amount of energy stored in 50 kg of biological mass would decrease in time, and to use this 50 kg would be better than storing it. It would be more dense (maybe 2 times more dense, but may lose 10%), but less efficient overall.

    • @mikespangler98
      @mikespangler98 8 месяцев назад +1

      Yes, draft horses could eat one fourth of the output of the farm.

  • @souravsonia5665
    @souravsonia5665 4 года назад +440

    Who's is gonna tell the camel that it's been 1km and now you have to eat a Banana 😂😂😂

  • @samkamps3
    @samkamps3 3 года назад +18

    I failed to solve this problem because I was trying to ensure that the camel had 1000 bananas to eat for the return trip.

    • @kekistaniattackhelicopter2242
      @kekistaniattackhelicopter2242 9 месяцев назад +6

      The camel is disposable like a tech company employee.

    • @kekistaniattackhelicopter2242
      @kekistaniattackhelicopter2242 9 месяцев назад +5

      Employ the camel for internship and now it won't consume any bananas.

    • @monkfishy6348
      @monkfishy6348 8 месяцев назад

      And worth more than all of the bananas to begin with. @@kekistaniattackhelicopter2242

  • @nyanmaru582
    @nyanmaru582 4 года назад +17

    Honestly... I thought the answer was zero.. 💁

  • @raghukiran5865
    @raghukiran5865 4 года назад +47

    Thanks a lot for explaining why yahoo is out of business....
    This is the height of stupidity...

  • @omargoodman2999
    @omargoodman2999 4 года назад +56

    My questions in such an interview:
    1) Does the camel *need* to eat a banana for each KM, or will it just eat one *if* it's carrying any? The question just states that the camel "eats" one banana per KM, not that it *must* eat one; camels don't typically eat bananas. That could change the solution by eliminating the need to carry bananas on backwards trips.
    2) Is cache safety an issue? It isn't exactly feasible to just drop a pile of bananas in the middle of the desert, completely unattended and unguarded.
    3) Even assuming the camel needs bananas for the return trip, once you get to the market having lost ~82% of your bananas (obligatory comment about Yahoo's business practices), how do you get the camel back home with no bananas? Do you buy feed for it? Why couldn't it eat the normal things that camels eat like grass, hay, leaves, thorny bushes, etc. during its trips? Or does it only run on bananas. Maybe you should trade in for a hybrid camel that can run on bananas OR regular camel feed.

    • @espiritly
      @espiritly 4 года назад +10

      And this is exactly why I consider a lot of logic puzzles not actually logic. Logic doesn't exist in a vacuum.

    • @siddharthraychaudhuri7250
      @siddharthraychaudhuri7250 4 года назад +21

      And I just thought, feed the camel 2000 bananas before starting. That gives it fuel for the whole 2000 km round trip.😂 Load the remaining 1000, go sell your stuff and comeback home. No worries!😆

    • @espiritly
      @espiritly 4 года назад +2

      @@siddharthraychaudhuri7250 and here we have the smart ass... I love it

    • @professor2633
      @professor2633 4 года назад

      😁😁😁😁

    • @balintcsikos-nagy9100
      @balintcsikos-nagy9100 4 года назад +7

      Number 1 was my first thought too. If the camel goes only 999 metres and drops its cargo then it cant eat any bananas :"D Go back, load the other bananas and go 999metres again. Repeat infinite times.

  • @stuarthall9854
    @stuarthall9854 4 года назад +8

    The puzzle immediately fails because it’s stated that the person wanting to transport the bananas wishes to ship 3000 bananas in total to the market. I don’t imagine the person shipping said bananas plans on any of said bananas to go missing or to be eaten by some banana-hammerspace camel. Immediately after 1 km, that goal of shipping 3000 whole and intact bananas is squashed and the entire puzzle is forfeit.

    • @jiogcyihsugyiocjfdoivhphvw6821
      @jiogcyihsugyiocjfdoivhphvw6821 2 года назад

      r u drunk

    • @RoyMatzem
      @RoyMatzem 10 месяцев назад +3

      Good one! The correct answer would be plant more bananas. And do the trip with 3 drop points (Or buy a truck and sell the camel)😂

    • @miriamweller812
      @miriamweller812 8 месяцев назад +1

      @@RoyMatzem No, just get a truck or at least build a cart and let the camel pull it.
      The real solution is using science.
      The fact alone how that with this solution on top most bananas will likely be rotten thanks to the wasted time.
      Pretty sure cour camel got no cooling system installed to keep them fresh enough.
      A camel can go for around 65km per day. That alone makes just those first 200km a 3x5 = 15 days journey.
      The next woul dbe around 5x3 days, another 15, so already a full month.
      Last journey woud at least be a single one so 1x7 days.
      37 days for the whole show and that all on a camel back. Not sure how much there will be left from your bananas.

  • @kunalkumar4436
    @kunalkumar4436 4 года назад +60

    That's the reason why I am not working in Yahoo 😂😂

  • @prathapchakravarthy6952
    @prathapchakravarthy6952 4 года назад +5

    What a logical... Camel don't want to eat if it travels backward 😁😁😁😁

  • @herzbube102
    @herzbube102 10 месяцев назад +15

    With this kind of sloppy requirements, the answer is: You can sell all 3000 bananas. 1) Load 1000 bananas on the camel. Go 0.9km and drop off all bananas. The camel hasn‘t eaten any banana yet because it hasn‘t gone 1 km yet. 2) Go back and fetch another 1000 bananas to the 0.9km mark. 3) Repeat 2. 4) Repeat 1-3 1109 times. Easy 😁.

    • @senjosama
      @senjosama 9 месяцев назад

      not really, when you go 0,1km back, the total is 1km so the camel needs to eat

    • @ExHyperion
      @ExHyperion 9 месяцев назад +2

      @@senjosamathen by this logic he shouldn’t have rounded 333.333 to 333 and the total number of bananas consumed from Q to P is 1000 not 999

    • @senjosama
      @senjosama 9 месяцев назад

      ​​​@@ExHyperion so at 4:27 he says that the kilometres cannot be fractional, we don't know why, but we can assume it is because of the kind of measurement you make. So if we assume this, you cant stop at 0,9km. If you could then his answer is wrong because you can travel 200km using 1000 bananas, then 333km +1/3km using another 1000 and you will be 1000-200-333-1/3=466 and 2/3 kilometres away from the market, so you only need 466 bananas leaving you with 534 that is one more then his. Also maybe you didnt notice, but in his calculation he leaves 1 banana at point Q

  • @uthoshantm
    @uthoshantm 4 года назад +20

    That's pretty much the problem you face with rockets, without the round trips. Carry more fuel to be able to carry more fuel to go higher.

    • @tomwojcik7896
      @tomwojcik7896 9 месяцев назад +10

      Yeah, and that's why we just invented a 3-stage Camel.

    • @BobfromSydney
      @BobfromSydney 8 месяцев назад +1

      When I first saw the question I immediately thought it resembled a rocket equation.

  • @coolermonkey3549
    @coolermonkey3549 4 года назад +97

    I’d find a closer market at this point

    • @reda29100
      @reda29100 4 года назад

      You see? Carrying from the next town 10,000 km away from us is cumbersome to say the least. So come there and help us load the cargo.

    • @dasguptaarup8684
      @dasguptaarup8684 3 года назад

      What I thought after getting zero as answer

  • @kianabadsantos2180
    @kianabadsantos2180 4 года назад +322

    Fun fact: There is no banana delivered in the market,because all of the bananas got spoiled

    • @tusharzala8035
      @tusharzala8035 4 года назад +8

      Yes the price is like 70 rupees per dozen now..

    • @Shashank_Anant
      @Shashank_Anant 4 года назад +1

      @@tusharzala8035 bloody dumbass when you don't know English its better to stay calmed than to open your mouth

    • @Shashank_Anant
      @Shashank_Anant 4 года назад +1

      @@tusharzala8035 also r/woosh

    • @tusharzala8035
      @tusharzala8035 4 года назад +15

      @@Shashank_Anant what's wrong with you?

    • @tusharzala8035
      @tusharzala8035 4 года назад +12

      @@Shashank_Anant 'it's' and 'calm' you got two words wrong there in a sentence.. Really?

  • @Valandar2
    @Valandar2 9 месяцев назад +16

    My answer is "I refuse to work for a company that bases its hiring practices on a ridiculous logic puzzle."

    • @beardymcbeardface69
      @beardymcbeardface69 8 месяцев назад +2

      These sorts of questions are asked to weed out the applicants who think the final answer is zero and then just leave it at that.

  • @volodymyrkorniichuk1164
    @volodymyrkorniichuk1164 3 года назад +9

    "Camel eats or consumes one banana for every kilometer" - however, we don't know at which point of this kilometer camel eats this banana. If camel eats banana before making first step of each kilometer - we can deliver 534 bananas and don't waste 1 banana at point q.

    • @oyuyuy
      @oyuyuy 9 месяцев назад +1

      Then the camel would weigh 1001 bananas and be overburdened, the legs would snap right off 🙄

    • @Jouzou87
      @Jouzou87 7 месяцев назад

      ​@@oyuyuy At point Q, you have the 1001 bananas. You feed one to the camel and load him with 1000. Now the camel needs only 466 bananas to get to the market.

  • @factsfirst7872
    @factsfirst7872 4 года назад +46

    I will sell that camel and buy a 2nd hand pick up truck . That's is more logical

    • @Y.VINDRAN
      @Y.VINDRAN 3 года назад +2

      And ask government to put a road.

    • @gunmun2005
      @gunmun2005 3 года назад

      🤣

  • @rajshreesahu4956
    @rajshreesahu4956 4 года назад +65

    During my interview for First American India , During the HR round this question was asked to me!!I approached but couldn't get it accurately!!Thank you for clearing my doubt!! 😍😍

    • @ranpicks3945
      @ranpicks3945 4 года назад +2

      U from which state in India

    • @ram1112233
      @ram1112233 4 года назад +6

      I wonder why they askef u this question unless the job requires great deal of logical and critical thinking.

    • @rajshreesahu4956
      @rajshreesahu4956 4 года назад +7

      @@ram1112233 They asked this question in HR round because I told the HR that my logical thinking is good!!And the job position was for the software engineer... And actually in HR'Ss and TR's some extra questions, out of the study syllabus is also asked!!

    • @rajshreesahu4956
      @rajshreesahu4956 4 года назад +1

      @@ranpicks3945 Odisha 😇

    • @ram1112233
      @ram1112233 4 года назад +1

      Rajshree Sahu
      Ok It makes sense.

  • @Jack-gc2yp
    @Jack-gc2yp 4 года назад +5

    What we learnt today...
    Camel🐪 eats Banana!🍌🍌🍌🍌😂🤣

    • @Viel_Glueck
      @Viel_Glueck 4 года назад

      And they are a one time use animal, as it can't come back to the farm.

  • @danik0011
    @danik0011 9 месяцев назад +6

    i assumed that i have an infinite amount of camels. my solution (using 3 camels) was to only walk forward, and redistribute bananas over 1 less camel once there's 2k or 1k bananas left, leaving 2 camels in the middle of a desert and carrying a total of 833 full bananas. let's see how (and if) its possible to optimize that

    • @mammutMK2
      @mammutMK2 8 месяцев назад

      Would make sense when the Profit of the additional 300 Bananas would make up for buying two new camels plus profit

    • @Arvensa
      @Arvensa 8 месяцев назад

      also any transactional and opportunity costs of seeking and purchasing additional camels instead of doing something else with your time and effort, and then dedicating those camels to this trip instead of another task
      (I'm also going to assume additional transactional costs for selling the camels at each staging point which represents a village that has sprung up at the optimal point between the edge of the viable banana-growth zone and the market in order to sustain the banana-transportation economy, in order to avoid the inhumanity of abandoning a living subservient entity in unsurvivable conditions (and potentially preserve the availability of domesticated camels). I haven't quite finished figuring out what else if anything must be true about additional economic/logistical factors in the economy to justify the upkeep of those villages given that the banana traders are only bringing in a single banana to only one of the two villages each cycle of the trade route. If these villages don't happen to already be at these points for simply being at bodies of water or something else external, there has to be some other reason or incentive for them to exist. Some of the banana merchants are able to amass more than 3000 bananas and there is some sort of cultural custom or economic arrangement that incentivizes them to sell or donate a significant amount of bananas to those villages? Perhaps it's a market saturation issue, where they prefer to sell to the final market on the route because it's more profitable per unit and/or willing to buy the largest bulk of product, but will still sell additional freight to the intermediary markets. Or perhaps the patron making it possible for them to amass more than 3000 bananas per cycle in the first place has done so in order to direct them to transport the bananas to the final market)

  • @nidhishpareek
    @nidhishpareek 4 года назад +53

    We can maximise the banana supply by using 3 camel as the no. of camel is not defined.
    We carry 1000 bananas on each initially, then after 334 (approximation) kilometres we shift the remaining 666 bananas from a camel to two others, making them to carry 1000 bananas. After they cover 500 km in this round they are left with 1000 bananas in total. The bananas are shifted on single camel which will carry 1000 bananas for remaining 266 kilometres. The bananas left at the end will be 734. This will be maximum no. of bananas that the dealer can supply to market.

    • @adamae.7246
      @adamae.7246 3 года назад +7

      The bananas left at the end would be actually 733, but I think it's clear enough that we have only one camel to work with.

    • @V7B817
      @V7B817 2 года назад +14

      Hey isn't 500 + 334 = 834 ? so 834 bananas will eventually remain

    • @AkashSingh-fw1sh
      @AkashSingh-fw1sh Год назад

      @@V7B817 yes

    • @RoyMatzem
      @RoyMatzem 10 месяцев назад +3

      We can also hire a truck to deliver the bananas and sell the camel to profit even more, the rules are too loose on the exercise😂

    • @GrandSupremeDaddyo
      @GrandSupremeDaddyo 10 месяцев назад +5

      But then your camels would starve on the return journey.

  • @Knipknip007
    @Knipknip007 4 года назад +57

    You take 3 camels since there is no specification of only 1 camel.
    3 camels pick up 3 x 1000 bananas. You walk with them 333.33 km the consumed 333.33 x 3 = 1000 bananas. Then you move up with 2 camels each carry 1000 bananas for 500 km. You then have consumed 500 x 2 =1000 bananas. You walked a total of 500+333 = 833 kilomters and still have 1 camel left with 1000 bananas. So u walk 166.33 and consume that many bananas. Wich leaves you with a whooping 833 bananas and 2 dead camels burried in the road. Can i be a senior yahoo employee now?

    • @tamrinkesambi2124
      @tamrinkesambi2124 4 года назад

      But it wrote 'camel' right?
      And the better answer is 2000 banana

    • @talimmak
      @talimmak 4 года назад +3

      Tamrin Kesambi the question does not state how many camels you can use

    • @sabilza
      @sabilza 4 года назад

      Minor correction, the camel only eats one banana every one kilometer. So there is no decimal.

    • @psilencer
      @psilencer 4 года назад +2

      If you listen to the video he says “a camel”.

    • @addy2895
      @addy2895 4 года назад

      No!! Will you just abandon your camels?? Thats a very great loss.....

  • @psilencer
    @psilencer 4 года назад +4

    Why is this so complicated, just have the camel bring 1000 to the market, then go back to the plantation and eat 2000 bananas for each of the kilometers it travelled. The problem doesn’t state that the camel needs to eat while it’s traveling, so it can just eat the 2000 before or after the trip. This is pretty standard when you go for a run you’d typically eat and drink before or after, not during.

    • @RyanMakhoul
      @RyanMakhoul 4 года назад +2

      Ever went for a 2000km run?

    • @MrLastlived
      @MrLastlived 4 года назад

      The problem does state that the camel is eating on the go. "Every Km the camel eats 1 banana" its an anagram for cash spent in logistics, I am transporting x cash of product, but the trip costs x cash to make. How do I make it cost y instead. Where y < x
      In logistics you do have to transport every single banana, the alternative being you don't sell product, and thus lose money on both product and logistical services.

  • @saltlakeatrocity9771
    @saltlakeatrocity9771 3 года назад +2

    Since time was a non-issue, couldn't you drop off 1000 bananas every 0.5 kilometer and keep going back-and-forth until all 3000 were moved 0.5 kilometer at a time, so there wouldn't be any bananas for the camel to eat by the time a given 1.0 kilometer benchmark was reached?

  • @brummelwummel
    @brummelwummel 4 года назад +72

    So no bananas are consumed by the camel for the backwards trips?

    • @aleyegros
      @aleyegros 4 года назад +11

      Camel consumes bananas on the way back. That is why it is 5X. (3 trips + 2 trips back)

    • @bobbob-fr1jc
      @bobbob-fr1jc 4 года назад +2

      aleyegros i assume hes talking about the way back

    • @BlueAristo
      @BlueAristo 4 года назад +15

      still need 1k to get back home....

    • @joeyratto6366
      @joeyratto6366 4 года назад +12

      @@BlueAristo that is why he sells the camel in town lol

    • @kshitijagrawal9206
      @kshitijagrawal9206 4 года назад +2

      camel can leave the banana at point B and then make backward trip.Nowhete in the question it mentioned that camel can't make trip without banana.

  • @yashnanda3427
    @yashnanda3427 4 года назад +125

    That was not logically solved , that was mathematically solved

    • @Bugoy_ADHD
      @Bugoy_ADHD 4 года назад +12

      Logic is just math in words...

    • @ryumtk2581
      @ryumtk2581 4 года назад +1

      Lol...this comment is trying to be a logic person...but failed

    • @emf4652
      @emf4652 4 года назад +16

      @@Bugoy_ADHD no it is not.
      Logic and mathematics are two different branches of philosophy.
      Very different.

    • @Zubair001able
      @Zubair001able 4 года назад +2

      NOOBDA GANG i solved it logically and got 500 banana's

    • @donkeytrump
      @donkeytrump 4 года назад

      @@Bugoy_ADHD No...Math is logic but advance

  • @Mayhamsdead
    @Mayhamsdead 9 месяцев назад +2

    1) The way the inital problem was phrased, it felt like the camel was a red haring, so the answer would have been 3000 bananas
    2) It's then rephrased to include "using camel only" - and we're advised to "think logically".
    The problem is, if you think logically, no fucking camel can eat that many banas without suffering from potasium poisoning and/diarrhea, even if you'd wilfully feed it one per kilometer.
    2b) Not to mention that, again: logically - an average camel's carrying capacity is closer to 280 or so Kilos, or roughly 600 pounds on the high end. An average banana weighs roughly 100 grams. So you need 10 for one kilo. If that's the case, you can just about fit all of the bananas on the camel in one go, skewing the results of the calculation, assuming what's shown on screen is accurate.
    2c) The problem with travel - distance and overall came speed/pace
    If we take into account all of the above, there are only two plausible scenarios:
    a) The camel is actually NOT needed; in which case all 3000 bananas can be delivered to the market.
    b) The camel is needed for the trip, but even with it consuming one banana per kilometer, and using multiple drop-points, ZERO bananas would reach the market, since bananas are notorious for their short shelf life (and they wouldn't realistically last the trip under assumed arid conditions - a climate in which camels are found).
    There's one more whacky thing you can do with this, if logic flies out the window:
    It's stated that the camel eats one banana per kilometer, but it's never mentioned to defecate.
    I'll let you figure that one out yourselves.

  • @raututriya5427
    @raututriya5427 4 года назад +8

    After reaching 1st point the camel will have 1000 bananas in its stomach , so it won't be able to carry any more bananas because the max weight it can carry is reached, on the camel or inside the camel, wherever it is, weight is weight 😀😁😂

  • @hlimthlalehatak9359
    @hlimthlalehatak9359 4 года назад +17

    Lol... First drop point is 200km... Camel will consume 1000 banana to travel back and forth 5 times..😂😂😂

  • @ravikalahasthi7006
    @ravikalahasthi7006 4 года назад +15

    Max. bananas than can be transported is
    a) Camel consumes in backward direction also: 534
    b) Camel does not consume in backward direction but camel travels at least 1km in any direction: 999
    c) Camel does not consume in backward direction but camel can travel any distance in any direction: 3000

    • @adamae.7246
      @adamae.7246 3 года назад

      a) 533
      b) 833
      And if the camel is allowed to eat fractions of banana each meter, a=533.333... and b=833.333... then also c=833.333...

    • @jiogcyihsugyiocjfdoivhphvw6821
      @jiogcyihsugyiocjfdoivhphvw6821 2 года назад

      incorrect. only a works

    • @RoyMatzem
      @RoyMatzem 10 месяцев назад

      e)3000. My goal is transport 3000 bananas, and since the problem doesnt limit my time, i can plant more bananas until i reach the goal.

  • @BusterBeachside
    @BusterBeachside 9 месяцев назад +3

    I thought the answer would be "just don't use the camel" or "shoot the camel and buy a new one which won't steal your bananas" 😂

  • @infinite_power7628
    @infinite_power7628 4 года назад +7

    Then you realize that having a camel eat your bananas is inefficient and you just drive a pickup truck instead

  • @ddian
    @ddian 4 года назад +15

    You can easily sell the camel instead.

  • @bradrx05
    @bradrx05 4 года назад +6

    This is why I never use camels... lol

  • @ShadwSonic
    @ShadwSonic 8 месяцев назад +17

    Interesting thing here: I did not think of setting midpoints at multiples of 1K Bananas, and instead just moved all possible ones for 1 kilometer, going back the one kilometer, and repeating. This, somehow, results in the _exact same answer._
    There are two differences in my scenario versus that in the video though: The video is putting you up to 333 KM away from some of your bananas at all times (but doesn't involve a bunch of turn-arounds), whereas mine makes it so you're never more than 1KM from all your bananas (at the cost of turning around almost all the time for half the trip).

    • @jensraab2902
      @jensraab2902 8 месяцев назад +2

      I just tried to replicate this in an Excel sheet. After I came up with a formula, I then copied it down all 1,000 rows - and came up 1 banana short! (I only get 532 bananas to the market.)
      Then checked what's going on and realized that at kilometer 533 I have 1,001 bananas but I send my camel back to fetch the 1 leftover banana, consuming 2 bananas on the way. _Not_ doing this one trip saves me 2 bananas (for the back and forth trip) but I have to sacrifice that 1 banana, so effectively adds one banana to the final count and thus I also get 533! 😀
      In short, I should have accounted for these situations where the camel would go back for only one banana and insert an if-then step into the formula but since this only occurs once, it's not worth it.
      Anyway, this is really interesting as it raises the question whether the individual trips can be set at an arbitrary length.
      I guess, it gets more complicated for trips greater than 1 km because these situations where the camel goes back for just one banana need to be avoided lest the sacrificed bananas accumulate.

    • @andreman2767
      @andreman2767 8 месяцев назад +1

      The reason of why those two are both correct solving in that fact, until first 1000 ends up all those 1 km movements will be the same (3 bananas per km), so all those same steps can be added to each other (e.g. multiplication)

    • @loltroll2
      @loltroll2 8 месяцев назад +4

      And with 0.9999km Trips, you get all the Bananas over :D

  • @SiddheshBagade
    @SiddheshBagade 3 года назад +2

    The right answer is to sell bananas online 😂😂

  • @viktor_zivojinovic
    @viktor_zivojinovic 4 года назад +33

    Answer is off by 1. You set Y to 333.3, but the camel will eat 333 bananas on the first trip, 333 on the second, and 334 on the third. Now you're 466.67km away from the end with 1000 bananas. The camel will only eat 466 bananas since it only eats at the 1km interval. Thus you can bring 1000 - 466 = 534 bananas.

    • @oyuyuy
      @oyuyuy 9 месяцев назад +2

      You're wrong. Y is 333km, because it can't be fractaled

    • @marcusgrant2625
      @marcusgrant2625 9 месяцев назад +1

      It's basically a semantical problem. As long as you don't account the 0.33 of a banana in it's stomach towards it's carrying capacity, there isn't a problem going 333.33km.
      Even if you did count this towards the carrying capacity, you would also need to feed the camel before each km, and not after each km.
      eating AFTER each full km would mean you never exceed capacity, as a 334th banana is ate from 1000 stock of the final 333.33km trip) 333+333+334=1000 consumed
      eating BEFORE each km you *would* actually get 533 bananas, but only because you need a full banana for the last 0.66km of the 466.66km trip, whereas eating after, you are able to get the 0.66km for "free"
      At the beginning (00:26) it is stated that "it eats one banana for every km it travels", to me this clearly means it only eats after the completion of a km.

    • @marcusgrant2625
      @marcusgrant2625 9 месяцев назад

      @@oyuyuy .

    • @viktor_zivojinovic
      @viktor_zivojinovic 9 месяцев назад +3

      ​@@oyuyuythe bananas can't be done in fractions in this problem, but the distance can. The camel isn't taking 1km long strides.

    • @metafishling
      @metafishling 9 месяцев назад

      ​@oyuyuy Of course, bananas can be fractional. Never shared a banana before? But that isn't relevant. It just means that the camel doesn't have to eat a banana every time it gets to point Q, which is fine. Nothing says that points P or Q have to also line up with camel feeding points. What if the camel ate 3 bananas every pi km travelled? That should make it obvious that the consumption rate of bananas does not have to line up with stopping points. Also, it is okay if it finishes the trip slightly hungry, so eating 1 banana every km vs something like 5 every 5 km makes a difference in how many bananas make it to market as well. So I agree that the correct answer is 534. Moving point Q unnecessarily to make it 1001 km away makes 533 suboptimal.

  • @nikhilnangia7896
    @nikhilnangia7896 4 года назад +6

    Here's an out of the box solution:
    At the starting point, feed the camel 1000 bananas. Now, it can travel 1000km.
    Then, load 1000 bananas on the camel. This way, the camel can carry 1000 bananas to the market.
    Prove me wrong.

    • @saikrishnatunuguntla2876
      @saikrishnatunuguntla2876 4 года назад

      Sure, just need a camel and 3000 bananas

    • @rogercline5377
      @rogercline5377 4 года назад +1

      Sure, just fuel that baby up and you're good to go.

    • @Sorya-gf7qw
      @Sorya-gf7qw 4 года назад

      Pal there is a limit of food one animal can eat at once

    • @rogercline5377
      @rogercline5377 4 года назад

      @@Sorya-gf7qw that wasn't addressed in the original question. And don't say "common sense" when we're talking about a camel that eats exactly 1 banana every mile it walks and nothing when it camps overnight.

    • @threegreencharms
      @threegreencharms 3 года назад +1

      Even better, feed him 2000 instead. That way you get your camel back to the plantation for free as a bonus, carry and sell the max load, and no bananas get left behind or spoil.

  • @lukasrogenmoser1691
    @lukasrogenmoser1691 3 года назад +2

    Feed 2000 Bananas at the start, then transport the 1000 left over bananas to the market and you will have enough energy to travel the 1000km back

  • @Sparky579
    @Sparky579 4 года назад +14

    Who's that guy.
    Somebody should donate him a truck

    • @reda29100
      @reda29100 4 года назад

      But at that point we would have no problem to solve, and that IS A PROBLEM! You bring problems with you wherever you go by not giving us problems to solve!

    • @Sparky579
      @Sparky579 4 года назад +2

      @@reda29100
      Ah! And I thought people still understand sense of humour

    • @reda29100
      @reda29100 4 года назад

      We need to SOLVE PROBLEMS!!!
      PROBLEMS!

    • @Sparky579
      @Sparky579 4 года назад +1

      So didn't I just solve the problem of banana wastage

  • @anonymousvendetta7902
    @anonymousvendetta7902 4 года назад +18

    That camel eat too much. Use a car then. Maximum 3000 guarenteed

    • @tankokhua7052
      @tankokhua7052 4 года назад +3

      Car will consume banana if it run out of oil.

    • @donkeytrump
      @donkeytrump 4 года назад +1

      @@tankokhua7052 do you mean gas?

    • @RJ-mj4sh
      @RJ-mj4sh 4 года назад

      @@donkeytrump fk it use bananas for the car XD

    • @jaygreen7494
      @jaygreen7494 4 года назад +2

      Problem is actually about concept of fuel fraction, which is very important for bulk shipping no matter what mode of transport is used

    • @alkinooskontopodias5919
      @alkinooskontopodias5919 4 года назад

      @@jaygreen7494 although is much more complicated because the more you carry, the more gas you consume per kilometer. The camel eats one ban/kilometer regardless how many she carries.

  • @anthonymartinez6875
    @anthonymartinez6875 4 года назад +9

    Simpler answer: DON'T use the camel and transport them yourself. The question DOES NOT SPECIFY that you are OBLIGATED to use the camel for the trip. In this way, no bananas are consumed and you would STILL transport all 3000 bananas.

    • @sotirists990
      @sotirists990 4 года назад

      It says "using camel only" with red bright letters. So youre kinda obligated...

    • @reda29100
      @reda29100 4 года назад

      Plus, say it that a human would travel 1 km without even consuming any foor or drink, for 1000 km straight! Let alone carrying 50 kg for a backpack.

    • @anthonymartinez6875
      @anthonymartinez6875 4 года назад +1

      The fact of the matter is it can still be done. Sure you'll need to eat and drink along the way, and it'll take forever to do, but who says you have to eat the bananas?? Who says you're going there with JUST bananas?? I could just eat something else. I can pack bananas (provided they won't squish or spoil). I just need enough space in a container that I can carry to do so. If it was done before without the camel, it just means you don't need it.
      Here's the flaw of the question and I will emphasize it again: the question DOES NOT SAY YOU MUST USE THE CAMEL IN THE ENTIRE TRANSPORT. Even if the question says you can only use the camel or says using only the camel, it does not mean that there isn't a better solution outside of the question's boundaries. Quite frankly, the people who joked about the trucks are way smarter than they give themselves credit for because they see that solutions like that exist outside the realm of the bounds.
      This is just all and all a bad interview question and should be omitted outright because the solution isn't a good solution if the question can be circumvented, and it doesn't even test a person's troubleshooting skills. I would personally never use this interview question.

    • @cooltaylor1015
      @cooltaylor1015 9 месяцев назад

      This is the correct answer.
      Sometimes, arbitrary rules are stupid and you must break them.
      That's what thinking outside the box is all about.
      This answer would get you the job with the delivery company

  • @ASHISHSINGH-ux3jl
    @ASHISHSINGH-ux3jl 4 года назад +2

    But how did you grow banana in desert?

  • @user-fh1mh2vc2e
    @user-fh1mh2vc2e 9 месяцев назад +16

    Per the rules of the puzzle... the camel takes loads of 1K bananas for trips of 0.99km. The camel never reaches the 1km = 1 banana point throughout the entire trip, so all 3000 bananas make it to market (eventually). 3,031 "trips" of 0.99km each

    • @jttech44
      @jttech44 9 месяцев назад +1

      This is the optimal answer given the stated goal.
      If they incorporated time into the problem, it wouldn't be, but, because you have infinite time, you can leverage that to produce the outcome you want. Recognizing an unlimited resource is important when considering these sorts of puzzles.

    • @shroomer3867
      @shroomer3867 8 месяцев назад

      That's what I would've answered and said, ok but assuming we can't do that, and then continue on with the puzzle.
      I got a different solution (I realize that I assumed that the camel doesn't eat on the way back because it isn't carrying anything, so it's probably wrong if you consider that the camel eats on the way back even if you aren't carrying anything)
      - The amount of bananas you have left after getting to an x amount of distance is: Amount = n - t*x (n is the amount of bananas, t is trips made and x is the distance traveled to)
      - Afterwards the distance remaining changes from 1000 to 1000-x
      - If Amount1 >= 2000 or x Amount1 >= 1000 or 333,33km < x 666,66km
      Ex: 800km
      Amount 1 = 3000 - 3*800 = 600 bananas at 800km
      Amount 2 = Amount1 - (1000 - x) = 600 - (1000 - 800) = 400 bananas at 1000km
      - If you go through the three options you would notice that if you try to maximize the value for all 3 cases:
      Case 1: x 999 - (1000 - 667) = 666 bananas at 1000km
      TL:DR;
      Thus in all three cases the maximum possible number of bananas delivered are 666 bananas. The differenece between them is that in case 1 has the most leftover bananas and case 3 the least.

  • @afelix
    @afelix 4 года назад +5

    You can actually bring 534 bananas. There are two ways:
    1. Overfeed the camel at the second drop point
    2. Leave the one banana behind and force the camel to die of starvation the moment it enters the market.

    • @siddharthraychaudhuri7250
      @siddharthraychaudhuri7250 4 года назад +1

      And I just thought, feed the camel 2000 bananas before starting. That gives it fuel for the whole 2000 km round trip.😂 Load the remaining 1000, go sell your stuff and comeback home. No worries!😆

  • @bitterstories418
    @bitterstories418 4 года назад +46

    Good question and nice solution. I thought it was impossible to transfer any, but didn't think intermediate points would multiply the output so much.

    • @basiliobastardo255
      @basiliobastardo255 2 года назад +2

      another decent comment... respect to you Rama

    • @BuceGar
      @BuceGar 9 месяцев назад +14

      Yeah, because they never state in the problem that you're allowed to do this. If you can introduce arbitrary information or conditions then you can resolve this problem an infinite number of ways. And you can't say it's common sense or intuitive because a camel can't carry 1,000 bananas due to their weight, and camels aren't powered by bananas. It's a stupid question.

    • @ArCgon
      @ArCgon 9 месяцев назад +5

      @@BuceGar Yes. The most illogical part of this supposedly logical puzzle is how the camel needs a banana every 1 km on the way to the market, but on the way back, it can travel even the whole 1000 km without eating a single one.
      I kind of expected that we forget about needing the food for camel at the very end, for the final trip home (guess we can pretend the seller sells his animal at the market, when he has no more bananas), but not that moving back and forth in the middle of solving the puzzle somehow requires bananas when going from A to B, but no when going from B to A.

    • @MrLateXD
      @MrLateXD 8 месяцев назад +1

      @@ArCgon You should perhaps watch the video again. You're right that there's no word of what's to happen after the camel reaches the market, and that's besides the point, but the camel does eat when it goes back to get more bananas.
      Here's a quick rundown of the trips from starting point to first waypoint:
      The distance to the first waypoint is 200 km, so the camel picks up 1000 bananas, eats 200 on the way to the checkpoint and another 200 on the way back. You're back at the starting point but you have 600 bananas already partway through. Repeat it and you have 1200. On the third trip you've emptied the starting point so you get to keep 800, leaving you at 2000, like stated.

    • @boltstrike2787
      @boltstrike2787 8 месяцев назад +1

      @@BuceGar This. Introducing a condition like this changes the nature of the problem and its solution, so it's important for the question to specify. Bad question design.

  • @tejasadake11
    @tejasadake11 4 года назад +6

    Sell the camel, buy a pick-up truck.

  • @kiranvootori8101
    @kiranvootori8101 3 года назад +14

    Did you notice that if the person realised that Camel will need to eat the bananas on the way back, after reaching point Q, he can take the remaining bananas and start his travel back. He will barely make it back home.

    • @oneoranota
      @oneoranota 9 месяцев назад +2

      Plot twist : the camel was never intended to make the way back :0

  • @universeboss1
    @universeboss1 4 года назад +15

    I would have sold that camel.

    • @yogeshmalviya6529
      @yogeshmalviya6529 4 года назад +1

      For that also you have to go to the market 😅

    • @afelix
      @afelix 4 года назад

      And lose 1000 bananas in the process

    • @xxvibraniumclaw7843
      @xxvibraniumclaw7843 3 года назад

      @@afelix lol 😂😂🤣🤣

  • @archwaldo
    @archwaldo 4 года назад +22

    So the camel consumes roughly 2500 out of the 3000 bananas every time the farmer sells his produce?
    The practice is inefficient overall... He should get a truck instead.

    • @abhishekgorana372
      @abhishekgorana372 4 года назад

      And also u can't take 🐫 to home 😂

    • @marvinkitfox3386
      @marvinkitfox3386 3 года назад +2

      Not every time, only on the first trip... Because camel is sold, or dies, or something,. But camel is NOT coming back on banana power!

    • @archwaldo
      @archwaldo 3 года назад +1

      @@marvinkitfox3386 sell the camel, keep the economy running XD

  • @manupriya9170
    @manupriya9170 4 года назад +3

    How on earth did banana grew in desert

  • @alias40anon
    @alias40anon 4 года назад +3

    If camels tend to eat most of the stuff they carry, the real optimum solution was to never domesticate them amd let them lin peace in the wild from the beginning 😁

  • @ajaydas515
    @ajaydas515 4 года назад +13

    These solution is worst man, It's Banana not Coconut it will be destroyed by your distance and time.....

    • @rushikadam4827
      @rushikadam4827 4 года назад +1

      Good point

    • @mohammadnisaar2179
      @mohammadnisaar2179 4 года назад +5

      You can cut it before it is ready to be harvested so that untill it gets delivered it will be ripe and ready...
      Also the solution in this video is lame AF 🤣

  • @emmatcr5783
    @emmatcr5783 4 года назад +6

    No wonder our agriculture industry is at loss. And you call it logic.😩

  • @carlinhos1107
    @carlinhos1107 4 года назад +3

    I think that the maximum number is infinite, because it said that you *want* to deliver 3000 bananas, not that you *have* 3000 bananas

  • @thephilosophyofhorror
    @thephilosophyofhorror 9 месяцев назад +12

    It's a nice puzzle, but the solution wasn't as generalized as I'd have liked. Isn't there a way to do it with calculus, even if it requires differential equations using max points and tied elements? And while it's nice to use intuition for the multiples of 1000, intuition isn't rigorous even if correct :) For the record, when I approached it I only thought of equal distance drop points (it's practical when there is no underlying plan), and so ended with the suboptimal 500 bananas (instead of the possible 533), by dropping (eg) 500 bananas at the 1/4 point, then dropping 250 bananas at the 2/4 point (and using 250 from the 1/4 point on your way back), then finishing the trip with using the 500 in the two points, thus ending with 500. But it wasn't generalized, just one case, obviously there could be others and of course it was suboptimal.

    • @robertmarr5664
      @robertmarr5664 9 месяцев назад +4

      Agree that assuming you are going to have 1000 bananas at the last drop point is to some extent assuming the conclusion. You need to prove that there isn't some benefit to be had by just "sacrificing" some bananas to some other consideration, and having, for example, a drop point with only 800 bananas that is over 200km closer to the destination.

    • @sneakyknight
      @sneakyknight 9 месяцев назад

      Here's how I would rigorize this solution (sketch):
      Claim 1: It never makes sense to leave bananas behind. (For example if you start with 3007 bananas, you can move the 3000 banana pile 1km forward instead of ditching the 7 bananas)
      2: Suppose we travel west to east. Then if I tell you how many times the camel travels eastbound over each spot X, then the total number of bananas you get in the end is the same regardless of the specific path taken.
      The total number of bananas traveling eastbound over X is > 1000n (n is an integer) and

    • @user-sg7rl8be1s
      @user-sg7rl8be1s 8 месяцев назад

      🤓

    • @Stratelier
      @Stratelier 8 месяцев назад

      Here's a few quick observations that might help analysis:
      - _You_ need to travel to market. This establishes a fixed minimum cost of 1000 bananas (one way). Any additional "roundtrips" (say, to carry some bananas to an intermediate drop point then return) will cost 2 bananas per km.

  • @krushngandhi835
    @krushngandhi835 4 года назад +8

    Camel can each 1000 bananas before beginning, so it can carry another 1000 to market.

    • @monolizm
      @monolizm 4 года назад

      Krushn Gandhi nice one. thats why this puzzle is mote suitable to the car and petrol consumption

  • @AdityaRaj-jp8mo
    @AdityaRaj-jp8mo 4 года назад +6

    I recently had Goldman Sachs interview for internship. I was asked 6 riddles overall and 5 of them were directly from your video and one was modification of one video. Billion times thank you !!
    This is the best channel in what it does!! Keep it up friend !!

  • @thomask8345
    @thomask8345 9 месяцев назад

    The camel seems to have Minion DNA. "Bananaaaaa!!!"

  • @scotthodgins7975
    @scotthodgins7975 9 месяцев назад +1

    My answer is "there would be no bananas delivered".
    Here is my reasoning: You are transporting a perishable food across a desert with a camel. The camel, at a rough guess travels at 10km/h meaning that it would take 100 hours of travel time one way only which would roughly work out to one month of actual time. 100hrs ÷ 24 and then subtract 8 hours for sleep. By that time all bananas will have gone bad.

  • @jamestimmons6838
    @jamestimmons6838 9 месяцев назад +4

    This problem requires that you sell the camel at the market, because you cannot get it home. It seems to me that pointing out this fact is much more important than determining the number of bananas you can get to market!

    • @jttech44
      @jttech44 9 месяцев назад

      That's not part of the problem. It says that the camel eats 1 per km, not that it has to in order to survive.

    • @Flexximilian
      @Flexximilian 8 месяцев назад

      ​@@jttech44No, you are phantasizing concessions that aren't provided. If it needs 1 banana / km travelled, then it will need 1000 bananas to get home from the market. Otherwise it would not have needed them on the return trips from the caches either, *obviously*. Otherwise it would be the first camel with an unidirectional eating habit. Without selling (or abandoning) the camel at the market, no bananas can be delivered this distance (and returning with the camel). In fact, even with the optimal solution, and no sale at the market the camel would die (or stop) 466 km from home, obviously.
      So the optimal solution is not to depart. Unless you intend to sell the camel along with the banans.

    • @jttech44
      @jttech44 8 месяцев назад

      @@Flexximilian my solution is within the bounds of the game. Don't hate the player, hate the game.

  • @smilingstarsomu975
    @smilingstarsomu975 4 года назад +3

    All of your videos are excellent bro. Mind blowing puzzles. How and where you got all these ideas bro

  • @niaraulianiar3216
    @niaraulianiar3216 4 года назад

    Baliknya unta kan juga makan.. Pantes yahoo bangkrut 😆😆😆😆

  • @adamb89
    @adamb89 9 месяцев назад +1

    Transporting bananas to a market 1000km away using camels? Instead of finding a closer market, or using a car? Sounds like something Yahoo would do.

  • @ajaykumargupta8504
    @ajaykumargupta8504 4 года назад +3

    You really explain complex problems in very simple and awesome way..
    Thanks

  • @darkstarvssuperstar7099
    @darkstarvssuperstar7099 4 года назад +7

    Answer: *ANIMAL ABUSE*

  • @kristoferscott3677
    @kristoferscott3677 4 года назад +2

    2 questions.
    What is the camel walking speed?
    Wouldn't the bananas be spoiled before the start of the second trip?

    • @MrLastlived
      @MrLastlived 4 года назад +2

      Camal comes with high tech refrigeration. Bananas will survive in camalfridge

    • @codylee1682
      @codylee1682 4 года назад +1

      But banana fridge consumes 2 bananas per km

  • @ambilir2925
    @ambilir2925 4 года назад +1

    Yeah banana plantation in desert!! Amazing

  • @RavenMobile
    @RavenMobile 9 месяцев назад +4

    Interesting puzzle. I never considered the possibility of dropping bananas along the way, so it didn't seem possible to me.

    • @taigenraine
      @taigenraine 9 месяцев назад +3

      It's possible only in math world. In real world, if the camel needs to eat a banana to travel 1km, then it dies on the way back from those short trip and you are out a camel as well as all the bananas.

    • @martrmbn
      @martrmbn 8 месяцев назад

      The puzzle fails to state that the camel only needs to eat bananas while carrying them, or that it only eats bananas while they are available and the plantation owner is somehow incapable of putting a muzzel on the camel

    • @mikespangler98
      @mikespangler98 8 месяцев назад

      I took three camels, and one the load was down to 2000 bananas put them all on two and cut the third loose.
      Once down to 1000 bananas put them all on the last camel and cut the other one loose.

    • @StuermischeTage
      @StuermischeTage 7 месяцев назад

      @@mikespangler98 The question constrains us to use 1 camel only. Otherwise your suggestion would indeed be more efficient, since it cuts down on the back&force travels.

  • @Not_Chen
    @Not_Chen 4 года назад +3

    just buy a truck ._.

  • @jasons8479
    @jasons8479 8 месяцев назад +1

    All I know is, that camel must really be bananas by now!

  • @dougjackson3410
    @dougjackson3410 11 месяцев назад +1

    So now the camel won't take him home because he has no bananas! I hope he can sell the camel for bus fare. 😂

  • @xwyl
    @xwyl 4 года назад +4

    That's why I prefer railway transit

  • @ijustlikethat
    @ijustlikethat 4 года назад +5

    This is a solution when least time is not a factor. Also, leaving banana in a desert for such long period???

    • @umerwarraich5657
      @umerwarraich5657 4 года назад

      time is not a factor cause you can't get any profit if u save time plus replace banana with potatoes etc.....hope u got my point

  • @justicejordan1636
    @justicejordan1636 4 года назад +2

    Smart but it's not good if your doing business 😂

  • @ThaFuzzwood
    @ThaFuzzwood 9 месяцев назад +1

    Not completely unambiguous. Nowhere was it mentioned you can use only 1 camel, nor does it mention you cannot discard a camel once "empty". I can transport 833 bananas using 3 camels, ditch one after 333.33 km (2000 bananas left), ditch the 2nd after 500 more km (833.33 km in total and 1000 bananas left), final trek using 1 camel holding 1000 bananas takes 167 extra banana, leaving me with 833 banana at the end.

  • @adityasrivastava2814
    @adityasrivastava2814 4 года назад +4

    My answer was zero😂😂

  • @roshandon3157
    @roshandon3157 4 года назад +13

    Didn't specify how many camels.
    So, for the first case let's take 2 camels travelling simultaneously.
    After each km they lose 1 banana.
    We'll transfer 1 banana in each km from the 2nd camel to the 1st.
    1st 🐫:- left with 1000 bananas in 500kms so delivers 500 bananas.
    2nd 🐫:- left with no bananas after 500km(let it die)...
    *Answer can vary*

    • @LOGICALLYYOURS
      @LOGICALLYYOURS  4 года назад +2

      By the way it was specified "You have a camel". Even with your assumption of two camels you are delivering only 500 bananas... which is less than what we achieved with one camel(533). I think the extra camel is not going to contribute anything in the final output that can be achieved with just one camel.

    • @roshandon3157
      @roshandon3157 4 года назад

      @@LOGICALLYYOURS see the last sentence - *Answer can vary* by taking more camels

    • @roshandon3157
      @roshandon3157 4 года назад

      Was it specified??

    • @roshandon3157
      @roshandon3157 4 года назад +2

      And this is not the correct answer. BTW it is just for understanding purposes... (I haven't gone with the question - took 2k bananas)

    • @LOGICALLYYOURS
      @LOGICALLYYOURS  4 года назад +3

      @@roshandon3157 I just calculated... with multiple camels, it can deliver more than 533. Thanks for bringing this point... we can later have another video with multiple camels.
      Here's a quick solution just to show that using two camels we can deliver more than 533.
      P.S. : I can further optimize it to get around 600... but I just wanted to quickly show this.
      Camel1 - Carries 1000 and travels 750 km.... we get 250 bananas at point P.
      Camel2 - For remaining 2000, it travels 333 km and manages to bring 1001 banans at point Q.
      Camel2 - From Q to P its (750-333)=417 km... so out of 1000 Camel 2 eats 417 and delivers 583 bananas to point P.
      Point P now has : (250+583) = 833 ... distance remaining to market is 250km...
      So, any camel can now travel carrying the remaining bananas and deliver 583 bananas to the market....
      Again I'd like to mention, that by shifting point P towards left a little, we can try to increase the output a bit more. I will calculate it and update later.

  • @parvindersingh
    @parvindersingh 4 года назад +1

    We can use 3 camels each carrying 1000 bananas, and at P point, transfer the bananas between camels and leave the empty camel there only. Finally, we'll be able to transfer more bananas to the destination.

  • @your_ashwin
    @your_ashwin 4 года назад

    For the first case (without drop points),
    If the camel carries 1k banana at a time and will eat 1 banana for 1 km,upto 1000km
    Then,we can feed the camel with a banana at the time of departure and then add 1000 bananas on top of the camel..
    That is,we are feeding 1 banana and then loading 1k bananas.
    So,the camel will start eating the loaded bananas only after travelling a kilometer. (It will not start eating from 0th km)
    So,finally,1 banana will be left over when the camel reaches its destination.

  • @yamansinha3586
    @yamansinha3586 4 года назад +4

    Bought 3k 🍌 to get profit and then lost 2.5k😂😂😂

  • @BRIJ1501
    @BRIJ1501 3 года назад +3

    Difficult to digest the fact that by having stoppage points & going back & forth, the total distance travelled by camel actually reduced. As actually it was about minimizing the travelled distance of camel.

    • @johndoe-yw7eb
      @johndoe-yw7eb 9 месяцев назад +2

      No, the total distance traveled by the camel is INCREASED, significantly. What’s increased is the number of bananas available for it to eat during the trip. The multiple trips make all 3000 available, not just the 1000 it can carry at one time.

  • @mike1024.
    @mike1024. 8 месяцев назад +1

    I've never heard of this channel, but this first experience wasn't the best one. Without any mention of being allowed to drop bananas and go back for more, the question was quickly answered as zero. It would have made a lot more sense had the idea of intermediate stops been included in the question! I feel like the solution was presented pretty well, but it wasn't fully justified. How do we know there isn't a way to get more bananas to the market if we make multiple trips from one intermediate point to the market? I'm not saying I believe there's a better answer, just that it's not justified.
    Edit: Reading some other comments, I see it also would have been helpful to include the fact that the camel must eat along the trip. But even then, you'll never get the camel back home. :-P

    • @Stratelier
      @Stratelier 8 месяцев назад

      Yeah, if you wanted to get the camel back home then your maximum trip distance out is 500km, and the camel will eat every banana you set out with.

  • @thatpersonthatguy
    @thatpersonthatguy 9 месяцев назад

    Well, I just made a quick and dirty layout.
    Go 1/4 of the way drop 500 go back
    (2000 at start
    500 @ 1/4)
    Pick up 1000 at start
    Grap 250 @ 1/4 going to middle drop 500 and I go to start picking up 250@1:4
    Now you are at the start with 1000- 0 @ 1:4- 500 @ 1:2
    I’m at 0:36 atm in the video but this is a quick and dirty 2 mins thinking solution so it’s definitely not the best but good enough for me.
    To finish you grab the remaining parts 1000 that are with you at the start and pick up the 500 in the center as you pass by. Leaving you with 500 @ the end.
    Like I said I didn’t get past 0:36 and only spent two minutes thinking this one out but.