Recitation 23: Computational Complexity

Поділитися
Вставка
  • Опубліковано 8 лют 2025

КОМЕНТАРІ • 29

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

    0:20 - 32:10 classification of problems (P, NP, NP-complete, EXP, R, undecidable problems => e.g. "halting problem")
    32:10 - 45:20 k-SAT problem (2-SAT is polynomial, 3-SAT is NP complete, all k-SAT for k > 3 can be reduced to 3-SAT)
    45:20 - 47:12 emphasis on reduction technique

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

    19:13 Victor speaks the truth

  • @jackjackson7537
    @jackjackson7537 8 років тому +18

    Why they give Victor the tiny chalk?

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

    Its really a meta/self referential issue at some point. Given a really hard problem, decided if it's solvable before you solve it. Doesn't really make sense.

  • @BarbaronaGianni
    @BarbaronaGianni 12 років тому

    the number of variables in the logical expression does not matter? (i.e., if there is an x sub 5 instead of just up to x sub 4 as in the example here).

  • @kamran14march
    @kamran14march 9 років тому +1

    I don't understand when he was discussing about that problem on job interview. Was he really trying to say that if you get a problem reduced to an NP-Complete problem try other reductions to reduce it to a P problem because that would be impossible given P is not equal to NP

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

      If you're talking about in the beginning of the video, the halting problem, he says its okay to laugh because you can mathematically (logically, really) that there is no algorithm to solve the halting problem. If someone asks you to solve it and says there is a solution, ask them what it is, because in order for them to have solved it, they would have to literally break the laws of logic.
      As far as reductions go, if you get a problem you cant find a polynomial time algorithm for, try reducing it to an NP complete problem (in polynomial time). If you can do that, you can goto your employer and tell them something along the lines of "I cant solve it, but no one can, and I can prove it". If your employer argues with you and provides a solution, run off with it and get that sweet million dollar prize for proving P=NP.
      Also, most importantly of all, as of 2016, no one knows whether P=NP or not. People *think* P

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

    what does his tshit means?

  • @Dominic_Muller
    @Dominic_Muller 10 років тому

    This coin-flipping analogy is not helpful. Isn't it the case that if I get "lucky" I can find a winning strategy in chess? The general solution to chess is in R, so there is a solution, therefore, successive lucky coin flips will yield the correct solution. Why do they keep saying it requires some "magical machine"?

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

      Because the "magical machine" would need to guarantee that each "coin flip" lands on the right face which is theoretically impossible because the face it lands on is probabilistic. It's like saying " what are the odds you *always* randomly pick the optimal move in chess" which, for practical purposes, are essentially 0.

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

    Ned's declassified school survival guide

  • @veloxsouth
    @veloxsouth 11 років тому

    He really should have plainly said to this poor student that you can tell if special programs will ever terminate but it's impossible to solve the halting problem for every program.

    • @jackjackson7537
      @jackjackson7537 8 років тому

      She's not that poor. Ive had worse lectures. I would love to have this guy as a teacher at my school.

  • @ImagineCup2010
    @ImagineCup2010 12 років тому +4

    hahahah, love the shirt!

  • @SasukeUchiha-ts4on
    @SasukeUchiha-ts4on Місяць тому

    The guys wearing 1337 shirt 😮

  • @geekoist
    @geekoist 11 років тому

    I like it when he goes "YO..."

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

    He is handsome

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

    I do not understand what does it mean that "The exponential time problem will not solve before the world ends." Is there any proof for this sentence? It doesn't sense to me. Can anybody help me?

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

      A solution to a problem that is of exponential complexity has such a bad scalability factor that you might as well disregard that solution altogether.

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

      It's talking about the practicality of the solution. Even something as simple as factoring a 1024 bit number using long division is time consuming. When you plug in number you get running times in billions of years.

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

      basically in the real world you don't have infinite computation power or infinite time. Everything is limited. And so a good indicator of scalability is the running time complexity.

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

    I want that tshirt

  • @DanielPage
    @DanielPage 11 років тому +1

    I don't think it is accurate to put the Halting Problem on a line for easy/hard problems as it is impossible to solve by any algorithm. Not a good teaching technique.

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

      I would say impossible is pretty hard. The hardest, even.

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

      I am intimidated to read the proof. but maybe one day a quantum algorithm computer will solve the halting problem. never say never right

    • @shin-ku9ix
      @shin-ku9ix 4 роки тому

      Its technically possible to solve in infinite time so its fair to include it imo

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

      @@mohamednofal5256 yeah no.

  • @ПроскуринГлеб
    @ПроскуринГлеб 6 років тому

    Poor explanation