Richard Karp: Algorithms and Computational Complexity | Lex Fridman Podcast

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ค. 2024
  • Richard Karp is a professor at Berkeley and one of the key figures in the history of theoretical computer science. In 1985, he received the Turing Award for his research in the theory of algorithms, including the development of the Edmonds-Karp algorithm for solving the maximum flow problem on networks, Hopcroft-Karp algorithm for finding maximum cardinality matchings in bipartite graphs, and his landmark paper in complexity theory called "Reducibility Among Combinatorial Problems", in which he proved 21 problems to be NP-complete. This paper was probably the most important catalyst in the explosion of interest in the study of NP-completeness and the P vs NP problem.
    Support this podcast by signing up with these sponsors:
    - Eight Sleep: eightsleep.com/lex
    - Cash App - use code "LexPodcast" and download:
    - Cash App (App Store): apple.co/2sPrUHe
    - Cash App (Google Play): bit.ly/2MlvP5w
    EPISODE LINKS:
    Richard's wikipedia: en.wikipedia.org/wiki/Richard...
    PODCAST INFO:
    Podcast website:
    lexfridman.com/podcast
    Apple Podcasts:
    apple.co/2lwqZIr
    Spotify:
    spoti.fi/2nEwCF8
    RSS:
    lexfridman.com/feed/podcast/
    Full episodes playlist:
    • Lex Fridman Podcast
    Clips playlist:
    • Lex Fridman Podcast Clips
    OUTLINE:
    0:00 - Introduction
    3:50 - Geometry
    9:46 - Visualizing an algorithm
    13:00 - A beautiful algorithm
    18:06 - Don Knuth and geeks
    22:06 - Early days of computers
    25:53 - Turing Test
    30:05 - Consciousness
    33:22 - Combinatorial algorithms
    37:42 - Edmonds-Karp algorithm
    40:22 - Algorithmic complexity
    50:25 - P=NP
    54:25 - NP-Complete problems
    1:10:29 - Proving P=NP
    1:12:57 - Stable marriage problem
    1:20:32 - Randomized algorithms
    1:33:23 - Can a hard problem be easy in practice?
    1:43:57 - Open problems in theoretical computer science
    1:46:21 - A strange idea in complexity theory
    1:50:49 - Machine learning
    1:56:26 - Bioinformatics
    2:00:37 - Memory of Richard's father
    CONNECT:
    - Subscribe to this TH-cam channel
    - Twitter: / lexfridman
    - LinkedIn: / lexfridman
    - Facebook: / lexfridmanpage
    - Instagram: / lexfridman
    - Medium: / lexfridman
    - Support on Patreon: / lexfridman
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @lexfridman
    @lexfridman  4 ปีที่แล้ว +70

    I really enjoyed this conversation with Richard. Here's the outline:
    0:00 - Introduction
    3:50 - Geometry
    9:46 - Visualizing an algorithm
    13:00 - A beautiful algorithm
    18:06 - Don Knuth and geeks
    22:06 - Early days of computers
    25:53 - Turing Test
    30:05 - Consciousness
    33:22 - Combinatorial algorithms
    37:42 - Edmonds-Karp algorithm
    40:22 - Algorithmic complexity
    50:25 - P=NP
    54:25 - NP-Complete problems
    1:10:29 - Proving P=NP
    1:12:57 - Stable marriage problem
    1:20:32 - Randomized algorithms
    1:33:23 - Can a hard problem be easy in practice?
    1:43:57 - Open problems in theoretical computer science
    1:46:21 - A strange idea in complexity theory
    1:50:49 - Machine learning
    1:56:26 - Bioinformatics
    2:00:37 - Memory of Richard's father

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

      Thanks for this amazing series.

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

      I’ll

  • @endrawes0
    @endrawes0 4 ปีที่แล้ว +54

    Whenever an older person is in the show I know I'm in for a treat of wisdom. Especially love it when it's computer science related.

  • @abhishekshah11
    @abhishekshah11 4 ปีที่แล้ว +8

    As a guy who studies graph theory for purely enthusiasm, tuning into this podcast is giving me goosebumps. Thank you Lex.

  • @heyrmi
    @heyrmi 4 ปีที่แล้ว +108

    Lex many great professors are growing old each day. Geoffrey Hinton is also one of them please invite him once.

    • @adelmomorrison3517
      @adelmomorrison3517 4 ปีที่แล้ว +4

      agree!

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

      ​@@kiran0511 you can do podcasts standing up :> Hinton and Jeff Dean would be amazing, but I'm guessing they have very little time (and don't seem to be very interested in doing public appearences outside of Google)

  • @shonguiz0
    @shonguiz0 4 ปีที่แล้ว +100

    This is a real science man, authentic talk not like some of the new age ai gurus wannabes.

    • @captspeedy1899
      @captspeedy1899 4 ปีที่แล้ว +3

      AGI will happen in the next 10 years. Mark my words

    • @shonguiz0
      @shonguiz0 3 ปีที่แล้ว +2

      @@captspeedy1899 Maybe but i would like a better justification than the Ray Kurzweil exponential growth crap.

    • @joey199412
      @joey199412 3 ปีที่แล้ว +17

      @@captspeedy1899 Based on what? Your gut feeling? At least provide some scientific basis for your assertion. Link some sources etc.
      saying "X will happen in Y years, mark my words" without anything to back it up is the same as a homeless person holding up a sign saying "The end is nigh".

    • @dapdizzy
      @dapdizzy 3 ปีที่แล้ว +2

      capt speedy I know Conor McGregor used to speak like that.

    • @bsuperbrain
      @bsuperbrain 3 ปีที่แล้ว +2

      @@captspeedy1899 no, it won't.

  • @harounhajem7972
    @harounhajem7972 2 ปีที่แล้ว +3

    You know when it's a very intelligent person talking when that person can take really complex tasks and break them down and explain them to anyone. Thanks for the podcast Lex Friedman and Richard Karp!

  • @anandbalivada7461
    @anandbalivada7461 4 ปีที่แล้ว +11

    I have been waiting for this for so long :))). I attended a public lecture by Richard Karp and was in awe the entire time and absolutely loved it. He was so excited, sharp and passionate even at 84 and I derived a better understanding of the nature of problems in theoretical cs and the structure of the field in general.

  • @aveekbhattacharyya2550
    @aveekbhattacharyya2550 3 ปีที่แล้ว +16

    Hey Lex your podcast is just like the e^x graph which keeps on increasing in the positive direction of the x axis. They are literally amazing. Can you bring Linus Torvalds next?

  • @robinampipparampil
    @robinampipparampil 4 ปีที่แล้ว +7

    This is brilliant. Complexity, networks, graphs, AI and implications for Social Psychology and Cognitive science. Thanks a lot Lex Fridman and Richard Karp.

    • @felixthefoxMEXICO
      @felixthefoxMEXICO 2 ปีที่แล้ว

      just saw your comment when Prof mentions this

  • @KaraNodrik
    @KaraNodrik 4 ปีที่แล้ว +16

    Thank you for continually educating! I appreciate it a lot

  • @ronswanson3656
    @ronswanson3656 4 ปีที่แล้ว +5

    You had me at "Reducibility Among Combinatorial Problems"

  • @khuebner
    @khuebner 3 ปีที่แล้ว

    Thank you Lex for providing an outline to your video! Makes it easy to listen to areas of interest. I wish more video bloggers would do this.

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

    transportation problem solving are so under appreciated, mix of economics, psychology, behavior, flow ... everything

  • @RajeshKumar28sep
    @RajeshKumar28sep 2 ปีที่แล้ว

    This video answered at least 10 questions that I always struggled with. Thanks, Lex!

  • @dankoni
    @dankoni 3 ปีที่แล้ว +4

    once again, speaking for the devs in here, THANK YOU for episodes like this one 🙏♥️🤓

  • @CryingMG
    @CryingMG 3 ปีที่แล้ว

    Richard Karp is by far one of the pillars of Computer Science, a true titan in the field. What a great podcast!

  • @computersciencebyd-m-3323
    @computersciencebyd-m-3323 ปีที่แล้ว

    Thank you very much for this interview with Prof. Karp. For me, computational complexity is the most fascinating topic, and it is absolutely great to hear the major contributors talk about it.

  • @TravisGarnett
    @TravisGarnett 3 ปีที่แล้ว

    Just fascinating conversation here, especially the mentions concerning testing and human aspects!! Thank-you, gentlemen.

  • @bsuperbrain
    @bsuperbrain 3 ปีที่แล้ว +2

    These podcasts are amazing! Greetings from Hungary!

  • @consumer1843
    @consumer1843 3 ปีที่แล้ว

    Thank you Lex, this is a useful interview shining lights on path forward for many problems.

  • @SKARTHIKSELVAN
    @SKARTHIKSELVAN 4 ปีที่แล้ว +2

    You ask good questions. I like your style. Thanks for your efforts.

  • @davidpolanki89
    @davidpolanki89 3 ปีที่แล้ว +2

    Thank you for the great content especially when it comes to computer science

  • @MW_MOWGLI
    @MW_MOWGLI 4 ปีที่แล้ว +2

    You the man Lex, keep up the amazing work 🙌🏽

  • @timpips9115
    @timpips9115 2 ปีที่แล้ว

    Awesome Lex and Richard, thanks for simple explanations

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

    awesome interview. Most of those concepts are covered in competitive programmers handbook

  • @BioCful
    @BioCful 3 ปีที่แล้ว

    I really enjoyed listening to this program. Thanks!

    • @phil_781
      @phil_781 2 ปีที่แล้ว

      xxxxxx 7

  • @vinca43
    @vinca43 3 ปีที่แล้ว +7

    Karp.on being a.barker: "Well I wasn't particularly charming but I could be very repetitious and loud." 😂

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

    I enjoyed this conversation.
    I like listening to the way that Lex's mind works.
    It's fascinating.
    :-)

  • @funkervogt47
    @funkervogt47 4 ปีที่แล้ว +23

    "If an elderly but distinguished scientist says that something is possible, he is almost certainly right; but if he says that it is impossible, he is very probably wrong."

    • @PatJHayes
      @PatJHayes 4 ปีที่แล้ว +2

      Years ago I was the plenary speaker at a AAAI Spring symposium. I summed it up by saying that the talks consisted of old men explaining why various things were impossible interspersed with young men explaining how they had just implemented them.

  • @johangodfroid4978
    @johangodfroid4978 3 ปีที่แล้ว

    thank you lex, excellent interview and a so my Richard karp is a so brilliant mind. Great job

  • @AIvan40
    @AIvan40 4 ปีที่แล้ว +9

    Maximal flow of likes > 9000

  • @DanyPell
    @DanyPell 2 ปีที่แล้ว

    Nice! Loving the programming podcasts.

  • @minhkhangphan9
    @minhkhangphan9 3 ปีที่แล้ว

    Thanks for your works.

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

    I suffer from severe insomnia. This helps me fall asleep. I get knocked out during the first 10min

  • @barisbasar3909
    @barisbasar3909 11 หลายเดือนก่อน

    How does this have so few views? Mr karp is a legend

  • @callylove3637
    @callylove3637 2 ปีที่แล้ว

    I believe that the constrained version of the stable marriage problem Karp is explaining at around 1:18:00 is about the difference between matching a pair and a triple. Pair matching is a problem in P while triple matching is an NP-complete problem

  • @TheMateusrex
    @TheMateusrex 3 ปีที่แล้ว

    Lex is doing the world a favor by interviewing the giants of computation.

  • @bunny_rabbit5753
    @bunny_rabbit5753 3 ปีที่แล้ว

    I m loving this channel.🤓🤓🤓

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

    Karp's work makes me NP-hard

  • @NS-gr9cy
    @NS-gr9cy 4 ปีที่แล้ว +3

    Do one Podcast on the new rover Perseverance going to Mars.

  • @matthieucneude5761
    @matthieucneude5761 3 ปีที่แล้ว +2

    Well, I finally understand P = NP problem. Thanks a lot!

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

    I think it would be interesting to see an episode with Richard Garfield talking about AI, Mathematics and Magic the Gatering, I think it would be a good programme.

  • @silencioseu
    @silencioseu 3 ปีที่แล้ว

    You should do an interview with Rich Hickey. As a fellow Lisper I think you'll appreciate him :)

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

    maybe it's time for lex merch?

  • @RevenueSharePartner
    @RevenueSharePartner 4 ปีที่แล้ว +2

    *Algorithm: we may have not met yet, but I'm watching you (like recommendation based on what you searched)*

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

    "I don't always sleep, but when I do I choose eightsleep", lol okay

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

      This is superb advertising 😃

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

    Very interesting, I used to hate math when I was in school but only because I found it useless and boring , learning by myself allowed me to see the beauty and power of mathematics and is fascinating

  • @jjhack3r
    @jjhack3r 4 ปีที่แล้ว +3

    Lol lex talks faster than the guest in this one. Good podcast tho

  • @LauritzMelchior
    @LauritzMelchior 3 ปีที่แล้ว

    It good be great to invite Jim Simons.

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

    Most rational and humbling opinion about AI I have gotten from a Mathematician/Computer Scientist. Unlike, some I am not even remotely fearful of AI. It maybe blissful ignorance, however, I have absolutely no fear of a machine becoming sentient and be able to compete on a human level with even the most uneducated and low IQ among the human population. AI will never be able to reproduce itself or have the range of human emotions or self-awareness as human beings. Even the lowest IQ among us have a human spirit about them along with the capacity to produce off springs that can differ from themselves in ability, ambition, outlook, and approach to life. This produces a diversity of creativity, approach to life and ambition that is more than raw ability to engage in infinite computation in an extremely efficient manner.

  • @ecoyoi3015
    @ecoyoi3015 3 ปีที่แล้ว +2

    Please invite professor erick demaine from MIT

  • @MilahanPhilosophersCorner
    @MilahanPhilosophersCorner 3 ปีที่แล้ว

    Interesting ⭐

  • @BrianGaeddert
    @BrianGaeddert 3 ปีที่แล้ว

    When are you going to speak to Stephanie Kelton ( The Deficit Myth )?

  • @effoffutube
    @effoffutube 3 ปีที่แล้ว +2

    P=NP is perpetual motion

  • @phasm42
    @phasm42 3 ปีที่แล้ว

    Karp's 21 NP-complete problems: en.wikipedia.org/wiki/Karp%27s_21_NP-complete_problems

  • @seanfitzgerald4207
    @seanfitzgerald4207 4 ปีที่แล้ว +2

    stable marriage problem is central to the matching algorithm i need to create for my DeepMatch (candidate/company matching) startup. if anyone listening out there has algorithm development expertise and is interested in potentially working with me on this, please reach out : )

    • @consumer1843
      @consumer1843 3 ปีที่แล้ว

      Do a search on the Stable Match Problem solution source code.

  • @deeplearningpartnership
    @deeplearningpartnership 4 ปีที่แล้ว

    Awesome.

  • @hanes2
    @hanes2 3 ปีที่แล้ว

    Just wanted to say, some day u should have Jonathan Blow on this podcast.

  • @socrates_the_great6209
    @socrates_the_great6209 3 ปีที่แล้ว

    Please show a drawing of what you talk about. 4:30.

  • @yynill
    @yynill 4 หลายเดือนก่อน

    Isn't it that if you solve a NP problem it becomes a P problem by being solved.
    And then We have p +1

  • @dmitrym3757
    @dmitrym3757 2 ปีที่แล้ว

    TH-cam definitely needs a second "Like" button.

  • @PierreH1968
    @PierreH1968 4 ปีที่แล้ว

    A straight line is the shortest distance between two points, as long as the points are facing each other :))

    • @Paul-fn2wb
      @Paul-fn2wb 3 ปีที่แล้ว +1

      Sorry, I don't get it, could you explain? Or is it a joke which I don't get either? :D

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

      That's the point!

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

      @@Paul-fn2wb I's a corny joke and explaining it would be pointless.

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

      @@Paul-fn2wb
      I suspect it's a sentence similar in spirit to the one I encountered in a science encyclopedia text about topology: "Please lay the tablecloth with a hole facing upwards."
      Points, as well as holes, simply don't have direction property.

  • @kamilziemian995
    @kamilziemian995 3 ปีที่แล้ว

    Wonderful talk, truly wonderful, nonsense guest. Mister Fridman, thank you for you work.

  • @petersmall1574
    @petersmall1574 2 ปีที่แล้ว

    Upon hearing "Hungarian Algorithm", my mind leapt to "Bohemian Rhapsody." Then, when I heard him describe the Assignment Problem, it occurred to me that the search for a solution to this problem through the application of a computational algorithm is exactly the kind of challenge that would appeal to geeky young men desperate to discern how they could identify girls who might be willing to go out on a date with them.

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

    This guys explanation on why he is doubtful on AI just doesn’t justify reality. Tech will continue to improve dramatically. Maybe AI won’t exist in his lifetime, but humanity will definitely achieve it.

  • @dapdizzy
    @dapdizzy 3 ปีที่แล้ว

    I like how Alex seems to completely miss the first two beautiful examples that the guest presents to him, yet he is perfectly polite and the conversation goes as if there is a perfect understanding between the two.

  • @ChurchOfThought
    @ChurchOfThought 4 ปีที่แล้ว +3

    GPT-3 ....

  • @anjansharma5683
    @anjansharma5683 3 ปีที่แล้ว

    Now please invite Naval Ravikant please

  • @a-j.2002
    @a-j.2002 3 ปีที่แล้ว +8

    So, 2 ads every 5 minutes? Makes it hard to watch!

    • @snojji
      @snojji 3 ปีที่แล้ว

      ad block is a free browser extension that rids you of all ads on youtube

  • @badwolf8112
    @badwolf8112 4 ปีที่แล้ว

    CS > ALL

  • @steves4069
    @steves4069 3 ปีที่แล้ว

    Where are my shirts brother?

  • @johnchristopherlayton1325
    @johnchristopherlayton1325 4 ปีที่แล้ว

    🙏👑 #grateful

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

    Meet you in MIT Lex.

  • @cridr
    @cridr 3 ปีที่แล้ว

    being from eastern europe, when you say Lex Fridman withouth the "i"( how you hear, not how you write it) it was strange to understand what do you mean .. I always forget this strange thing in english when they say "i" and they refer to "e" and when they say "ei" and the refer to "a" or "i" ?! hopefully a AGI will find this strange too

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

    I think it is really important to understand machines do not have to have Artificial General Intelligence for AI to be a thread to our existence, nor do they need self consciousness. An AI with mastery of a very small domain and enough control can effectively end the human race. (Eg. Military Strategy) The problem with AGI is just much worse and the way I see it is that the moment AGI exist it will be impossible to stop it.

  • @shammcity00
    @shammcity00 3 ปีที่แล้ว

    Geoffrey Hinton pls

  • @artking7883
    @artking7883 4 ปีที่แล้ว

    @theartistbk check out canvas paintings of divine consciousness

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

    I of course think AGI is inevitable, Single Cell organism builds Multi Cellular organism eventually builds a brain, which eventually evolve into Self Consciousness which eventually evolve into Super Consciousness. I thin AGI is just part of natural evolution.

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

      @FeatherFiend jip. Blows the mind. But I think that a lot of people do not realize that we are already part of a bigger organism. It's even in the name Organization, it even has legal standing. It has specialization of components, communication between components, will to survive, natural selection. This goes for both companies and countries.The question to ask is AGI the evolution of a organization (business) or the evolution of a country or the evolution of a human being. I personally think it is just the evolution of a organization.

  • @toughmuon4003
    @toughmuon4003 3 ปีที่แล้ว

    It sounds like Mr. MagicKarp to me.

  • @insertoyouroemail
    @insertoyouroemail 3 ปีที่แล้ว

    Get Simon Peyton-Jones on!

  • @hanselpedia
    @hanselpedia 4 ปีที่แล้ว

    Geometry problems without drawings suck! ;-)

  • @royaebrahim2449
    @royaebrahim2449 6 หลายเดือนก่อน

    ❤❤

  • @GIBKEL
    @GIBKEL 3 ปีที่แล้ว

    I lack “High dimensional intuition”....me neither. Now words have described my failure b
    As

  • @geoblk3000
    @geoblk3000 3 ปีที่แล้ว

    This podcast is the prime example of why there's 1.5x playback speed on TH-cam :)

  • @olicairns8971
    @olicairns8971 3 ปีที่แล้ว

    please interview tim roughgarden

  • @bang9427
    @bang9427 3 ปีที่แล้ว +2

    i usually enjoy the podcast, but this time the questions could be answered by a bachelor student in CS very easily. I think it was a waste of Richard Karp. Maybe making a voting system?

  • @Crytoma
    @Crytoma 4 ปีที่แล้ว

    ++

  • @sukabumiflasher4537
    @sukabumiflasher4537 4 หลายเดือนก่อน

    p is not the same as np so this is true if we use binary logic 1 (true) & 0 (false).
    p is the same as np so this is true if we use antilogic/quantum logic 1=0 (true = false).

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

    🇭🇹🧠👍

  • @user-zj2oe5jq1u
    @user-zj2oe5jq1u 3 ปีที่แล้ว +1

    Переведите на русский плиз

  • @RevolutionOnAir84
    @RevolutionOnAir84 3 ปีที่แล้ว

    .

  • @michaelparker3096
    @michaelparker3096 2 ปีที่แล้ว

    So this must all mean the world is definitely flat then?

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

    stable marriage problem = cuckoo hashing, surprisingly

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

    Whenever an older person is in the show I know I'm in for a treat of wisdom. Especially love it when it's computer science related.

  • @MrArmas555
    @MrArmas555 4 ปีที่แล้ว

    ++

  • @adelmomorrison3517
    @adelmomorrison3517 4 ปีที่แล้ว

    ++