No video

Data Structures - CS50 Shorts

  Рет қаралды 74,974

CS50

CS50

Күн бұрын

***
This is CS50, Harvard University's introduction to the intellectual enterprises of computer science and the art of programming.
***
HOW TO SUBSCRIBE
www.youtube.com...
HOW TO TAKE CS50
edX: cs50.edx.org/
Harvard Extension School: cs50.harvard.e...
Harvard Summer School: cs50.harvard.e...
OpenCourseWare: cs50.harvard.e...
HOW TO JOIN CS50 COMMUNITIES
Discord: / discord
Ed: cs50.harvard.e...
Facebook Group: / cs50
Faceboook Page: / cs50
GitHub: github.com/cs50
Gitter: gitter.im/cs50/x
Instagram: / cs50
LinkedIn Group: / 7437240
LinkedIn Page: / cs50
Reddit: / cs50
Quora: www.quora.com/...
Slack: cs50.edx.org/s...
Snapchat: / cs50
Twitter: / cs50
KZfaq: / cs50
HOW TO FOLLOW DAVID J. MALAN
Facebook: / dmalan
GitHub: github.com/dmalan
Instagram: / davidjmalan
LinkedIn: / malan
Quora: www.quora.com/...
Twitter: / davidjmalan
***
CS50 SHOP
cs50.harvardsh...
***
LICENSE
CC BY-NC-SA 4.0
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License
creativecommon...
David J. Malan
cs.harvard.edu...
malan@harvard.edu

