P vs. NP - An Introduction

Поділитися
Вставка
  • Опубліковано 22 жов 2024

КОМЕНТАРІ • 206

  • @zoecarlibur
    @zoecarlibur 6 років тому +187

    The is the best explanation I ever heard on this topic.

    • @zithfrg
      @zithfrg 5 років тому +2

      Could not agree more!

  • @viniciusmartinez3537
    @viniciusmartinez3537 6 років тому +79

    I'm a CS student, your videos are helping me paint an intuitive picture of some of the the topics in my courses' syllabus. I find that most books lack that key part of understanding, being able to create intuitive models. I subbed. Great work!

  • @luke-da-duke
    @luke-da-duke 3 роки тому +16

    The clarity with which you're able to explain such complex topics is unbelievable.

  • @Joghurt2499
    @Joghurt2499 3 роки тому +12

    I've just passed my last uni math class so now I can finally enjoy math again without having anxiety

  • @diyasharma96
    @diyasharma96 4 роки тому +3

    Good lord. I was mesmerised by your ability to encapsulate an immensely complex subject in just a ten minute video. UNBELIEVABLE. Thank you!

  • @priyadarshianu
    @priyadarshianu 6 років тому +28

    finally! after 10 years of being introduced to this, I understand it. phewww....

  • @DudeWhoSaysDeez
    @DudeWhoSaysDeez 7 років тому +8

    Out of the 7 problems (that if you solve them you get a million dollars), i find p vs np to be the most interesting and most practical one that we should keep investigating

    • @schilduin
      @schilduin 6 років тому +2

      It's actually the most abstract one. Even if it is solved (and it may be that there is a proof that it's unsolvable), we probably won't be able to make a lot of use of the solution in real world applications.

    • @tzakl5556
      @tzakl5556 6 років тому +6

      The Rienman Hypothesis is also quite interesting

  • @vicmpen
    @vicmpen 5 років тому +28

    Hearing that some problems are impossible to solve, really got me down.

    • @happy_thinking
      @happy_thinking 4 роки тому +2

      According to whom? Some people a century ago decided that flight was impossible, today we are going to space. Lots of solutions are actually very simple once you know the answer.

    • @reicavera2235
      @reicavera2235 3 роки тому +2

      @@happy_thinking Its easy to prove the number of problems is bigger than the numbers of algorithms, which means there're problems with no solution.

    • @happy_thinking
      @happy_thinking 3 роки тому

      @@reicavera2235 I am not sure what you are saying? New algorithms are created every day so even if some problems have no solution now it doesn't mean they won't tommorow.
      I mean how many people just one hundered yeard ago could imagine they could travel the world in 11 hours or talk and see people on the other end of the planet?

    • @reicavera2235
      @reicavera2235 3 роки тому +2

      @@happy_thinking No. Its proven that undecidable problems exists and the halting problem is an example. Its impossible to make an algorithm decide if any algorithm will halt or loop forever because if such program exists we could make an algorithm that halt only if never halt(an contradiction).
      Short video about the halting problem : m.ua-cam.com/video/macM_MtS_w4/v-deo.html

    • @happy_thinking
      @happy_thinking 3 роки тому

      @@reicavera2235 I will assume that is correct. My point was more that with new technology come new solutions.
      For example it was impossible a hunded years ago to get in one hour from Europe to America because we didn't have planes.
      Today we do.
      So while this problem has no solution now it doesn't mean it won't forever.(Or maybe it will)

  • @MrHatoi
    @MrHatoi 6 років тому +125

    I knew it.
    The SAT is the hardest test in existence.

    • @patrickzwangi4285
      @patrickzwangi4285 6 років тому

      Rectification: the hardest in NP

    • @falquicao8331
      @falquicao8331 5 років тому +1

      Best move in chess is much harder

    • @hexa3389
      @hexa3389 4 роки тому +1

      Laughs in the IMO

    • @goat9629
      @goat9629 4 роки тому

      @@falquicao8331 the best atom to move to In football is even harder

  • @irlserver42
    @irlserver42 7 років тому +14

    Nice! Keep up the quality work, I always look forward to your vids.

  • @N7492
    @N7492 5 років тому +1

    Of the explanations of these complex topics, this is the best I've seen. Kudos to Cory.

  • @paulmin82
    @paulmin82 3 роки тому +2

    Amazing bro. Your videos are a work of art.

  • @Rannoch_
    @Rannoch_ 7 років тому +8

    You are the YT channel I wish I had started

  • @PvblivsAelivs
    @PvblivsAelivs 6 років тому +29

    If P were found to be equal to NP, it would cripple _all_ of cryptography. Most cryptographic algorithms rely on a secret key. But if finding that key were made no more difficult than checking to see if it worked, only the one-time pad would be spared.

    • @Stl71
      @Stl71 4 роки тому +1

      But first of all, you would get the prize of 1 mil. dollars.

    • @beclops
      @beclops 4 роки тому +5

      @@Stl71 The prize should be way more. You could revolutionize almost every industry with this discovery.

    • @mohancvp9723
      @mohancvp9723 2 місяці тому

      Yes, it is going to be P=NP.

    • @enzozbestetti5992
      @enzozbestetti5992 6 днів тому

      That is also true of Quantum Computers, so we should be working around that anyway

  • @want-diversecontent3887
    @want-diversecontent3887 7 років тому +7

    My method to solve jigsaw puzzles is to solve the corners first, then the edges, then the harder problem: the centers

    • @Kirmeins
      @Kirmeins 3 роки тому

      Great... now try that with a bunch of pieces that *may or may not* belong to the same puzzle in the same amount of time. Imagine just one piece doesn't belong to the puzzle - you *couldn't proof that* until that one piece is the last that's missing. That's a lot of time you just wasted - if only you had a faster method to decide if a piece belongs to the puzzle or not - without knowing which puzzle you're even looking at of course! ;)

  • @enzozbestetti5992
    @enzozbestetti5992 6 днів тому

    Okay so, there is a slight misconception about the Cook-Levin theorem here. This theorem states that SAT is NP-complete, which means it belongs to NP and is at least as hard as every other problem in NP. That doesn't mean it is "the hardest problem in NP", in fact it says nothing about how easy it is to come up with an algorithm to solve it. Rather what it does say is that every problem in NP can be polynomially reduced to SAT (read translated to) and be solved via that route. It is a subtle detail but an important one for consistency!

  • @tmahad5447
    @tmahad5447 3 місяці тому

    I am currently working on the SAT problem and its polynomial solution. So far i have made a huge progress

  • @Tee_eej
    @Tee_eej 7 років тому +1

    Great channel and video! Your production value is extremely high! Keep it up

  • @ahasdasetodu6304
    @ahasdasetodu6304 9 місяців тому

    What you described under hamiltonian path is actually an euler path, hamiltonian is such that every vertex (in this case city) is visited exactly once

  • @petermc164
    @petermc164 5 років тому

    This description is gold, please make more videos!!!

  • @StoneColdProfessor
    @StoneColdProfessor 4 роки тому +1

    Less than 3 seconds in and you've got a new subscriber. :)

  • @shubhamshinde3593
    @shubhamshinde3593 7 років тому +4

    I wish you were more active :( Your work is amazing!!

  • @noli-timere-crede-tantum
    @noli-timere-crede-tantum 3 роки тому

    Sounds like my parents explaining stuff to me in my childhood: makes the topic at hand sound profoundly complicated, but keeps using the words, "we just don't know."

  • @hkpatnaik
    @hkpatnaik 2 роки тому

    Best explanation of Big O in the whole you tube universe

  • @TheOscarJB
    @TheOscarJB 5 років тому

    thank you so much, I love your clean and simple animation, and also the elaboration

  • @kimwelch4652
    @kimwelch4652 Місяць тому

    The phrase “huge swathes of problems we once thought were hard would suddenly be easy,” suggests that P cannot be equal to NP just because the problems are not easy. That’s not a proof, but a reason for conjecture. The concern would be if proving “P not equal to NP” is an NP problem or an XP (EXPSPACE) problem, since a proof is essentially a verification.

  • @kevinpfeil4309
    @kevinpfeil4309 3 роки тому +1

    This is insane. Thank you

  • @MikiSiguriči1389
    @MikiSiguriči1389 2 роки тому

    great visual explanation, good job m8

  • @santiagolicea3814
    @santiagolicea3814 Рік тому

    What a great explanation man, this is great great content. Thank you so much!!

  • @stapler942
    @stapler942 4 роки тому +1

    What if Deep Thought could solve the Ultimate Question in polynomial time, but the answer can't be verified in less than exponential time without knowing the question? Does P become a superset of NP? Or does the universe simply get replaced by something more bizarre and inexplicable?

  • @Speak4Yourself2
    @Speak4Yourself2 Рік тому

    Outstanding video. Thanks a lot!

  • @011azr
    @011azr 6 років тому +1

    Whoa, this is so clear. Thanks!

  • @luizhenriqueamaralcosta629
    @luizhenriqueamaralcosta629 Місяць тому

    Best explanation video

  • @kiarrasierra7221
    @kiarrasierra7221 6 років тому +1

    I agree with this I am actually not a mathematical person what so ever but its taken me 20 minutes of research to understand this lol. But i think that if you had a "puzzle" to complete but didn't know anything about it to say that you could compete it is a past theory. I think in order to actually solve this question you would have to run analysis on every single thing in existence put different problems in different situations compare them against everything in existence and have infinite problem solving solutions to actually have an answer to P versus NP. I think if you focused on that you wouldn't have to worry about the past of knowing of this puzzle could be complete or not, because you would have your answer (with one of many tools that would give your problem the correct answer) in the puzzle situation you would have an infinite case of puzzles being solved by humans that would be uploaded to a software that would predict the out come due to the pattern of placing the puzzle, plus a scanner to scan every piece of puzzle to determine if all the pieces would match and make a puzzle to begin with. Look to the future before determining the past. But this is just one scenario, every thing in existence would have to go through that analysis.

  • @shivmahabeer9450
    @shivmahabeer9450 4 роки тому

    Wonderful work! Thank you.

  • @nainakoujala4545
    @nainakoujala4545 Рік тому

    This was an amazing video thank you sm!!

  • @ravindrawiguna8681
    @ravindrawiguna8681 5 років тому +1

    If problems that exist in p is also in np, and everything that exits in np can be turned into SAT problem, then problem in p can be turned into SAT problem (p =np=sat?) Therefore we can easly solve the problem and verified it right? Idk man, the logic just stumble upon me while watching the video. So like if that the case, if we can somehow generalize the algorithm that we use to solve the P turned SAT problem, maybe it can work on other np problem?

  • @pycat141
    @pycat141 2 роки тому

    Thank You, sir!

  • @msbalzgiip7365
    @msbalzgiip7365 5 років тому +2

    6:30 The game of checkers has been already solved by computers. Is it still classified as being in the EXPTIME category?

    • @ir2001
      @ir2001 4 роки тому +1

      MsBal ZgIip Solving it from scratch is considered to be EXPTIME but once we have the solution it's simply CONSTANT TIME because we can use hashing

    • @msbalzgiip7365
      @msbalzgiip7365 4 роки тому +1

      @@ir2001 Thank you for explaining it!

  • @MariaFlorenciay
    @MariaFlorenciay 5 років тому +1

    Very nice tutorial!! well done!

  • @GustavoBordieri
    @GustavoBordieri 7 років тому +1

    Great stuff, keep up the good work!

  • @AmirAli-gv7kn
    @AmirAli-gv7kn 5 років тому +2

    So, exptime is basically NP Hard?

  • @quosswimblik4489
    @quosswimblik4489 3 роки тому +1

    My understanding of P vs NP
    say your computer has one core that does 1 operation per cycle and you could do 1000000000 of these operations per second.
    now say you want to say do an algorithm on two numbers.
    Lets say your algorithm took 12 of your compute operations per digit as your algorithm operated though all the digits.
    Then to find the maximum amount of compute operations your code is running up, simplify the Issue and say that 12 is flat because it doesn’t increase with digit size. As digit size of the inputs goes up the complexity of the problem is the digit length of the two inputs or in other words O Log[n] in terms of its complexity with n being your input number and Log[n] being your digit length.
    Such an algorithm can handle big inputs on a modern computer and spit out a result very quickly.
    How ever if a problem was O n or O n^2 and n was your number of inputs. then on a modern computer it would be able to handle about 10 000 to 10000000 inputs this is what is meant by P time.
    Solving sudoku for any given grid size is in NP complete time this means that if you could work with all possible algorithms at once you would find a P time solution but you would possibly need this type of theoretical machine to achieve it that’s the real question can we find a universal P time solution to such problems or are we stuck with exp time solutions like O 2^n.
    Note. saying it's quick to verify a correct solution is the same thing as the nondeterministic P time computer being able to determine a P time solution.

  • @dscmtr686
    @dscmtr686 4 роки тому +1

    But wait. SAT is most common problem for using reductions. Sombody (you mentioned) proved that SAT is NP-Complete problem, that means at least as hard as all problems in NP class. However in reductions, you are reducing FROM SAT to other problem, which we want to prove is NP-complete. That means other problem is NOT EASIER than SAT. So why idea that SAT is the hardest one? Where did you find this information? I don't understand.

  • @faryedeltayesh3352
    @faryedeltayesh3352 7 років тому

    Excellent job

  • @ashishshinde7996
    @ashishshinde7996 4 роки тому

    Hi Cory and others reading this, Please see Hacker Dashery says Efficient Markets is NP complexity and if 1 class collapses others can be solved. Now I have a solution for EM=P , my algorithm is RAAC (Business Model atm) but if you look at it objectively it is an algorithm which will help us lay foundations for Unified Market. My angle to P=NP is economics right now as economic freedom for all entities is my struggle. In complexity zoo of commodities for wealth generation, I have added a new, Physical robots as they are a passive wealth generation tool. Please help also see the concept of positive feedback loop. RAAC is same with increased complexity.
    Regards
    Ashish

  • @prashantshinde5083
    @prashantshinde5083 7 років тому +1

    Keep up . You deserve more suscribers. Such a boring concept and you made it so much interesting.

  • @tomstaite6487
    @tomstaite6487 6 років тому

    Great introduction, thanks!

  • @huzaifafarooq9130
    @huzaifafarooq9130 3 роки тому

    Awesome video

  • @omerfc1
    @omerfc1 7 років тому +1

    Yet another great video!

  • @davidjpfeiffer
    @davidjpfeiffer 7 років тому

    Keep up the great work! Your videos are great!

  • @onurcanisler
    @onurcanisler 3 роки тому

    *HATS OFF.*

  • @oliver_siegel
    @oliver_siegel 3 роки тому

    Great video!

  • @aryaparvizi8755
    @aryaparvizi8755 2 роки тому

    great video.

  • @the_anuragsrivastava
    @the_anuragsrivastava 4 роки тому

    Nice explanation... thank you

  • @patrickperot6296
    @patrickperot6296 8 місяців тому

    Aren't NPs just a combination of Ps (whether a basic combination or a complex one)?

  • @elliottesponda2802
    @elliottesponda2802 5 років тому

    The halting problem is semi-decidable. The complement of the halting problem is udecidable.

  • @fungus4898
    @fungus4898 4 роки тому +2

    When you are studying calculus and python with this p vs np problem your life will become a problem.

  • @TheSaa94
    @TheSaa94 4 роки тому

    amazing video, thank you!!

  • @addisalemwudu275
    @addisalemwudu275 2 роки тому

    what does it mean by polynomial time algorithm?

  • @rocky_wang
    @rocky_wang 2 роки тому

    Is getting full score in SAT (Scholastic Assessment Test) an SAT (as defined in this video) problem?

    • @nrwchd
      @nrwchd Рік тому

      [sat]isfiability problem, math like take three letters like sine, cosine, and tangent became sin, cos, and tan.

  • @RetroGamingClashOfClans
    @RetroGamingClashOfClans 6 років тому +8

    I can prove P = NP as I have solved the traveling salesman problem
    JK but I'm working on it

    • @einemailadressenbesitzerei8816
      @einemailadressenbesitzerei8816 6 років тому

      i dont think that there is an algorithm of any NP-complete problem that brakes down complexity to polinominal time without any approximation or heuristic. I think you should focus on how to prove that there will never be an algorithm to solve any NP-Problem in polinomiel time.

    • @northamericalife3769
      @northamericalife3769 6 років тому

      me too: vixra.org/abs/1805.0399

    • @einemailadressenbesitzerei8816
      @einemailadressenbesitzerei8816 5 років тому

      @@northamericalife3769 why not publish it on arxiv.org?

    • @northamericalife3769
      @northamericalife3769 5 років тому

      @@einemailadressenbesitzerei8816 They don't publish if you don't work at any University or similar institution

  • @blaisereints9488
    @blaisereints9488 6 років тому

    Great Video. Very helpful

  • @WorldOfPersianDoc
    @WorldOfPersianDoc 3 роки тому

    Is game of life in NP? CAuse at 2:23 I saw you put it in P.

  • @yourkingdomcomeyourwillbedone
    @yourkingdomcomeyourwillbedone 5 років тому

    Couldn't we create an algorithm for solving jigsaw puzzles by mimicking the way that we naturally solve them? i.e - piecing together individual parts to form 'chunks' until those 'chunks' resemble larger pieces of the complete picture?

  • @DannyPhantumm
    @DannyPhantumm 5 років тому +1

    In the future, you could use the word "inside" instead of "in" when you're talking about a location/classification.
    For example, say "Sorting is inside of P" instead of saying "Sorting is in P", which obviously could be confusing.

  • @thegnat2955
    @thegnat2955 6 років тому +1

    Jigsaw puzzles are in P; start with a corner piece and iteratively find the next piece by running through all the pieces and finding whether one fits in some orientation. If none do, the puzzle is impossible. This is quadratic time. Aside from that, nice explanation.

    • @docrun3516
      @docrun3516 5 років тому +3

      Nah lets say u find the piece. Then again you would have to find the next piece in n-1 times and so on. The worst case would always be the last piece found if im thinking correctly, thr worst case scenario is O(n!) Or sth like that, which gets huge

    • @WhoForgot2Flush
      @WhoForgot2Flush 5 років тому

      That sounds like an exponentiation function to me....

  • @temisegun8631
    @temisegun8631 6 років тому +1

    thank you thank you thank you!!!!

  • @ritulritul2312
    @ritulritul2312 6 років тому

    really cool animations ! :D

  • @albertnoub371
    @albertnoub371 4 роки тому

    thanks your video has been productive

  • @jeremiahmullikin
    @jeremiahmullikin 6 років тому +2

    An algorithm for intuition can fix this.

  • @Rime_24
    @Rime_24 24 дні тому

    Why would solving a Rubik's cube be a np problem?

  • @gerry7457
    @gerry7457 4 роки тому

    Just a shot in the dark, sort of speak. Using sound waves at the atomic level at different temps to verify different answers/solutions.
    Meaning if the tone/wave is duplicated and returns without any variances it would conclude/confirm the input is correct. Example; If you want to break a wine glass with a pitch voice; you must replicate the same tone the wine glass resonates. Sound waves can be measured at any levels - electro-magnetic. Anything repeating can be measure in terms of frequency. I'm losing myself here but it would be constant in a construct that is self contained in controlled environment. Eventually, a day will come it will be the inventors, philosophers, the out box thinker will be the genius' as everything will reversed engineered with the "idea". That poses another problem with that kind of power.
    My favorite phrase is; You cannot have something out nothing or nothing out something.

  • @zaidsserubogo261
    @zaidsserubogo261 5 років тому

    Where easiness becomes difficult and vise- vasa; It also bothers my mind if one starts addressing P verses NP problem from secondary point of view (which lands us into complication but not complexity) but not from the first principle of computer complexity. There goes..... 1-are there problems which a computer can solve and those which it can not solve as well as verify the answer?
    2- how do we get to the answer for the first question? computers solve real and imaginary problems logically and mathematically.
    3- mathematical problems fall under P and logical problems fall under NP.
    4- what about the complexity of logical language in evaluating and deciding on real and imaginary problems?
    5- the answer to logical complexity help us know the type of problems solvable and verifiable by a Computer since logical systems reduce to mathematical systems and mathematical systems are produced by logical systems
    6-can this math-logical reduction and production relation run in polynomial time?
    7- the rest goes as bra bra bra justifications where this complications are simplified inform of complexity
    .
    .
    .
    Etc

  • @NightyWriter
    @NightyWriter 2 роки тому

    At 3m36 there seems to be a reference to TED video/talk. Has anyone found this video? Thanks!

  • @Yamikaiba123
    @Yamikaiba123 2 роки тому

    You have a mistake, it seems to me, under 4 minutes in.
    Checking whether or not the puzzle is solved is not done in polynomial time. It's in linear time.
    Time to check = (time to verify a piece's connections)(number of pieces in the puzzle)
    You showed this earlier in the video.
    Though, maybe linear time is a type of polynomial time?

    • @TomasAragorn
      @TomasAragorn Рік тому

      Linear functions are polynomial, so linear time is polynomial time

  • @UUTUUH
    @UUTUUH 5 років тому

    This is amazing!

  • @Yamikaiba123
    @Yamikaiba123 2 роки тому

    SAT does not necessarily exist, I feel.
    Can you not have some NP problems that are irreconcilable with each other and hence cannot be solved by a common algorithm?

  • @TheGargalon
    @TheGargalon 6 років тому

    How can you mathematically prove/disprove something as abstract as P=NP? What does the equation even mean? Is there complexity hidden behind the P and NP letters? I'm no math expert, just curious.

    • @SmileyMPV
      @SmileyMPV 6 років тому

      saltychicken1 The question is formally defined in mathematical terms with the help of turing machines.

    • @theultimatereductionist7592
      @theultimatereductionist7592 6 років тому

      Proving P=NP would involve finding an algorithm that solves all problems in NP in polynomial time in N, the size of the problem.
      Proving P!=NP would imply proving no such algorithm could exist.

    • @avianbirds
      @avianbirds 5 років тому +1

      P and NP are mathematical sets, not algebraic variables.

  •  4 роки тому +1

    "Before we get too crazy..". Too late.

  • @ahmedifhaam7266
    @ahmedifhaam7266 2 роки тому

    what do you mean by poly time

  • @REDDEADANDGTACLUB
    @REDDEADANDGTACLUB 5 років тому +1

    I think you've confused Hamiltonian path with Euler's path.

    • @darrenb
      @darrenb 4 роки тому

      REDDEADANDGTACLUB I clocked that too, Euler Tours (paths and cycles) being the subject of my BSc thesis; Hamiltonian Path problem is about vertex visitation once and not specifically about edge traversal once, although that emerges by necessity

  • @juanlinde9028
    @juanlinde9028 4 роки тому +1

    + 1 for Sacred Heart reference

  • @skyatianlan2356
    @skyatianlan2356 6 років тому

    Thanks, subscribed

  • @JiffyDealer
    @JiffyDealer 2 роки тому

    This sounds like problems are best described as a spectrum.

  • @csanadtemesvari9251
    @csanadtemesvari9251 6 років тому +1

    0:56 a number's GCD? Hello?

  • @toothfairy5352
    @toothfairy5352 Рік тому +1

    What is SAT?

  • @anilmudgal4405
    @anilmudgal4405 5 років тому

    good job

  • @misstori1437
    @misstori1437 2 роки тому

    Count the number of pieces in direct reference to the number it is supposed to have

    • @adityamishra7711
      @adityamishra7711 2 роки тому

      Offcourse, it should have that many pieces, the question is about the algorithm, which piece to take first, how or where to put.... which to take next.. irrespective of the picture the no. of pieces depict when solved....
      So, you finally kinda believe that its impossible to join the pieces correctly such that it matches the picture without looking at the picture in the first place...
      But that's just a belief, maybe there is way after all... till today no one has found any such way....
      The million dollar question thus simply asks if there even is a way...
      If yes then , p = np
      Else, p != np
      So if you can solves any puzzle without looking at the picture or the part of the picture each piece depict , i.e. only by the shape of the pieces then .... congrats you become a legend...
      But i hope you can see how a majority of the greatest minds in computer science believe the other way round...
      The frustrating thing is that our current mathematical tools are just not sufficient to prove it rigorously.....

  • @arghyamitra3281
    @arghyamitra3281 6 років тому

    jst awsmmmmm

  • @Mu_Lambda_Theta
    @Mu_Lambda_Theta 5 років тому

    If SAT being easy is such a difficult question, then why don't we feed instances of SAT to the masses.
    Release a game that boils down to SAT, even better: Do it with a VIDEO GAME!
    Oh wait, that has already been done with almost all games.
    But I mean in a more direct way, just packaged slightly so that it is not "(a+b)*(!a+b) Is this solvable?" but also not in a way that it is so highly packaged.
    Maybe throwing more multiple engaged minds at the problem will lead to some insights, or at least give us a small hint.

  • @Hedning1390
    @Hedning1390 6 років тому

    Someone wasn't very smart when they defined and named P and NP problems. Basically what the venn diagrams are saying is that all P problems are also NP problems, so then saying that a problem is NP tells you pretty much nothing. Instead to convey information you need to say that a problem is "not P". However this is not how the term is used. Saying that a problem is NP is every time I've heard it meant to say that it is hard, or not p. This is especially confusing because it is easy to think n stands for "non" as in "non-p" which is the opposite of the definition.

    • @shouryap
      @shouryap 6 років тому

      The name comes from Non-deterministic Turing Machines. The definition in the video is not the "first" definition of NP.

  • @FishSticker
    @FishSticker Місяць тому

    7:26 "if P Diddy"

  • @RipleySawzen
    @RipleySawzen 2 роки тому

    1:51 There's no way a puzzle is O(4^n*n!). I found an easy upper limit of 6n^2.

  • @zal2448
    @zal2448 4 роки тому +1

    Lets say i have 2 apples
    Therefore P=NP

  • @lancewilliamcatal6870
    @lancewilliamcatal6870 3 роки тому

    My gosh. So this is what happens when I play Ticket to Ride.

  • @이잉-k9h
    @이잉-k9h 5 років тому +46

    If N=1
    P=NP

    • @georgiepentch
      @georgiepentch 5 років тому +4

      Or if P=0

    • @misnik1986
      @misnik1986 4 роки тому

      you have just one one million dollars hhh

    • @cyrushyram5673
      @cyrushyram5673 4 роки тому

      Its a yes or no question

    • @dscmtr686
      @dscmtr686 4 роки тому +1

      These are sets. Why this answer is liked so much xd it's stupid to even joke like that.

  • @bakedutah8411
    @bakedutah8411 5 років тому

    1:51 Why exactly is jigsaw O(4^n . n!) and not just O(n!) ?

    • @TheSpongbob27
      @TheSpongbob27 5 років тому +1

      rotating a piece

    • @bakedutah8411
      @bakedutah8411 5 років тому

      13LAk_vviDoW, you’re right. Thx. I’m probably doing overly simple jigsaw puzzles 😬

  • @AniketSingh-dy8gq
    @AniketSingh-dy8gq Рік тому +1

    Mein hu Don mein hu don

  • @want-diversecontent3887
    @want-diversecontent3887 5 років тому

    What is EXPSPACE?