Algorithms Illustrator
Algorithms Illustrator
  • Видео 14
  • Просмотров 382 385
CS50 PSET7 Movies, Houses SQL Solutions
This video is a live walkthrough of CS50x Problem Set 7 in the SQL Programming Language.
Feel free to leave any questions in the comments below!!
Timestamps:
0:00 - Disclaimer
1:50 - Movies
57:27 - Houses
Here is the complete course: cs50.harvard.edu/x/2020/
The problem set solved in the video: cs50.harvard.edu/x/2020/psets/7/
CS50 Official Discord Group: discord.gg/cs50
All problem set presented in this video is owned by Harvard University
Просмотров: 29 354

Видео

CS50 PSET6 Cash, Credit, Mario,Readability, DNA Python Solutions
Просмотров 45 тыс.4 года назад
This video is a live walkthrough of CS50x Problem Set 6 in the Python Programming Language. Feel free to leave any questions in the comments below!! Timestamps: 0:00 - Mario Less 8:33 - Mario More 10:40 - Cash 14:55 - Credit 27:57 - Readability 34:48 - DNA Here is the complete course: cs50.harvard.edu/x/2020/ The problem set solved in the video: cs50.harvard.edu/x/2020/psets/6/ CS50 Official Di...
CS50 PSET5 Speller Solution
Просмотров 37 тыс.4 года назад
This video is a live walkthrough of CS50x Problem Set 5 in the C Programming Language. Feel free to leave any questions in the comments below!! Timestamps: 0:00 - Disclaimer 0:52 - Speller Here is the complete course: cs50.harvard.edu/x/2020/ The problem set solved in the video: cs50.harvard.edu/x/2020/psets/5/ CS50 Official Discord Group: discord.gg/cs50 All problem set presented in this video...
CS50 PSET4 Filter Less, Filter More, Recover Solutions
Просмотров 54 тыс.4 года назад
This video is a live walkthrough of CS50x Problem Set 4 in the C Programming Language. Feel free to leave any questions in the comments below!! Timestamps: 0:00 - Filter Less 35:57 - Filter More 52:07 - Recover Here is the complete course: cs50.harvard.edu/x/2020/ The problem set solved in the video: cs50.harvard.edu/x/2020/psets/4/ CS50 Official Discord Group: discord.gg/cs50 All problem set p...
CS50 PSET3 Plurality, Runoff, Tideman solutions
Просмотров 53 тыс.4 года назад
This video is a live walkthrough of CS50x Problem Set 3 in the C Programming Language. Feel free to leave any questions in the comments below!! Timestamps: 0:00 - Plurality 17:33 - Runoff 48:20 - Tideman Here is the complete course: cs50.harvard.edu/x/2020/ The problem set solved in the video: cs50.harvard.edu/x/2020/psets/3/ All problem sets presented in this video is owned by Harvard Universi...
CS50 PSET2 Readability, Caesar, Substitution Solutions
Просмотров 36 тыс.4 года назад
This video is a live walkthrough of CS50x Problem Set 2 in the C Programming Language. Feel free to leave any questions in the comments below!! Timestamps: 0:00 - Introduction 0:54 - Readability 16:16 - Caesar 36:50 - Substitution 55:45 - Summary Here is the complete course: cs50.harvard.edu/x/2020/ The problem set solved in the video: cs50.harvard.edu/x/2020/psets/2/ CS50 Official Discord Grou...
CS50 PSET1 Hello, Mario More, Mario Less, Cash, Credit Solutions
Просмотров 60 тыс.4 года назад
DISCLAIMER: The following videos are for educational purposes only. Cheating or any other activities are highly discouraged!! Using another person's code breaks the academic honesty guidelines. This solution is for those who have finished the problem sets and want to watch for educational purposes, learning experience, and exploring alternate ways to approach problem and is NOT meant for those ...
Least Common Ancestor of Binary Tree Algorithm (Also Leetcode 236 Solution)
Просмотров 5846 лет назад
leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree/description/
Leetcode #5 - Longest Palindromic Substring (Solution)
Просмотров 17 тыс.6 лет назад
leetcode.com/problems/longest-palindromic-substring/description/
Leetcode #387 - First Unique Character in a String (Solution)
Просмотров 3,2 тыс.6 лет назад
Leetcode #387 - First Unique Character in a String (Solution)
Leetcode #670 - Maximum Swap (Solution)
Просмотров 9 тыс.6 лет назад
leetcode.com/problems/maximum-swap/
Leetcode #617 - Merge Two Binary Trees (Solution)
Просмотров 10 тыс.6 лет назад
leetcode.com/problems/merge-two-binary-trees/description/
Leetcode #2 - Add Two Numbers (Solution)
Просмотров 9 тыс.6 лет назад
Leetcode #2 - Add Two Numbers (Solution)
Leetcode #1 - Two Sum (Solution)
Просмотров 20 тыс.6 лет назад
Leetcode #1 - Two Sum (Solution)

