1000 Wine bottles Interview puzzle

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ม.ค. 2025

ความคิดเห็น •

  • @optimalsolutions101
    @optimalsolutions101  ปีที่แล้ว +1

    Thank you, everyone, for the love ❤Check out another puzzle that is my all-time favorite: th-cam.com/video/F_TuLe1EA8g/w-d-xo.html

    • @jumpjump-oz2pr
      @jumpjump-oz2pr ปีที่แล้ว +1

      Seem a bit to easy let make it 48 hour

  • @abhireshray8331
    @abhireshray8331 10 หลายเดือนก่อน +1

    good work dude, nicely explained

  • @TriangularCarme
    @TriangularCarme 2 ปีที่แล้ว +5

    Mind blowing

  • @profgray
    @profgray 5 หลายเดือนก่อน

    This is best explanation so far that visualize it

  • @abdulghaffarkhanmiankhail6747
    @abdulghaffarkhanmiankhail6747 2 ปีที่แล้ว +1

    Let's start the party after posing 10 prisoners.

  • @nabanitamajumder6652
    @nabanitamajumder6652 2 ปีที่แล้ว +1

    Awesome explanation..! 😀

  • @nirojgamal7298
    @nirojgamal7298 ปีที่แล้ว +1

    There is mistake in bottle 3:26 both drank

    • @optimalsolutions101
      @optimalsolutions101  ปีที่แล้ว +1

      Prisoners will only drink if bit at their position is 1. For the first bottle, it is 0 0, so neither of the prisoners drank.

  • @Ustad_ki_boli
    @Ustad_ki_boli 8 หลายเดือนก่อน

    Wow ! Optimum solution 😊

  • @lakshitatiwari2921
    @lakshitatiwari2921 2 ปีที่แล้ว +1

    Superb

  • @kuntalgarai220
    @kuntalgarai220 ปีที่แล้ว

    Thank you vai 🙏❤️❤️❤️

  • @gerantdev
    @gerantdev 2 ปีที่แล้ว +1

    amazing👍👍

  • @sr6424
    @sr6424 8 หลายเดือนก่อน

    One question. How much out of every bottle needs to be drunk? Example - every other test will involve a sample from bottle 1. Hence 500 samples will be taken from that bottle! If each sample is 2ml then the whole bottle will be empty. Hence the party won’t go ahead!

    • @optimalsolutions101
      @optimalsolutions101  8 หลายเดือนก่อน +1

      These kinds of puzzles come with some ideal assumptions. In this particular puzzle, any amount of poison will kill a person, so in the context of the puzzle, taking out a drop of wine and diluting it into a bucket for tasting will still be effective.

  • @YashrajGadiya-o5d
    @YashrajGadiya-o5d 3 หลายเดือนก่อน

    Prisoner go the finest alcohol😅😂😂😂

  • @3head6arm
    @3head6arm ปีที่แล้ว +1

    thankiu so much

  • @pravinvarak999
    @pravinvarak999 9 หลายเดือนก่อน

    How do we find 3 poisonous bottle?

    • @optimalsolutions101
      @optimalsolutions101  9 หลายเดือนก่อน

      Minimum 2 prisioner would be required under same constraint.
      Bottle A, B and C,
      Prisioner PA and PB,
      -- Distribution --
      Bottle A - PA will drink
      Bottle B - PB will drink
      Bottle C - Both PA and PB will drink.
      -- After 24 hour --
      PA died -> Bottle A has poison
      PB died -> Bottle B has poison
      Both PA and PB died -> Bottle C has poison

    • @pravinvarak999
      @pravinvarak999 9 หลายเดือนก่อน

      Thank you for your reply. ❤
      But my assignment is, there are 3 poisonous bottle in kings 1000 wine bottles. N I need to write a algorithm which will find 3 poisonous bottle at same time. Please help

  • @d.evil__
    @d.evil__ 7 หลายเดือนก่อน

    But B is also test 1 no. and 3 no. bottle 🤔 how to get which one is poison one plzz solved ❤

    • @optimalsolutions101
      @optimalsolutions101  7 หลายเดือนก่อน

      But you also have prisoner A taking part in the test, If A and B both died -> Bottle 3 has poison. If only B died -> Bottle 1 has poison.

    • @d.evil__
      @d.evil__ 7 หลายเดือนก่อน

      @@optimalsolutions101 thanks for explaning

  • @MayankGupta-gr2rt
    @MayankGupta-gr2rt ปีที่แล้ว +4

    Ye toh truth table he

    • @optimalsolutions101
      @optimalsolutions101  ปีที่แล้ว

      Truth Table is used to perform logical operations, How TT is filled is similar to writing binary numbers shown in this video.

  • @macow1
    @macow1 3 หลายเดือนก่อน

    Last Round, E Can Drink 1 bottle So In 24 Hr .....The Poison Stars.......
    But E Also Drink 1,3,5 32 bottle which one has poison........(Poison starta after 24 hrs.)

    • @optimalsolutions101
      @optimalsolutions101  3 หลายเดือนก่อน

      E will die after 24 hours if any of the given bottles had poison. Looking at E alone will not reveal the poisonous bottle; for that, we need to see who else also died with E. For example, if Bottle 3 has poison, D will also die with E.
      It is a bit easier to understand from the perspective of the bottles.

  • @rajone10
    @rajone10 ปีที่แล้ว +1

    10

  • @NithinTHEHELL
    @NithinTHEHELL 2 หลายเดือนก่อน

    man improve phase of videos its so unnecessary slow

    • @optimalsolutions101
      @optimalsolutions101  2 หลายเดือนก่อน

      Appreciate the feedback. Meanwhile you can use 2X speed to watch it.

    • @NithinTHEHELL
      @NithinTHEHELL 2 หลายเดือนก่อน

      @@optimalsolutions101 i was just giving positive feedback , no need to be offended