VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » freeCodeCamp.org
Data Structures - Intro to Computer Science - Harvard's CS50 (2018)

Data Structures - Intro to Computer Science - Harvard's CS50 (2018)

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
Learn about data structures in the c programming language. This course teaches the foundations of computer science. This video is lecture 4 of Harvard University's CS50 2018 course (part 5 since the lectures start at 0). Check out our full CS50 playlist: https://www.youtube.com/playlist?list=PLWKjhJtqVAbmGw5fN5BQlwuug-8bDmabi -CS50 IDE (must have free edX account): https://cs50.io/ -Handout: https://cs50.harvard.edu/college/guide.pdf -Notes: https://cs50.harvard.edu/x/2020/notes/4/ -Problem Set: https://cs50.harvard.edu/x/2020/psets/4/ -Source Code: https://cdn.cs50.net/2019/fall/lectures/4/src4.zip --Contents
Date: 2022-03-14

Comments and reviews: 7


-I want to store 500 ints - please give me room for 1500 - FoR PeRfOrMaNcE- ;)
Not only does it triple memory usage (in this case) or worse, it also relies on reading values from RAM which take houndreds of CPU clock cycles per value, which wouldn't be the case when accessing an array linearly (prefetching and cache line sizes i.e a CPU loads 64 bYtEs of contiguous memory each time it reads any value - linked lists additionally introduce cache misses and RAM bandwith waste).
Linked lists usecases are very limited, in addition to the provided reasoning being exceptionally misleading.

reply

Man the students really ask the right questions in these series. I've had alot of the same questions they've had and I was just hoping for some of them to ask David since I obviously can't, and they always do! Amazing stuff!
reply

Time complexity depends on the realization. I can make a list where inserting will be constant via pushing front but I also can make a list where inserting will be linear via pushing back.
reply

You can't hear all of the student's answers but some of them are so long and drawn out when their answer should have been quick and simple. You know those guys are full of themselves lol
reply

David is an awesome professor. I wish all teachers were like him. He holds such long lectures with such ease. I truly enjoy his lectures.
reply

I really like these videos. Please keep posting them.
I also really enjoyed the podcast and hope it comes back in the future.

reply

I request free code camp team to create a best basic coding course.especially pointer structure .array of structures. Please
reply
Add a review, comment






Other channel videos