Комментарии

  • @jackbaker995
    @jackbaker995 3 месяца назад

    damn you made it look like 1 == 2 :3

  • @AdityaSinha-w9h
    @AdityaSinha-w9h 4 месяца назад

    finally someone explained tideman in an understandable way, thank you for giving me clarity. I have read the disclaimer, I wont copy your code, in stead I feel confident, that I can use recursion technique now.

  • @carnagexp3054
    @carnagexp3054 5 месяцев назад

    SURPRISINGLY I AM WATCHING IT ON THE SAME DAY YOU MADE THIS and i found out by looking at the date on you laptop it wass really trippy ..

  • @ImanAbdelhadi-w3i
    @ImanAbdelhadi-w3i 6 месяцев назад

    i find a solution in chat gbt four but did'nt understand anything , when i watch your vedio i understand it soo good thank you brother

  • @jaelsonperdisch9703
    @jaelsonperdisch9703 7 месяцев назад

    I ended up receiving the answer from chatgpt, as I didn't want to research anything and I was already confused by the explanation... if I had found your channel in time, I would have done it without researching... :( . (Now I'm going to read and understand what he told me, even if it's cheating, I'm going to research and clear all my doubts and also understand the logic of his video, especially the lock_pairs part, where I was confused and couldn't...) I didn't want to get the answer... sorry.

  • @ashhhkan
    @ashhhkan 7 месяцев назад

    Thank you for the video, wondering what's your vscode's theme?

  • @AnaJulia-yl5mm
    @AnaJulia-yl5mm 8 месяцев назад

    How do you load the image?

  • @Eterackbroad
    @Eterackbroad 9 месяцев назад

    I don't think your code is totally correct, what if while looping through locked[i][winner] the are two locked pairs which are true and the first one leads to the cycle. Your code skips the first and store the winner after that, which might not necessarily lead to the cycle. For example, if we had 6 candidates {0, 1, 2, 3, 4, 5, 6} and the graph goes like 5 -> 1 3 -> 5 2 -> 5 1 -> 2 " 1 -> 2" creates a cycle but when your code is looping locked[i][winner] in has_cycle function for this, it gets to 2-> 5, makes winner = 2 which is the path that leads to the cycle, but then changes winner = 3 which doesn't lead to the cycle before checking if winner = 2 leads to a cycle. Hope i'm making sense 😅

  • @SajNT
    @SajNT 10 месяцев назад

    Simply illuminating. Its 2024 now and this by far is the most indepth explanation video for the Tideman problem set I've ever came across. I finally understood the concept at the 1:00:00 mark. Thank you and subscribed!

  • @FeverDev64
    @FeverDev64 11 месяцев назад

    Man it was tough to visualize but this video helped me understand the question in a much clearer way. I do have prior programming experience, however with the lack of more advanced ds, it does become really difficult. Now I appreciate OOPs!

  • @user-ex5pg3oy9c
    @user-ex5pg3oy9c 11 месяцев назад

    It's [tidiman], not [taidman]

  • @aeratorbd
    @aeratorbd Год назад

    You can add a function per time section for tideman .

  • @victorsenaxD
    @victorsenaxD Год назад

    Thanks you for taking some of your time to do this videos for begginers, cheers from Brasil!

  • @nikolašimović-o4t
    @nikolašimović-o4t Год назад

    well done for this. i have question for recover, why did you put number 100 in "char filename[100];"

  • @jr.furtado283
    @jr.furtado283 Год назад

    Thanks for the great explanation! Tideman was really challenging and you make it looks much more easy!

  • @Matrix.Unveiled
    @Matrix.Unveiled Год назад

    I got stuck in the locked array part, this was a amazing solution. Thank you😊

  • @ElHassene
    @ElHassene Год назад

    Thanks for the subtle explanation! Helped a lot!

  • @jlecampana
    @jlecampana Год назад

    Awesome, for a very long time I struggled to find a better solution than brute force for this problem! This is it!

  • @rayli6640
    @rayli6640 Год назад

    I have watched over five videos explaining recursion, and you are the best and clearest programmer in delivering the concept.

  • @igorbahia1135
    @igorbahia1135 Год назад

    Amazing Bro, thank you very much!!!!!

  • @brijeshkumarverma1223
    @brijeshkumarverma1223 Год назад

    Chutia explanation bc

  • @ranenhabib9782
    @ranenhabib9782 Год назад

    This editor looks cool. What is it?

  • @chilledxaura
    @chilledxaura Год назад

    Perfect perfect perfect. I felt like I was keeping track of four different arrays and lists in my head. Your thought process was the best out of the eight videos i’ve seen for this problem. Thank you you’re the best!

  • @elmyrza_ken
    @elmyrza_ken Год назад

    are u indian?

  • @parvezahmed6936
    @parvezahmed6936 Год назад

    Excellent Explanation. I love his details. He literally visualize every action with given examples. Love you Man!

  • @ReplayMastersTekken
    @ReplayMastersTekken Год назад

    somehow i kinda did it at the same time im still confuse how the 3 for loops work

  • @karlasdzonsonas2993
    @karlasdzonsonas2993 Год назад

    Doesn't work

  • @antotot04
    @antotot04 Год назад

    I don't know what to do! I've finished this pset on my own two days ago, i'm sure 110% that my code is working (i've compared it in all the possible ways with the solutions of the staff) but as soon as i run the CS50 check in the terminal all allerts are red! I'm sure my code is fine. What can i do? at this point how can i contact cs50 in order to solve this technical problem? i don't want to submit it becuase, with this technical error (which is not mine) I could compromise my total score in the course so far.

    • @algorithmsillustrator3313
      @algorithmsillustrator3313 Год назад

      please get help in the cs50 discord channel (link in descirption). there you can find some helpful hints.

  • @Denise_travel
    @Denise_travel Год назад

    THANK YOU SO MUCH !!!!

  • @cherubeast
    @cherubeast 2 года назад

    22:24

  • @tommyadeleke1492
    @tommyadeleke1492 2 года назад

    Great video mate, really helped visualise the problem

  • @bocky777
    @bocky777 2 года назад

    Thank you for the clear explanation of the Luhn algorithm from 36:19 🙏

  • @iungorung
    @iungorung 2 года назад

    At 1:03:30 the condition for the first loop should be i < candidate_count - 1.

  • @morty3456
    @morty3456 2 года назад

    the sepia doesnt work with me i literally copy pasted it after many tries to do it on my own and it still doesnt work it compiles with no errors but it just returns the normal photo can u please help me find whats wrong

  • @Sensei-cm8fx
    @Sensei-cm8fx 2 года назад

    hey man, I need help :/ I'm stuck at this exercise.. I've done this exercise by myself, without browsing for videos.. and it worked very well, all my results were the same of the staff. even valgrind didnt return any leak of memory to me. but when I use check50, I just can't pass on the last check.. it says that my code isnt free of memory errors, and the output is the next one: :( program is free of memory errors expected "MISSPELLED WOR...", not "### unhandled ..." I did and remade my code, over and over again, I saw lot of videos to try to find out what was my mistake.. and after seeing your video I thought my problem would be done, I did exactly what you did, and the error persists.. what do I do?... please, I don't like to see errors in my code :b obs: my code is almost the same of yours but the hash function, i used a simples one that calculates the index of the letter in the alphabet..

    • @Sensei-cm8fx
      @Sensei-cm8fx 2 года назад

      edit: I've copied your code word after word, and the error persists.. so.. I guess the problem isn't in my code, but in the check50's compiler. one observation, I've done a change on N. N as const unsigned int was not even compiling in check50, so I browsed a solution and I used #define N (value), and it compiles in check50. I dont know if there are new features or changes since the course content has been made, so here I am reporting this.

  • @husseinsayegh9268
    @husseinsayegh9268 2 года назад

    thanks ur video made me understand nested for loops

  • @hadou5483
    @hadou5483 2 года назад

    thank you!!

  • @RenanL.S.
    @RenanL.S. 2 года назад

    1:04:24 why this ++? Where is this 1 being added? How? I can't understand it, and I an't find any video that explains this. How are we supposed to solve this if the lectures don't give us any clue about the problems?

  • @sahandsanaei3086
    @sahandsanaei3086 2 года назад

    in 1:38:00 when back tracing reaches to bob and bob is the loser of the new pair we are finding out whether to create a cycle or not, why would we skip david -> bob pair? I know that it creates a cycle but this cycle does not affect the source of the graph which is alive. I am really confused here since CS50 accepted this algorithm.

  • @HugoGibbs
    @HugoGibbs 2 года назад

    Thank you!! this really helped me understand how it works!

  • @HaiNguyen-tg5nk
    @HaiNguyen-tg5nk 2 года назад

    Why in sql 10 you can just select distinct name, how is that different with the 9 one

  • @مهندبدرة
    @مهندبدرة 2 года назад

    thx

  • @a.h.sarrafi6019
    @a.h.sarrafi6019 2 года назад

    36:17 the best😂😂😂

  • @lilchickennugget2752
    @lilchickennugget2752 2 года назад

    Why did using the “w” operator not overwrite the stuff in current_file if found_jpeg is true?

    • @OfficialSombrero
      @OfficialSombrero 2 года назад

      because its only starting a new file if the signatures for a new jpeg are found.

  • @brunodavis7303
    @brunodavis7303 2 года назад

    THANKS BRO!

  • @artiphoria
    @artiphoria 2 года назад

    I wonder how you went straight to submitting your code 32:32 before checking other tests or even trying check50. Brother, your code results grade3 in the first test only. To avoid getting other people into trouble, make it a habit to check50 before submitting. Also, you need to know about basic functions like (round) and (re) at least they have been indicated in the problem set. Coding/programming in general is all about testing all probabilities.

  • @youssefhassan1741
    @youssefhassan1741 2 года назад

    I couldn't solve add_pairs() function although my code is the same with your code.

  • @BruceNJeffAreMyFlies
    @BruceNJeffAreMyFlies 2 года назад

    How do you fit more than two elements into a bucket, with those lines? else{ new_node -> next = table[index] } implies that if the location is full, then it point to that location. Does that not mean that the second location will be replaced, if the second location is already full? I feel like the check needs to iterate over until it finds a null, rather than simply assuming the next location is already free?

  • @sayori3939
    @sayori3939 2 года назад

    i don`t know what the actual hell is going on with my code but my hastable magically becomes NULL inside the check function, if i print its contents right before the return in load function it`s all in there but then if i print it in the 1st line of the check function it`s null!!! OBS: only when using the small dictionary

    • @sayori3939
      @sayori3939 2 года назад

      so apparently that had nothing to do with the problem, and the problem was at my unload function, and for god knows reason it wouldn`t print anything on the 1st so because of that i thought the problem was at the check function, i hate C

  • @dem0aikido
    @dem0aikido 2 года назад

    Awesome... great knowledge of Python and really very good and understandable explanations.