ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

R1. Matrix Multiplication and the Master Theorem

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ส.ค. 2024
  • MIT 6.046J Design and Analysis of Algorithms, Spring 2015
    View the complete course: ocw.mit.edu/6-046JS15
    Instructor: Ling Ren
    In this recitation, problems related to matrix multiplication and weighted interval scheduling are discussed.
    Chapters
    00:00 Title slate
    00:20 Recitation intro
    02:16 Weighted Interval Scheduling
    22:40 Strassen algorithm
    33:13 Master Theorem
    License: Creative Commons BY-NC-SA
    More information at ocw.mit.edu/terms
    More courses at ocw.mit.edu

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

  • @kimhammar
    @kimhammar 8 ปีที่แล้ว +88

    Master Theorem 33:10

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

      This comment saved me so much time. Thanks

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

      This was great, thanks, I have been researching "geologic time scale calendar activity" for a while now, and I think this has helped. You ever tried - Bannrial Bizarre Bulldozer - (should be on google have a look ) ? It is a smashing exclusive product for discovering your spiritual animal and the clues it has to your future success without the normal expense. Ive heard some incredible things about it and my partner got excellent success with it.

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

      instablaster...

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

    02:16 Weighted Interval Scheduling
    22:40 Strassen algorithm
    33:16 Master Theorem

  • @Karim-nq1be
    @Karim-nq1be ปีที่แล้ว +1

    I really enjoyed the way the instructor was explaining, thank you.

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

    I think after viewing Professor Gilbert Strang's video lecture on matrix multiplication, you won't ever forget it. I mean it. 🙂🙂🙂

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

    Thanks! I always have no feeling about master theorem, now I understand to prove process, it makes more sense for me. Another way to think about this, the recursion tree can prove the master theorem, so it can solve all concrete problem.

  • @sumitgupta1457
    @sumitgupta1457 7 ปีที่แล้ว +6

    Great video on master theorem

  • @hektor6766
    @hektor6766 5 ปีที่แล้ว +10

    Recitation is where things happen.

  • @user-tn1yb1ne4e
    @user-tn1yb1ne4e 3 ปีที่แล้ว +23

    Graduted from QingHua(top university in CN) as a bachelor, this guy is brilliant.

    • @AMANKUMAR-oh1zt
      @AMANKUMAR-oh1zt 3 ปีที่แล้ว +3

      Means he is a commie??

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

      @@AMANKUMAR-oh1zt do you guys still have toilet?

    • @AMANKUMAR-oh1zt
      @AMANKUMAR-oh1zt 2 ปีที่แล้ว +2

      @@jackzeinder1705 Aapke hote hue toilet ki kya zarurat hai? :-)

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

      @@AMANKUMAR-oh1zt kya tum log ab bhee gaay ke gobar se dhote ho ? :)

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

      @@AMANKUMAR-oh1zt Then he may be able to put you inside?

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

    this guy's very good in teaching

  • @woodsker
    @woodsker 7 ปีที่แล้ว +22

    Strassen’s algorithm 22:30

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

      dude you are the man !

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

    amazing teacher

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

    Thanks! Great professor, learned a lot today ^^~

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

    Great vigeo. Thanks.

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

    mit有华人不容易,且尊重且珍惜

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

    14:26 specifying wis(r1) needs log n comparisons in worst case. But the total complexity is still dominated by sorting part.

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

    22:34 Matrix Multiplication (Strassen)

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

    37:00 a is branching factor and base case.

  • @dr.rahulgupta7573
    @dr.rahulgupta7573 3 ปีที่แล้ว

    Nice presentation of the topics in a beautiful manner by an experienced teacher .Thanks .DrRahul Rohtak Haryana India

  • @dunket777
    @dunket777 5 ปีที่แล้ว

    video is not clear at 29:57 the values of M6 in first bracket are not clear

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

    看到了华人在 MIT讲课,厉害了,加油,大家都是优秀的人

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

    关于weighted interval scheduling有个疑问,通过i1的end time去找R1(start time在i1 end time之后的interval)不就需要O(n)的时间吗,并且递归过程中每一步都有这个计算过程。

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

      binary search will consume log n. Still safe to get n log n.

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

    the weighted interval scheduling. Why was the first alg n squared and second one just n? it takes constant time to computer R1?

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

      I also wondered about the cost of finding R1...

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

      I think Ling forgot to mention that cost. Having sorted the job array by start time, finding the next job whose start time is greater than the finish time of job_i can be done using binary search (O(logN)).

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

      Is finding the intervals in R the only reason the first algorithm is n^2? I feel like in both cases we're assuming R is constant time, but there's a different reason the unsorted algorithm is n^2, but I can't find an explanation anywhere on the internet or in textbooks

  • @amornchotsingh3977
    @amornchotsingh3977 6 ปีที่แล้ว

    Hello Everybody, I don't understand how this course works. There are lecture videos taught by the lecturers and also videos taught by students with prefix R1,R2,R3, etc. If I'm not wrong, are R1,R2 revision videos of official video 1 and 2? Or are they supplementary to the videos taught by the lecturer?

    • @mitocw
      @mitocw  6 ปีที่แล้ว +10

      These supplementary videos are recitations. Recitations are a way for students to ask follow-up questions to anything that was confusing in lectures. For the full course materials, see the course on MIT OpenCourseWare at:ocw.mit.edu/6-046JS15. Best wishes on your studies!

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

    So..... anyone can explain the philosophy of Strassen's method?🙂

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

      What I understood that Strassen was trying to reduce "a" in Master Theorem formula from 8 to 7 so that first condition n ^ (log a with base b) would result in n^2.8074 instead of n^3. I remember reading the idea in "Introduction to Algorithms" book that multiplication/division are expensive computational operations than addition/subtraction. "a^2 - b^2" (which involves two multiplications and one subtraction) can be computed with "(a + b) * (a - b)" (which involves single multiplication). Strassen used similar strategy to reduce matrix multiplications from 8 to 7.

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

    华人小哥?

    • @Victor-yn6jm
      @Victor-yn6jm 4 ปีที่แล้ว +2

      应该是中国人,清华毕业的

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

    Test

  • @mohamednofal5256
    @mohamednofal5256 5 ปีที่แล้ว

    asians are good

  • @yuanchun9124
    @yuanchun9124 6 ปีที่แล้ว

    [?Grady?] --> greedy =、= 3:21

  • @RishabhKumar-sc8uz
    @RishabhKumar-sc8uz 5 ปีที่แล้ว +1

    Bc video me dj mix Kra h

  • @arindammandal7742
    @arindammandal7742 7 ปีที่แล้ว

    faltu