Arrays and Sorting Algorithms - Intro to Computer Science - Harvard's CS50 (2018)

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ย. 2024

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

  • @freecodecamp
    @freecodecamp  5 ปีที่แล้ว +33

    This is the third video in the course. Check out the full playlist: th-cam.com/play/PLWKjhJtqVAbmGw5fN5BQlwuug-8bDmabi.html
    Here is a forum to discuss CS50 with other people from freeCodeCamp: www.freecodecamp.org/forum/c/harvard-cs50

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

      This is really amazing and I can say this is really the one of the best lecture I have seen.Currently I am on week 1 lecture and it is such a great experience to learn from Prof.Malan.

    • @ar.93
      @ar.93 4 ปีที่แล้ว

      Amazing

    • @HA-hd4yf
      @HA-hd4yf 4 ปีที่แล้ว +1

      Can you add arabic subtitles?

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

      fvrrbhbmmjg5654

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

      g32q

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

    This guy is the best. I can rarely pay attention to youtube tutorials for >5 mins. This guy has me zoned in for 2 hours at a time.

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

      Fact

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

      no literally I've been watching him straight up for 6 hours no distractions and I've never felt happier 😭👎🏻

  • @stayinawesum
    @stayinawesum 5 ปีที่แล้ว +20

    For mobile users:
    ⭐️Contents⭐️
    ⌨️ (00:00:00) Introduction
    ⌨️ (00:00:54) Week 1 Recap
    ⌨️ (00:04:47) Preprocessing
    ⌨️ (00:07:05) Compiling
    ⌨️ (00:09:01) Assembling
    ⌨️ (00:09:29) Linking
    ⌨️ (00:12:36) buggy0.c
    ⌨️ (00:16:13) buggy2.c
    ⌨️ (00:25:14) Debugging Tools
    ⌨️ (00:26:02) RAM
    ⌨️ (00:29:11) Arrays
    ⌨️ (00:30:01) scores0.c
    ⌨️ (00:41:47) scores2.c
    ⌨️ (00:49:45) scores4.c
    ⌨️ (00:52:21) string0.c
    ⌨️ (01:00:42) Null Terminator
    ⌨️ (01:03:06) strlen.c
    ⌨️ (01:06:16) ascii0.c
    ⌨️ (01:09:39) capitalize0.c
    ⌨️ (01:12:23) capitalize1.c
    ⌨️ (01:16:38) argv0.c
    ⌨️ (01:21:25) argv1.c
    ⌨️ (01:24:52) Ciphering
    ⌨️ (01:33:15) exit.c
    ⌨️ (01:36:58) Finding 50
    ⌨️ (01:40:38) Sorting on Stage
    ⌨️ (01:50:27) Bubble Sort
    ⌨️ (01:51:34) Selection Sort
    ⌨️ (01:52:23) Computational Complexity
    ⌨️ (01:57:42) Merge Sort
    ⌨️ (02:04:29) Comparing Sorts Visually

  • @Arootinr89
    @Arootinr89 5 ปีที่แล้ว +26

    Just the fact that you added "and Sorting Algorithms" to the title helped me find what I needed. wonderful class and teacher. thanks for the upload.

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

    This series is amazing. We're so lucky to have this information provided for free!

  • @weihongli9615
    @weihongli9615 5 ปีที่แล้ว +88

    The lecturer is a passion teacher!

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

      Especially when you run at 1.25 speed.

    • @ifkash
      @ifkash 5 ปีที่แล้ว +13

      @@hektor6766 not needed in his videos

    • @shenko225
      @shenko225 5 ปีที่แล้ว +6

      I thought he was computer teacher?

  • @gordgood6506
    @gordgood6506 5 ปีที่แล้ว +83

    No one's gonna talk about the amazing intro?

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

      What's the song in the intro?

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

      It's really fantastic.

  • @tyg6088
    @tyg6088 5 ปีที่แล้ว +12

    That chair demonstration was excellent. I could almost visualize the code in my head, good way to think about the logic of sorting.

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

    He is real teacher, really let the students suggest solutions. Others just tell their "story" then the class is done.

  •  5 ปีที่แล้ว +8

    Thank you for posting this. I am not traditional software engineer, and I would never found this content had you not posted it.

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

    I am now at the end pf second sem in my university but This is my second lecture counting from CS50- B, It took us the whole semester to learn what th guy taught in 2hrs. And FreeCodeCamp guys, Quincy and Company thank you is never enough

  • @lordswaggity1213
    @lordswaggity1213 5 ปีที่แล้ว +65

    The production value is pretty high.

  • @ManzoorHussain-gz1vk
    @ManzoorHussain-gz1vk 3 ปีที่แล้ว +6

    When I watch his lectures I get so much motivation for study. Thank you, sir.

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

    he is literally sweting bullets while his lectures. this shows how motivated he is

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

    Great video I have a BS in info sys but I haven’t looked at programming for a few year. So I’m refreshing. But this was the best explanation of the various sorts that I’ve seen.

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

    This lecture is increadibly better than my uni's. The lecture is so engaging, fun and so clear. Meanwhile in my uni the lecturer dribbles incoherently over videos used in the past semesters smh

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

    I can see the sweat on his head, he's such a passionate lecturer.

  • @VinaySharma-eg7di
    @VinaySharma-eg7di 2 ปีที่แล้ว

    Merging sort is a revolutionary idea!

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

    to convert chars to integers you can do that :
    ``` char c = 'a'; // narrowing on C
    int a = c; // instead of int a = (int) c;
    ```

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

    Help me 0.75 playback speed, you're my only hope.

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

    You are very good speaker and teacher 😊

  • @jking3
    @jking3 5 ปีที่แล้ว +6

    That's beautiful enjoyed this very much

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

    That log(n) definition was awesome I did not learn that from school.

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

      Where was it

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

    Being a BA English student, I watch this video to develop my spoken English skill...Anyway , I understand something about the functions of computer and its parts...

  • @AshishKumar-zi9gy
    @AshishKumar-zi9gy 5 ปีที่แล้ว +6

    This is heaven ❤️

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

    Can you please try to get David to let you upload CS61 as he mentioned in the class? Or is there already something similar to that? (low level/assembly stuff)

  • @saurabh7199
    @saurabh7199 5 ปีที่แล้ว +9

    Thank you very much...
    Keep it up

  • @misterkoko--fu
    @misterkoko--fu 5 ปีที่แล้ว +5

    Bardzo pożyteczne.

  • @HarpoMarxTheSpot
    @HarpoMarxTheSpot 5 ปีที่แล้ว +16

    He looks like Data

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

    Love it, can't stop watching! But how many times did he say "cryptic"? 😅

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

    3:15 possibly related to my sqrt problem
    1:18:00 main function arguments

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

    this guy is on drug called passion :)

  • @jean-michelbendaci2564
    @jean-michelbendaci2564 ปีที่แล้ว

    Thanks David.
    Satya Nadella blackmailed and active corrupt.

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

    I love the sorting animations. Where i can access the animation? i want to see it again

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

    Tx,, lecturer explanation is lit

  • @AbhishekKumar-mq1tt
    @AbhishekKumar-mq1tt 5 ปีที่แล้ว +1

    Thank u for this awesome video

  • @johnnycincocero
    @johnnycincocero 5 ปีที่แล้ว +6

    I wish I could type code that quickly.

    • @sachinmk2813
      @sachinmk2813 5 ปีที่แล้ว +7

      www.typingclub.com/sportal/program-3.game Been using this for 3 weeks now, and it works !

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

      you can use Emmet on your IDE to type less but output more

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

    Caesar cipher!

  • @VinaySharma-eg7di
    @VinaySharma-eg7di 2 ปีที่แล้ว

    can I say it is the most important video of the series?

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

      Yes bro🕊️

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

    Very nice 👍😍😊😊😊😊

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

    Sigh, sometimes i wish i did not go to college in canada. My professors are so low quality at the moment, they just zoom zoom through everything without explanations and tell us to research it our selves and not ask questions...

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

    Nice video. I am Bangladeshi.

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

    David sir can u make complete series of lecture in c say 20 lecture and each lecture of 1.30 hours .......u r best in teaching ..u can refer jeery Cain from stanford university ...he has 27 lecture just on c and ....i have also seen stanford university Jerry Cain video lecture has 27 video just on c ,memory stack in c,malloc in c ......etc........

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

    ['sort', 'this', 'array']

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

      Host Promo when you talk about strings you would have to specify what it means to be sorted. Are we sorting alphabetically by the first letter? Or are we sorting by the number of chars in each string? Or some other value?

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

    Thanks!

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

    what did "ciphering" have anything to do with anything we learned? he didn't make a connection to programming.

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

      he refers to the problem sets that you have to do each week in the CS50 course.

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

    watch at 0.25

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

    Thanks

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

    00:26:02

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

    Great!

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

    The sorting algorithm would have even more efficient if the chairs weren't used: the time each volunteer take to sit and stand up would have been saved. 😄

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

    If I want to get higher level of lesson of algorithm, Where I can learn?

    • @p.s.1099
      @p.s.1099 5 ปีที่แล้ว +2

      MITx 6.001 and 6.002

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

    1:09:40

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

    is it necessary to add void in brackets of main ?

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

      Haa bro..... because it's the main function of code and if you miss those small things than...you will end up making mistakes 🕊️Love from india 🤗

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

    does this video is just the same in the video in Harvard's CS50(2020)??

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

    2 spaces is a better tab

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

    Hi, right now we are already given easy function, like upper lower, but can we really need to understand behind the function is? thanks alot

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

    It's gonna b week 0-11 course?

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

    Is there any public url for the visualization of sorting algorithms

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

      searching for "visualized sort" on say youtube should return a bunch of results and more

  • @VinaySharma-eg7di
    @VinaySharma-eg7di 2 ปีที่แล้ว

    1:10:36 I really didn't get it!

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

    I’m naming my daughter zamyla

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

    I have no idea what he's talking about.

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

    lol this compared to intro to computing at CCNY

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

    Total lectures?

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

      find cmplete lecture at edx.org , totally free

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

      We're posting one lecture per day until the entire course is posted. But like others have pointed out, it is available elsewhere.

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

      @@freecodecamp how many videos are there?

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

      @@permanadiningrat where exactly ? i can’t find 🤔✌

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

      @@crosby9811 Here you go th-cam.com/play/PLhQjrBD2T3828ZVcVzEIhsHVgjANGZveu.html

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

    44:20

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

    2:7:0

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

    Why are posting video from cs50

    • @freecodecamp
      @freecodecamp  5 ปีที่แล้ว +11

      Because it is a great introduction to computer science. Where as freeCodeCamp’s curriculum is focused on practice, CS50 is focused more on theory. So we think you’ll find them to be great complimentary learning resources.

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

      But they are all available at CS50 YT channel and you link to them in the description anyway. What's the point of just reuploading their videos?

    • @freecodecamp
      @freecodecamp  5 ปีที่แล้ว +16

      Many of our subscribers will find out about this great course for the first time from us posting it. We just want to help spread free knowledge.

    •  5 ปีที่แล้ว +5

      @@freecodecamp Thank you, I would of never found this, had you not posted this

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

      @@freecodecamp i sure did. What a finding it was

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

    0:50 Skip intro

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

    Can this school not afford air conditioning ?

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

    I want to this course in hindi

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

      You can voice over, if you can in hindi :-P

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

    This was by far the most confusing video. I am so lost on this entire video.

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

      see all the videos and you will understand

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

      Yusef Psytek what would watching the other videos do? They have nothing to do with this video.

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

      @@abvdgr8886 i'm watching all the playlist and i think is the better teacher, i learned a lot!

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

      just stay motivated and keep trying

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

    much much much munch munch munch lol😂😂😂

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

    please compress the file then upload it , it's almost 617 MB.

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

    This is a clickbait title !!!
    It's an introduction to C programming not an algorithmic lecture about sorting arrays !!!!

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

    Did you ask for permission to repost this content?

    • @freecodecamp
      @freecodecamp  5 ปีที่แล้ว +18

      Yup! They gave us permission.

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

      lol, instead of thanking and taking the value presented here this lol dude is more interested in "permission" stuff

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

      @@bonzayy its sounds to me that u dont recognize the value of copyright. Well theres no problem since its reposted with permission. Lol

    • @bonzayy
      @bonzayy 5 ปีที่แล้ว +7

      @@PainRUify it sounds to me you want to be more catholic than the pope

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

      @@bonzayy that's an anti-intellectual reasoning. sad for you

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

    thank you!