CS50 Problem Set 1 - Mario Walkthrough (Step by Step for Beginners)

Sdílet
Vložit
  • čas přidán 4. 09. 2024

Komentáře • 802

  • @robo1297
    @robo1297 Před 2 lety +732

    The jump from scratch to this was crazy for someone who has never coded before. Thanks for the help

    • @scarycrow3638
      @scarycrow3638 Před 2 lety

      Ikr its retarded

    • @taiao7700
      @taiao7700 Před 2 lety +95

      This was doing my head in lol, cant believe they left out so much info

    • @williamarenas1004
      @williamarenas1004 Před 2 lety +56

      @@taiao7700 Same here, not enough info to do this as a newbie

    • @TheFretzone
      @TheFretzone Před 2 lety +62

      Glad it wasnt just me who thought that lol

    • @bobbysack254
      @bobbysack254 Před 2 lety +31

      thats the thing about university, the info they teach you in class is never enough to be able to do the homework. and its also not realistic to spend hours on one class’ homework because you have homework for other classes. chegg is a necessity….

  • @letticegal
    @letticegal Před 5 měsíci +45

    To anyone else that saw the mario PSet 1 less challenge and thought they weren't good enough for to code or they weren't cut out for it- Watch this whole video write the code along with them and then explain it line by line to someone. It makes so so so much more sense when you do it step by step this way, and once you figure out how nested loops work (kinda like a racetrack with the start being the finish line and the nested loops like parts of the track you have to drive through) it makes the Mario more challenge trivially easy. Thank you so so so much for making this video, because without your help I would have never gotten past it.
    To everyone else trying to do CS50: You've got this, I believe in you.

    • @bedstuy89
      @bedstuy89 Před měsícem +1

      you are speaking to me. thank you. needed the encouragement

  • @EwanPB
    @EwanPB Před 4 lety +420

    Man thank you so much for this guide, sincerely. I was so stuck on this problem that I was seriously considering giving up completely on CS50 and learning programming.
    I know that copying other people's code is a bad way to learn but I think as a complete beginner pset 1 is too difficult, your video has really helped me understand what I've been doing wrong.
    Thanks again man, you're a legend.

    • @CS50MadeEasy
      @CS50MadeEasy  Před 4 lety +23

      Glad I could help! Thanks for the kind words :)

    • @benjaminatieku-dzandu3610
      @benjaminatieku-dzandu3610 Před 4 lety +88

      Ewan. thank you for much for sharing your frustrations. I felt the same way and now I know I am not alone. Thanks, CS50 Made Easy. I also understood it much better after watching this video.

    • @kimmyaguilar5408
      @kimmyaguilar5408 Před 4 lety +33

      omg I was gonna give up too, I haven't done cs50 in over a week because I was trying to understand it. its frustrating but in the end it'll be worth it :)

    • @geoffreychege2632
      @geoffreychege2632 Před 4 lety +41

      I almost put this course on the side. I'm a newbie programming student and I have to say this problem set one makes someone feel like quitting. Thanks for the tutorial. One day when I get good at programming I'm sure I'll laugh at this moment.

    • @Diego-ru7nh
      @Diego-ru7nh Před 4 lety +85

      Hey man I just wanted to give you some future encouragement incase you ever felt like giving up. Just remember that learning to code is honestly really hard and takes a lot of personal effort, after all if it was something that was easy to learn everyone would be a programmer. There's gonna be a lot of times when you'll wanna give up and times when you'll think you're too dumb to be a programmer but don't listen to that. All you have to do is keep learning and growing as a programmer and before you know it you'll be able to build literally anything you want to.

  • @ericvankampen5619
    @ericvankampen5619 Před 4 lety +78

    I think Harvard should strongly consider paying you as a teacher. You have a true talent for it. I say that from experience because in my previous career I was head of training people and it is no easy feat to make things digestible for others. You have a great ability to explain things in a way that makes it easy for all to assimilate. Sign of a great teacher!!

    • @CS50MadeEasy
      @CS50MadeEasy  Před 4 lety +16

      Thank you so much for your kind words! It really means a lot :)

  • @Ihopeyoureokay
    @Ihopeyoureokay Před 4 lety +68

    Thank you so much, I have 0 knowledge on coding, the jump from scratch to this was a bit much , thank you for explaining this so well.

    • @CS50MadeEasy
      @CS50MadeEasy  Před 4 lety +6

      My thoughts exactly! Glad this helped :)

  • @dhirenvatvani9317
    @dhirenvatvani9317 Před 4 lety +118

    I guess its simple after all...I can't believe i was stuck for 2 days on this pset. Good job explaining Mr. Mario!

    • @CS50MadeEasy
      @CS50MadeEasy  Před 4 lety +9

      Haha don't worry, took me a couple of days to figure it out as well. It's a challenging problem set but keep on going! Glad I could help :)

    • @CS50MadeEasy
      @CS50MadeEasy  Před 4 lety +19

      @@ahmedathir6956 Yes! But the jump from Week 0 to Week 1 is one of the biggest, so don't worry!

    • @mohammadmuneeb3922
      @mohammadmuneeb3922 Před 4 lety +11

      Man i thought i was the only who was stuck its been a day😂

    • @TheElJoyHunter
      @TheElJoyHunter Před 4 lety +5

      Im stuck there for aweak

    • @jojobaggins6501
      @jojobaggins6501 Před 3 lety

      @@CS50MadeEasy I need help

  • @karabum01
    @karabum01 Před 2 lety +50

    I was stuck on this for like 3 weeks. Thanks for the explanation. The way you explain with the word file is just something us beginner needs.😄

  • @mr_mr
    @mr_mr Před 4 lety +41

    The explanation you did in the doc around 8:30 is so helpful. Thank you! The nested logic was something I just wasn't catching before this.

  • @youtubeweb3009
    @youtubeweb3009 Před 4 lety +25

    I'm 15 and i just started programming two days ago without any knowledge about programming so i decide to take cs50 course and baammm I'm having a hard time figuring this out but thanks to you sire I've understood it now
    Also I've watched your other videos and damn
    Hope this won't make you uncomfortable but
    I really like you sire you're so cool and you're oozing with intelligence.I hope I'll meet a guy like you.
    Thank you!!

    • @CS50MadeEasy
      @CS50MadeEasy  Před 4 lety +3

      Yoo thanks for the kind words! All the best for the course :)

    • @youtubeweb3009
      @youtubeweb3009 Před 4 lety +6

      @@CS50MadeEasy Not all heroes do wear capes

    • @ahanabhassan6246
      @ahanabhassan6246 Před 5 měsíci

      @youtubeweb3009
      How's it going bro? it's been 3 years...btw i'm also 15 now and doing cs50😁.

    • @youtubeweb3009
      @youtubeweb3009 Před 4 měsíci +1

      @@ahanabhassan6246 Hi, unfortunately, I wasn't able to finish the course, and, damn, it's been 3 years already huh. I am, however, currently studying Computer Science and on my 2nd year college now. I sincerely hope you'll be able to finish this course, best of luck!

  • @cth95mustang
    @cth95mustang Před 4 lety +35

    Awesome job man! I was really pumped to start taking this course until I saw this problem set. I had followed along with everything, and really felt like I was getting it all. Then they dropped this bomb of a problem as the FIRST one, and I was like, "oh well, I guess I'm done with this course." You explained it very well. I wish other teachers would break down problems like this into manageable chunks, a little bit at a time, to show the concept.

  • @faye2860
    @faye2860 Před 3 lety +20

    I just started CS50 this fall and I have no prior computer science experience. This was extremely clear and helpful! I feel like I was able to grasp the concept and not just copy your solution. Thank you so much!

    • @funkeediscotek
      @funkeediscotek Před 2 lety +1

      Me too, no prior computer science experience. I found that this helped me understand what every part of the process meant. I like that you didn't just assume we knew certain basic things-- because I had some gaps in my general knowledge, which these videos got rid of. Also I like how you patiently and thoroughly explained each part of the process, including the simple math and the google doc.

  • @joshuaboyell779
    @joshuaboyell779 Před rokem +4

    Because the column loop is nested in the row loop, every time row is increased, column is initialized to 0.
    This is the most important sentence. Thank you for pointing this out so succinctly.

  • @boarder9snow
    @boarder9snow Před 2 lety +18

    I seriously can't thank you enough for doing this! Couldn't wrap my mind around getting from the block to the pyramid and how you explained it made things click. Keep up the amazing work!

  • @chelseajayvosloo-nevin379
    @chelseajayvosloo-nevin379 Před 2 lety +12

    I know this video was posted almost 2 years ago but I just came across it and it was such a blessing. I knew what I had to do for this problem set but I had no idea how to turn what I was thinking into actual code and you just explained it all so perfectly, i feel so much more confident after watching this. Thank you so much ! :)

    • @CS50MadeEasy
      @CS50MadeEasy  Před 2 lety

      Thanks for the kind words Chelsea. Glad it helped! :)

  • @piotr5646
    @piotr5646 Před rokem +14

    I will leave the code here if anyone is still confused.
    #include
    #include
    int main(void)
    {
    int height, row, column, space;
    do
    {
    height= get_int ("height: ");
    }
    while (height < 1 || height > 8);
    for (row = 0; row < height; row++)
    {
    for (space = 0; space < height - row - 1; space++)
    {
    printf(" ");
    }
    for (column = 0; column

    • @skaterman-ml3cw
      @skaterman-ml3cw Před měsícem

      bro really really thank you I have been stuck for more than two hours and could not find the problem with my code❤❤😁😁😁😁😁😁

  • @felixlaw8377
    @felixlaw8377 Před 4 lety +28

    Thanks man, i was getting so frustrated on this first problem set and i was going to give up on this course. but your video really made the logic much more understandable !!

  • @CS50MadeEasy
    @CS50MadeEasy  Před 4 lety +66

    Make sure to comment any questions you have, I will do my best to respond to all questions! Also feel free to like the video if it helped you, and subscribe for tutorials on other problem sets :) If you feel like you need private tutoring to complete the course quickly or just need some extra help, feel free to fill in the form at cs50madeeasy.com or email me at rahul@cs50madeeasy.com for enquiries :)

    • @CS50MadeEasy
      @CS50MadeEasy  Před 4 lety +5

      you don't really need to fill the pseudocode.txt file, if you're inclined to write pseudocode, you can even do it on notes or word!

    • @shubs.
      @shubs. Před 4 lety

      CS50 Made Easy Really? When i try to type in the basic commands nothing comes up. Do you have a social media account where i can contact you and show you pictures so I can show you the problem?

    • @timpumpkin3922
      @timpumpkin3922 Před 4 lety +2

      Am I allowed to use this for help, I want to know because I don't wanna look like I'm cheating

    • @nevaehwalker5052
      @nevaehwalker5052 Před 4 lety

      Thank you!!

    • @cjnwogu1425
      @cjnwogu1425 Před 4 lety +2

      Everytime i try
      $ make mario
      I receive "make: *** No rule to make target 'mario'. Stop.

  • @ylazz001
    @ylazz001 Před 2 lety +7

    I have been going nuts on understanding nester for loops for a day and a half. This was the clearest explanation I could find. Finally. Thanks, great job

  • @vaibhav3874
    @vaibhav3874 Před 4 lety +44

    This was fantastic! I'm speechless-you're an amazing teacher! Thank you so much!!!!!! I subscribed and I'm looking forward to more content!

  • @MilkyWayjay7
    @MilkyWayjay7 Před 4 lety +7

    Thank you for the tutorial! I honestly don't know how people who are just beginning to learn programming are about to complete this course in a reasonable time frame; the lectures cover so much material so quickly and then they just give you a brief rundown of what you need to complete each problem within the set, it's like alright this will probably take me 8 hours to actually comprehend.
    The week 0 scratch game alone took me more than 3 days to complete just to get my snake game to work properly without outside help from youtube.
    Anyways this channel helped me digest the problem set within 18 minutes instead of 100 mins so I am very thankful @CS50 Made Easy :)

    • @CS50MadeEasy
      @CS50MadeEasy  Před 4 lety +1

      Glad to hear! Thanks for taking the time to comment my guy :)

  • @agnesmachowski6840
    @agnesmachowski6840 Před 4 lety +4

    You are an AMAZING teacher!!! During COVID lockdown I decided to learn new skills of coding and I took the online CS50 course in order to get some exposure to programming. I have NO programming experience and the Mario #1 assignment was very challenging for me... I cannot believe I actually understand it now, because of your fantastic video!!!
    Thank you so much. I am looking forward to watching more videos and learning more from you!

  • @usyntest7034
    @usyntest7034 Před 4 lety +11

    3:30 - making the pyramid
    12:30 - converting right aligned pyramid to left aligned

    • @YoIntangible
      @YoIntangible Před 2 lety

      i don't get the way he found it i had gotten to this point on my own #
      ##
      ### but i was lost from 12:30 onward

  • @thenathanimal2909
    @thenathanimal2909 Před rokem +1

    I spent about 6 hours staring at this problem and not even beginning to comprehend a solution.
    I was literally going to try and nest 8 for loops that would trigger and print sequentially depending on the user input; and I had idea how or if this would work. I appreciate Harvard offering this class for free, and the professor in general is extremely good, however I felt profoundly unequipped to solve this by the lectures and notes.
    I really want to learn to code and so came here to learn the methodology of this problem in order to understand the craft of coding; Thank you so much for your help.

    • @glungusgongus
      @glungusgongus Před měsícem

      I havent even watched this video cause I dont want the answer yet but the question is just horrible. Just a not fair at all question to solve.

  • @dustinstratton2946
    @dustinstratton2946 Před rokem +2

    So I just have to say that it amazes me that there are people like you who take the time out of there lives to help explain, what is to me a very complex procedure, how to understand these problems. Your awesome.

  • @3daysgracegirl4ever
    @3daysgracegirl4ever Před 4 lety +9

    Thank you! This made me able to understand what the program is doing. After watching this and doing the Mario easy version along with the video I was able to do the hard version on my own

  • @nexustech8669
    @nexustech8669 Před 2 lety +6

    Thank You!!!! I was stuck for awhile with two nested loops, little did I know I needed that third to help. The way you break it down and make coding so much easier is fantastic, keep up the great job!!!!

  • @anthonyavila7680
    @anthonyavila7680 Před 3 lety +6

    Thank you for the help, thousands of people have found this extremely helpful including myself!

  • @foncha08
    @foncha08 Před rokem +4

    If everyone explained the logic of everything the way you do, it would be easier to learn these things. Thank you so much!

  • @Shazbutt23
    @Shazbutt23 Před 8 měsíci

    thank you so much for this. I was racking my brain trying to figure out if there was something I missed. Turns out they just left out information. I am an absolute beginner and had no way to know that I wasn't playing with a full deck. The "hints" they give you don't really help at all and for me they led me down a rabbit trail. 5 minutes into your video I yelled at my screen "THAT MAKES SO MUCH SENSE!". So thank you truly for this info! I appreciate you so much!!!

  • @musicsaves71590
    @musicsaves71590 Před 2 lety +3

    Oh man. Thank you! I had all the pieces but was absolutely frustrated because I couldn't get them to fit together. You explained how these loops work in such an accessible manner. Again, thank you!

  • @halasus
    @halasus Před 2 lety +1

    I fell like cheating, but I woldnt be able to make it without this video, thanks dudo, you're awsome!

  • @RenatoChiapello
    @RenatoChiapello Před 2 lety +2

    at First I looked that the video was 18 minutes long and said no way, but you clearly took the time to explain everything so well that it was enjoyable and learned a lot, thank you!

  • @semple888
    @semple888 Před 2 lety +3

    These walkthroughs help me so much,
    Can you please keep uploading the rest of the weeks of CS50.
    thank you so much for helping everyone.

  • @Iskaera
    @Iskaera Před 4 měsíci

    I for the life of me couldn’t figure out why it kept adding an extra space but then when I switch from a while loop to a for loop it worked fine the first time. Thanks man this helped days of frustration 😂

  • @thomasbrittinghamjr.8508

    This was the best explanation that I found on the internet. Well done. Helped me understand the logic behind the code.

  • @kuhenelan
    @kuhenelan Před 4 lety +2

    Man it's the mathematical problem that is the crux of this problem. That's what I couldn't figure out. Thanks for this!

    • @mikesnow7852
      @mikesnow7852 Před 3 lety +1

      @Kuhen Elan -- exactly! I knew it had something to do with the "negative" space before the #s, but that math doh!

  • @laurawoodside7529
    @laurawoodside7529 Před 4 lety +5

    This is the best video I’ve seen yet. I love how you break it down in a separate document; it really helped me to understand. Please do more!

  • @trangbui4034
    @trangbui4034 Před 4 lety +1

    I just finished mario more comfortable after getting stuck almost 2 days on both problems. But every effort turns into worthy moments. I’m so excited for the next following challenges...

  • @gswarriors220
    @gswarriors220 Před 2 lety +1

    duuuuuude!! thank you so much. i am a project manager and taking this class to transition into a more technical role .. so i have ZERO experience and background. your videos really have helped me understand and continue the course - you rock! God bless you

  • @carolynnovak2089
    @carolynnovak2089 Před 4 lety +8

    Thank you for taking the time to walk many of us through this. It's been extremely helpful!

  • @alyssa7337
    @alyssa7337 Před 4 lety +10

    Thank you so much for this! You’re an excellent teacher and explain things so well.

  • @pooopymist
    @pooopymist Před rokem +1

    You are so good at explaining these problem sets in detail.
    CS50 is really great, but they often seem to just hand you a problem and say "Good luck!"
    Well done!

  • @kis4kiana
    @kis4kiana Před 4 lety +2

    you are so awesome holy I've been stuck on this for a week, EDX should hire you!!

    • @CS50MadeEasy
      @CS50MadeEasy  Před 4 lety +1

      Thank you for the kind words! Haha maybe someday :)

  • @leonardoyangzon9834
    @leonardoyangzon9834 Před 27 dny

    This is really helpful. I'm trying to start my computer science journey and was totally stumped at this part. Thank you so much!

  • @haruttsormutyan6362
    @haruttsormutyan6362 Před 2 lety

    At least 200 beginners in this comment section were struggling from this problem, thank you so much my friend

  • @amaliadayle5137
    @amaliadayle5137 Před 4 lety +7

    Amazing tutorial! Thank you so much you are an excellent teacher and made it so much easier to understand.

  • @melodiediaz6401
    @melodiediaz6401 Před měsícem

    This was so good! You are a great teacher. Keep the videos coming! Just FYI for future comment readers, the 2024 specifications no longer require the "greater than 8" part

  • @LevyMegami
    @LevyMegami Před 9 měsíci

    This was huge, i felt so demoralized trying to figure this stuff out. The break downs of why each loop is working really helped it click.

  • @fuzzylogics139
    @fuzzylogics139 Před rokem +1

    Thank you so much for the calm step by step explanation sir! As someone who loves working on computers, finally started this course and now at week 1 (since 2 weeks, of which I re-watched the lecture 3 times plus the shorts AND the Section video) I am crashing into the fact that all I learned in math-class, now 3 decades ago.. was how to be invisible to the teacher.. But I will persist. Even if I have to cry and hollar my way through! After 3 days of thinking about this problem, I was getting there.. But at some point, just stuck-stuck. So I finally thought: you know what, if I was in a physical University I would go ask my peer or teacher for help by now. I mean it really is just like learning a new language. You're not going to learn what the word for "chicken" is unless somebody tells you it is "Poulet" in French, right? No shame my fellow students in the comment section!

  • @LittleSunshineGrace
    @LittleSunshineGrace Před 4 lety +4

    Thank you very much. I was having a very hard time figuring out how to solve this but your video had helped me better understand it. Everything makes sense now.

  • @Litehamer
    @Litehamer Před rokem

    Like many others I a am a complete beginner with no prior knowledge at all. Problems 1 was so far beyond e I thought I must have missed a couple of lectures. I am not sure if I am missing some reference material but I didn't get any of it. I purchased a laptop as I didn't;t have a computer and went for the highest spec I could hoping this would be the first of many courses etc. I was on the verge of selling it on eBay and giving up as I couldn't see where to start let alone finish. I didn't want to copy a solution from the internet, as that wouldn't increase my understanding. However, your guide was great and by the end of the second review I fully understood what lines were doing what.
    Thank you for the amazing work. I may just keep this laptop and study on the commute as planned.

  • @lauraandrade5966
    @lauraandrade5966 Před 4 lety +2

    I already finished the problem but watching this made me understand so much more. You're an amazing and clear teacher thank u legend

  • @JoeJoe-vn8lf
    @JoeJoe-vn8lf Před 4 lety +3

    You do an excellent job explaining the process of writing code for this example. It made it easy to understand and follow. I am new to programming and this helped me a lot. Thank You, Please keep up the good work

  • @genesisasmr6874
    @genesisasmr6874 Před 9 měsíci

    my man's a genius, thank you so much, it actually has so much sense but somehow I couldn't figure it out by myself

  • @jrupp2823
    @jrupp2823 Před 4 měsíci

    thank you rahul. i did the left align pyramid no problem but the right aligned one was making me reconsider all of my lifes choices

  • @a.d.c.3553
    @a.d.c.3553 Před 3 lety +1

    I haven't even watched the video yet but THANK YOU THANK YOU THANK YOU!
    I have been racking my brains for the past few days trying to figure out this stupid thing.
    THANK YOUUUUUUU!!

  • @riffslayer1319
    @riffslayer1319 Před rokem

    Thanks for the help man, I was beginning to think I'm too dumb for computer science, but this gave me some hope. This is the first time writing anything outside of the "Hello, world" staple, and its not intuitive for a beginner.

  • @nickparsons3194
    @nickparsons3194 Před 10 měsíci

    You are a legend was really losing confidence already after just starting and getting stuck on the first problem set. The way you broke everything down was super helpful for someone who has never coded a day in their life

  • @beatrizhelena4528
    @beatrizhelena4528 Před rokem

    I started right, but in the "for" I LOST MYSELF and didn't know what to do. U saved me, thank u.

  • @justanothernobody7142

    Thanks for the walkthrough. I spent an hour on this trying to do it on my own and failed. It made me want to give up. They keep saying that a lot of people doing this course are new to programming but It seems crazy that they expect someone new to coding to be able to solve this problem so early on. It goes from zero to 100 fast. The task before this was just getting a user input and printing it on screen then in the very next task is this. I was expecting a Harvard course to be better thought out.

  • @strizzyallen959
    @strizzyallen959 Před 5 měsíci

    I have been stuck on the for loops and how to incorporate them to get this pset to work for a couple days and im glad I found your video. Thank you!!!

  • @kingkarrot9304
    @kingkarrot9304 Před 2 měsíci +1

    I’m sure this is nothing to someone who understands code, but this is insane for someone’s 1st code problem

  • @vibiririri
    @vibiririri Před 11 měsíci

    I wasn't having any issue with the nested loops, it was the fact you could use subtraction in the statements within the for loops which is what had me. Thank you so much!

  • @hanieg2236
    @hanieg2236 Před 3 měsíci

    Thank you so much for such a DETAILED and easy to understand video! You are an amazing teacher!

  • @Woutahh
    @Woutahh Před měsícem

    I got super stuck because they make you create a seperate function for the nested loops, which made me super confused with passing the variables etc. The way you explained it here makes so much more sense to me and how I would have probably done it too if I didnt feel like I had to use seperate functions. Either way thanks so much!

  • @yeeroy
    @yeeroy Před 3 lety +2

    Thank you so much for breaking everything down and even explaining step by step by something is the way it is. You're a great teacher!
    Really helps those of us out who are trying to make a career change and have no CS background at all :)

  • @lysstech
    @lysstech Před rokem

    thank you very much i'm from Brazil and besides the difficulty of learning in English was not managing to solve this problem on youtube I found nothing in Portuguese missing 2 months to finish my course almost gave up saved my dream today!

  • @royalbunny2582
    @royalbunny2582 Před měsícem +1

    I've been stuck on Pset1 for a while as wel, ill come back after years to see this comment and remember the day I couldnt solve this when ill became a pro at it

  • @fayehand6090
    @fayehand6090 Před 4 lety +1

    I have been struggling to understand how the nested loop works but you made it really simple to understand, thank you so much!

  • @damonmlinaric9254
    @damonmlinaric9254 Před 3 měsíci

    i watched lecture 1 twice before i actually understood a lot of it properly and still got really confused with problem set 1.I think they did a good job teaching you what everything means and i know i was going to have to use a few for loops but i messed around for 3 days straight all 3-5 hours before finally caving and looking at how someone else did it.i see where i got confused which is great bc ill learn but i hope i get a lot better at working this out for myself eventually.thank you for the help and more importantly the explanations Rahul :)

  • @holysmokes4493
    @holysmokes4493 Před rokem

    I was a just step or two away from getting the answer! I'm swearing up and down my room right now.
    Great video, man. Thanks for the help.

  • @karenstoodley1431
    @karenstoodley1431 Před rokem

    OMG! I have spent about 20 hours on this and searched and watched so many videos, checked GTP for help...finally someone explains it clearly. Thank you soooooo much!

  • @pranavramaswamy5319
    @pranavramaswamy5319 Před 2 lety +1

    well done.
    scratch to this was hard for me - zero programing exp.

  • @ericvankampen5619
    @ericvankampen5619 Před 4 lety +1

    Thank you very much for taking the time to make this video. I have lost my job because of Coronavirus and decided to make use of the time during lockdown to learn coding. Was about to give up because I couldn't find any useful resources online and I find the Harvard course quite esoteric in it's choice of teaching method. When I succeed at making my career change I will be thinking of you! Thanks for the help.

    • @CS50MadeEasy
      @CS50MadeEasy  Před 4 lety

      Yoo thanks for the kind words, all the best!

  • @chrisjarisch
    @chrisjarisch Před rokem

    Wow! Absolutely brilliant explanation, as everyone else has said. Ive been struggling with this problem for 2 days. I cant even tell you how many articles Ive read on Stack Overflow, Reddit, etc. Ive been sooooooo close....but nothing 'clicked' till this video. Thanks so much!

  • @eppingdb
    @eppingdb Před rokem +1

    Thank you very much for the insights on "how to think." More than just a how-to-do, it opens a new way to see and face the problem in order to find the solution. Great work!

  • @josephgallegos7690
    @josephgallegos7690 Před 2 lety +1

    honestly you saved my brain from the last few hours of processing, thank you for your help!

  • @jetsetchlo8519
    @jetsetchlo8519 Před 4 lety +2

    This tutorial made it so much easier to understand. Thank you!!! I watched other tutorials, but they were so confusing.

  • @idontknowwhattoputhere371

    I don't usually comment on videos but jeez this was the only video that helped me, instructions were clear and simple. You're an extremely good teacher :) thank you!

  • @tdaswani
    @tdaswani Před 4 lety +4

    If i had seen this when I had done my PSET, I would have probably taken half the time!! This made me realize there were better ways to do the pset lol

    • @CS50MadeEasy
      @CS50MadeEasy  Před 4 lety

      There are many different ways to do it, this is only one! Thanks for your comment :)

  • @Betwazzled
    @Betwazzled Před 4 lety

    This information is incredible. Almost every video or guide for CS50 psets just walks you through to the answer without really explaining the mechanics behind it. I'd see a loop and think "okay I'll try and remember that." However, you stop and explain in a bitesize way that is perfect for beginners like me. When you were explaining the rows and columns in the google doc it just clicked for me and I finally understood the nature of the loops. Thanks so much.

  • @Ajesen
    @Ajesen Před rokem

    every programmer ever: It makes complete sense/it's super simple really
    jokes aside, you did explain it very well and thank you

  • @miadoesmanythings
    @miadoesmanythings Před rokem

    Literally had multiple breakdown bc of this pset. You are a LIFESAVER!!

    • @Koyomi9
      @Koyomi9 Před rokem

      It is indeed frustrating

  • @himanshkohli6805
    @himanshkohli6805 Před 2 lety

    Thank you so much. The way you went over the problem in the google doc as if you were the program itself really helped me understand.

  • @glorytoglorzo5591
    @glorytoglorzo5591 Před 2 lety +1

    cs50 harvard lecture: check out scratch, cool huh
    first problem: ok now combine a do/while loop with a nested for loop

  • @2snish
    @2snish Před 4 lety +1

    You explaination and friendly attitude is so helpful.I like how you used lot of time and explained everything to the detail so people are able to grab the complete thing without just replicating this code and can try add their own mix of alteration to the code once they understand how its supposed to work.
    Thanks a lot !

    • @CS50MadeEasy
      @CS50MadeEasy  Před 4 lety

      Thanks for the kind words, glad I helped! :)

  • @southmcwow
    @southmcwow Před 2 lety

    I was struggling on this one a lot. Your explanations made it all make sense so now when I'm sitting here looking at the code I wrote, I can actually understand the why to it displaying the pyramid. Thank you.

  • @matueszgabrys1161
    @matueszgabrys1161 Před 2 lety +1

    Dude you're an amazing teacher

  • @megaraph5551
    @megaraph5551 Před 4 lety +4

    bruhhhhh, I'm so stupid. I could've solved it if only I knew loops nested in loops reinitialize to 0. Thank you so much for pointing that out brother!

    • @megaraph5551
      @megaraph5551 Před 3 lety +1

      Update: Wow 9 months ago? Felt like 2 years already. Seeing this comment makes me so proud of myself. I've already built 3 web apps and more to come. Thank you CS50 and this channel for making my Computer Science journey memorable and fun!

  • @runricksanchez
    @runricksanchez Před rokem

    Man, am a political scientist with absolutely zero background in computer science. Thanks for the walkthrough. God bless you.

  • @clevebissoon2354
    @clevebissoon2354 Před rokem

    Bro that for loop explanation is AMAZING!

  • @veronicadiaz9454
    @veronicadiaz9454 Před rokem

    I tried and tried may hours and I couldnt find a solution, until I decided to use youtube, its very difficult, Im new to coding and for a moment I felt depressed that this might be too difficult for me, thank you, you helped me a lot!

  • @I_am_nooh
    @I_am_nooh Před 2 lety

    Thanks buddy, we south asians rock teaching stuff in CZcams!

  • @wellsaudeperformance
    @wellsaudeperformance Před 4 lety +1

    Man, congratulations, you are a great teacher.
    Something that is not clear to me yet is the formula of spaces when you set it up into the code
    (space =0; space < height - row - 1; space++)
    Well, why space < height, and what about the addition of another space from the space++, it is not supposed to add another space at the end?
    Thank you in advance

  • @southmcwow
    @southmcwow Před 2 lety

    Wanted to comment again with thanks for explaining how the for loops are working. I've been really struggling with grasping them and it was making me not actually understand how the code is working. I've been taking notes as you explain the for loops and it just clicked. The breakdowns you do are so incredibly helpful. Thanks so much.

  • @srishtimiglani6733
    @srishtimiglani6733 Před rokem

    Thank you SO MUCH for making this video. Almost gave up on the CS50 course and I'm so glad I came across this. The way you explained it all and broke it down into small bits was super helpful. Thank you!!

  • @f00tm4st3r
    @f00tm4st3r Před 10 měsíci

    dude, this explanation made it so i could figure out the "more comfortable" one on my own! thank you so much, you're a fantastic teacher :)

  • @mateuszbaszkowski1429
    @mateuszbaszkowski1429 Před 2 lety

    man, thx a million. I was struggling with this for two days, and couldn't figure out how to put the formula in the code. now it makes sense. Thanks to u now I'm going to do Mario.more hopefully on my own.

  • @nachonovo04
    @nachonovo04 Před 5 měsíci

    That was a good video explaining the solution to the problem in an easy to understand way, Rahul. I can see what you mean about noobs with zero programming experience quitting the course after the first week, in your video warning about the CS50 course. I have a bit of experience in Java and C#, and can see how someone without prior programming experience, a programmer's/problem solver's/mathematician's mindset could struggle with this.

  • @2lani777
    @2lani777 Před měsícem

    For anyone struggling with this get the book “java in two semesters” , different language but if you get java you’ll get C (similar language).
    They literally explain the logic in the iteration chapter!