Пікірлер: 47
@shanks1847
@shanks1847 3 жыл бұрын
Congrats you're nearly halfway through! Keep persevering, be positive and all the best for completing the course!
@katliang8039
@katliang8039 3 жыл бұрын
This message is lifting me up. I’m waiting for the sweet salvation of the higher level languages
@br3ak_
@br3ak_ 2 жыл бұрын
Theoretically nearly halfway, but practically week 5 ends the toughest part of the course, and it's an easy ride from here. People that 100%'d CS50 in the past know what I'm talking about. Took me 4 months to get to week 5, and 2 more months to finish the entire course.
@alialparslan2288
@alialparslan2288 2 жыл бұрын
@@br3ak_ It was such a relief to hear that. Thank you so much. I was progressing at a very good pace until the 4th week, but the 4th and 5th weeks were very difficult as a concept and I was driven to pessimism thinking that it would be like this from now on. Small posts like this under the videos make me feel very comfortable.
@laxshvrma
@laxshvrma 10 ай бұрын
Thanks bud really needed that ❤
@risafujii3369
@risafujii3369 4 жыл бұрын
Arrays - Insertion is bad. Lots of shifting to fit an element in the middle (inserting at the end is not as bad). - Deletion is bad. Lots of shifting to fit an element in the middle. - Lookup is great. Random access, constant time. - Relatively easy to sort. - Relatively small size-wise. - Stuck with a fixed size, no flexibility. Linked lists - Insertion is easy - just tack onto the front. - Deletion is easy - once you find the element (change a few pointers, then free a node). - Lookup is bad - have to rely on linear search. - Relatively difficult to sort - unless you're willing to compromise on super-fast insertion and instead sort as you construct. - Relatively small size-wise (not as small as arrays). Hash tables - Insertion is a two-step process - hash, then add. - Deletion is easy - once you find the element. - Lookup is on average better than with linked lists because you have the benefit of a real-world constant factor (imagine having your data broken down into multiple linked lists). - Not ideal if sorting is the goal - just use an array. - Can run the gamut of size (depends on how many buckets there are). Tries - Insertion is complex - a lot of dynamic memory allocation, but gets easier as you go. - Deletion is easy - just free a node. - Lookup is fast - not quite as fast as an array, but almost. - Already sorted - sorts as you build in almost all situations. - Rapidly becomes huge, even with very little data, not great if space is at a premium.
@risafujii3369
@risafujii3369 4 жыл бұрын
@irina lyrics You're welcome :D
@codedog2126
@codedog2126 4 жыл бұрын
Ok, thats your opinion, but thanks for sharing.
@DSkiter
@DSkiter 4 жыл бұрын
Code Dog It's literally just the transcript of the video tf?
@Zaii_3
@Zaii_3 3 жыл бұрын
Thank you so much! I was gonna take my notes xD
@camerontitus5822
@camerontitus5822 3 жыл бұрын
sorry to be so offtopic but does anybody know of a method to get back into an instagram account? I was stupid lost my login password. I love any assistance you can offer me.
@thefarhanpirzada
@thefarhanpirzada 4 жыл бұрын
It is taking me a lot of time to go through the problem sets now but I won’t give up.
@taovanrooyenreyes2543
@taovanrooyenreyes2543 2 жыл бұрын
Let's gooo!
@taovanrooyenreyes2543
@taovanrooyenreyes2543 2 жыл бұрын
I just saw you posted this two years ago, you probably already have a job
@thefarhanpirzada
@thefarhanpirzada 2 жыл бұрын
@@taovanrooyenreyes2543 unfortunately no and I also couldn’t complete the course as my laptop crashed in week 8 module. It was a 32 bit system and since I belong to a financially weak background I was never able to get the laptop fixed and hence couldn’t complete the course. What could’ve been! 🥲
@taovanrooyenreyes2543
@taovanrooyenreyes2543 2 жыл бұрын
@@thefarhanpirzada Dude, I'm so sorry to hear that. What are you doing now?
@thefarhanpirzada
@thefarhanpirzada 2 жыл бұрын
@@taovanrooyenreyes2543 nothing much man. Planning to study for a masters if I get a scholarship. What about you?
@seanlee566
@seanlee566 2 жыл бұрын
Man I really love the shorts and Doug's teaching, but damn the intros are way to loud.
@codedog2126
@codedog2126 4 жыл бұрын
C is coming back as a vintage language that hipsters program in.
@antimatter634
@antimatter634 4 жыл бұрын
There are fewer and fewer people as you go through the course. Sad
@totallynothuman4543
@totallynothuman4543 4 жыл бұрын
yeah, I'm lonely :(
@BenGarman
@BenGarman 4 жыл бұрын
It does get hard fast. There's not much time spent getting acquainted with ideas before they're introducing you to the next one. It's fine if you've got the patience and time to stumble your own way through and figure each new challenge out as they arise, but I can see that's not going to be practical for some people. I mean - they introduce Python in one week. Which online, translates to one < 2 hour lecture. To learn a language. That's not the easiest approach!
@manangaur7770
@manangaur7770 4 жыл бұрын
@@BenGarman tbh, if you look carefully, in the weekly lectures, shorts and notes, you will find everything you need to complete the psets. They put the solution to every pset in the lectures, notes and shorts combined. BTW, this is Harvard. It is expected to be demanding and time consuming.
@stefanmrvic4652
@stefanmrvic4652 4 жыл бұрын
@@BenGarman What would be the point if it were easy?
@iLlamas1
@iLlamas1 4 жыл бұрын
@@manangaur7770 I disagree, PSET 04 is a huge step in difficulty and you don't have the option to just get 70% or 80% right, like you did with the rest of the course, you NEED to get everything right.
@enisarik6002
@enisarik6002 4 жыл бұрын
This was a good summary!
@kattodoggo3868
@kattodoggo3868 3 жыл бұрын
I do not get people who says CS50 covers too much too quickly. Dude you have 1 year to finish course compared to me - 2.5 month. I have to submit certificate by the end of 2020 which means each week I have to complete each week assignment and I work at the same time. I would love to explore merge sort and algorithms more, memory and whole C but I simply do not have time. You on the other hand before jumping to next week, you have time to explore fully the topic of each week. I am not coding genius and probably not even mediocre pseudo coder but even if I am able to finish these assignments you are able to. Take your time. I struggle a lot but in the end I find a way to make my code work. Maybe it may be more efficient but I am beginner. If it works it works. And mind that everything you need to complete assigment is in the course and Doug's videos.
@julianarchila3671
@julianarchila3671 3 жыл бұрын
I agree with you. I am not a native English speaker, so it makes it a little bit harder, but i just try my best. And thankfully i have been able to complete each assignment, each week all by myself. If anyone is feeling like this is too hard, just calm down, go make a coffee and try it again. You know that you are learning when it is challenging. Don't give up.
@giantjupiter
@giantjupiter 3 ай бұрын
It would've been better had it been arranged in the form of a table of sorts
@t_oguz06
@t_oguz06 2 жыл бұрын
Thx Doug
@not_amanullah
@not_amanullah 4 ай бұрын
Thanks
@MarcoPanichiCom
@MarcoPanichiCom Жыл бұрын
Regarding Linked lists, I think there is a contradiction. You say the search is quite complicated. However you say that deletion is simple; yet to delete an item you must first search for it. Is there something I don't understand?
@zchforward
@zchforward 7 ай бұрын
Just consider searching as a individual part. So for insertion and deletion, the only thing you need to do is change the location of fornt and back node.
@GOODBOY-vt1cf
@GOODBOY-vt1cf 4 жыл бұрын
thank you!
Tries - CS50 Shorts
16:24
CS50
Рет қаралды 72 М.
Top 7 Data Structures for Interviews Explained SIMPLY
13:02
Codebagel
Рет қаралды 170 М.
Underwater Challenge 😱
00:37
Topper Guild
Рет қаралды 34 МЛН
Happy birthday to you by Tsuriki Show
00:12
Tsuriki Show
Рет қаралды 12 МЛН
ROLLING DOWN
00:20
Natan por Aí
Рет қаралды 11 МЛН
Kids' Guide to Fire Safety: Essential Lessons #shorts
00:34
Fabiosa Animated
Рет қаралды 16 МЛН
CS50 Cybersecurity - Lecture 1 - Securing Data
1:55:22
CS50
Рет қаралды 120 М.
Why Democracy Is Mathematically Impossible
23:34
Veritasium
Рет қаралды 1,3 МЛН
Hash Tables - CS50 Shorts
18:47
CS50
Рет қаралды 145 М.
3 Types of Algorithms Every Programmer Needs to Know
13:12
ForrestKnight
Рет қаралды 466 М.
Algorithms Explained for Beginners - How I Wish I Was Taught
17:38
Internet Made Coder
Рет қаралды 341 М.
What REALLY is Data Science? Told by a Data Scientist
11:09
Joma Tech
Рет қаралды 3,8 МЛН
How I would learn Leetcode if I could start over
18:03
NeetCodeIO
Рет қаралды 462 М.
Top 7 Algorithms for Coding Interviews Explained SIMPLY
21:22
Codebagel
Рет қаралды 362 М.
Underwater Challenge 😱
00:37
Topper Guild
Рет қаралды 34 МЛН