Тёмный

How Data Structures & Algorithms are Actually Used 

ForrestKnight
Подписаться 544 тыс.
Просмотров 179 тыс.
50% 1

Attend NVIDIA's GTC 2024 on March 18-21, 2024 (virtually): nvda.ws/3kEyefH
For a chance to win an RTX 4090 signed by NVIDIA CEO, Jensen Huang, attend a GTC session and fill out this form with a screenshot of the session: forms.gle/cJ7xS9VrvzH52Anu9
If you're a developer, sign up to my free newsletter Dev Notes 👉 www.devnotesdaily.com/
So I’ve talked about some algorithms… and I’ve talked about some data structures. I’ve shown what they look like, how the code behind them works, why it’s important to choose the right ones, and mentioned how they’re used, but it’s been brought to my attention that I haven’t shown how they are used in an actual application. In this video, I do just that.
My Sessions of Interest:
GTC 2024 Keynote [S62542]: www.nvidia.com/gtc/session-ca...
The Magic of Innovation: A Conversation With Disney Studios' CTOs [S62713]: www.nvidia.com/gtc/session-ca...
Exploring AI-Assisted Developer Tools for Accelerated Computing [SE62128]: www.nvidia.com/gtc/session-ca...
Democratizing AI for Agriculture: Bridging the Digital Divide [S62569]: www.nvidia.com/gtc/session-ca...
Implementing Omniverse to Produce Cinematic Content [S62439]: www.nvidia.com/gtc/session-ca...
0:00 Arrays & Sorting Algorithms
5:12 HUGE Giveaway Announcement!!
6:53 HashMaps, Lists, HashSets, BFS, and more
If you're a student, checkout my Notion template Studious: notionstudent.com
Don't know why you'd want to follow me on other socials. I don't even post. But here you go.
🐱‍🚀 GitHub: github.com/forrestknight
🐦 Twitter: / forrestpknight
💼 LinkedIn: / forrestpknight
📸 Instagram: / forrestpknight

Опубликовано:

 

19 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 139   
@fknight
@fknight 3 месяца назад
Alright, so NVIDIA and I are giving away an RTX 4090 signed by NVIDIA CEO, Jensen Huang, as well as 5 DLI credits. If you'd like to enter, all you have to do is: - Register virtually to GTC 2024 at this link (it's free): nvda.ws/3kEyefH - Attend a GTC session, take a screenshot of it, and fill out this form with the screenshot and contact info (in case you win): forms.gle/cJ7xS9VrvzH52Anu9 That's it. Good luck!!
@lukmanalghdamsi3189
@lukmanalghdamsi3189 3 месяца назад
this comment says "1h ago" maybe you should teach them devs in google how to develop
@TheBedLump_Sans
@TheBedLump_Sans 3 месяца назад
@@lukmanalghdamsi3189 it was probably private earlier and he made it public later
@xerp7626
@xerp7626 3 месяца назад
I’m gonna assume you’re doing this worldwide as I’m in the UK. I was going to attend some sessions anyway, this would be a surplus. :))
@mukithasan9684
@mukithasan9684 Месяц назад
Damn im late unlucky 😢
@pedroglcbarros
@pedroglcbarros 3 месяца назад
THANK YOU VERY MUCH FOR THIS! Finally someone who not only talks about DS&Algos, but also shows where and how it is used in real projects! For a world with more of this!
@SaMurai_6000
@SaMurai_6000 Месяц назад
We got Jesus teaching data Structures before gta 6
@Abhinavhaldiya
@Abhinavhaldiya 10 дней назад
😂😂
@BrahimDriouch-oz6uv
@BrahimDriouch-oz6uv 3 месяца назад
This is the kind of content we need as self taught apsiring developers and hobbyist. We have watched a lot of videos and tutorials but we need to see the real world use cases. Thank you.
@wellingtonmusicas3144
@wellingtonmusicas3144 2 месяца назад
I've watched countless video about data structure and your video is by far the best, because it not only show what is data structure, but also how it is applied on real-world structure work. Thank you very much.
@devpatel8109
@devpatel8109 3 месяца назад
Thanks a lot bro 😄 Lot of info and insights related to How to use data structures and algorithms and their intuitions
@lifeotaku8881
@lifeotaku8881 3 месяца назад
Such a great video, I’m glad I found this channel
@codingjhames
@codingjhames 3 месяца назад
this THE VIDEO where finally i can understand clear examples of implementation from that algos
@SramDHills
@SramDHills 3 месяца назад
dangg your video editor deserves some raise ! or maybe you're the video editor
@samatech8853
@samatech8853 Месяц назад
Thanks for clearing my thought for me
@_ash64
@_ash64 3 месяца назад
Practical programming wisdom. Forrest you are the OG, I used to watch your videos even before I stared coding!
@TANCEUS
@TANCEUS 3 месяца назад
your videos are so helpful ❤
@hirookenji
@hirookenji 2 месяца назад
I was watching one of your videos 8 months ago and explored your channel to check about your new content and hey, this guy is a whole new person.
@arsnakehert
@arsnakehert 2 месяца назад
Who follows who in a social network is a great example of a graph, if you have junction table representing a "follows" relation it is pretty much an adjacency list representation of a graph, where the foreign keys are "pointers" to the nodes which are user rows
@samuelestrella1592
@samuelestrella1592 3 месяца назад
Thank you!! So clear!!
@ahmadghalioun7310
@ahmadghalioun7310 Месяц назад
For retriving data from the database you can use indexes to improve speed. Never heard that data structure or algorithms is useful for such use case!! Cool project by the way . Working on something similar.
@FivePointsData-jn5qn
@FivePointsData-jn5qn 2 месяца назад
Thank for making this
@hyltoncarboo8303
@hyltoncarboo8303 3 месяца назад
You’re are a gem for this!
@idrishmeahchy1897
@idrishmeahchy1897 19 дней назад
please bring more of these types of real world projects
@peterdemore7239
@peterdemore7239 3 месяца назад
You're a gift. Any experience with DBT and data pipelines?
@gg-rf4ym
@gg-rf4ym 7 дней назад
My man said “I’ve been doin this for awhile” wisdom is wild.
@azzeddine75
@azzeddine75 3 месяца назад
I searched very well for like this video thank you so much
@user-il9ol3wh1v
@user-il9ol3wh1v 2 месяца назад
Name of the font you are using?
@48_subhambanerjee22
@48_subhambanerjee22 3 месяца назад
I love java .... I love that you showed the last one in java ❤
@bravo90_
@bravo90_ Месяц назад
whats the link to the first part of the video
@einzelganger5290
@einzelganger5290 2 месяца назад
It would be a blessing if @ForrestKnight made a video on Holy C and TempleOS. 😅
@aryansingh7722
@aryansingh7722 13 дней назад
can someone tell me what theme he is using in vscode?
@nekosama6620
@nekosama6620 3 месяца назад
Jesus teaching dsa?
@rayanerocha1181
@rayanerocha1181 3 месяца назад
Neko-sama, nowadays, all hail AI and data. Even your position as a royal among cats is threatened by the current datadom.
@yash1152
@yash1152 3 месяца назад
:D
@oohkumar
@oohkumar 3 месяца назад
Maybe, his data structures are miraculous.
@pemudahijrah2454
@pemudahijrah2454 3 месяца назад
He doesnt write algorithm,algorithm write itself for him
@marcsoniega8514
@marcsoniega8514 2 месяца назад
😂😂😂
@theghost9362
@theghost9362 3 месяца назад
3:32 hey I have a question , why didn't you sort the data in the DB instead of doing it in the front-end, is it costly for the DB ? or is it faster that way ?
@JoaoPedro-qt7dc
@JoaoPedro-qt7dc 2 месяца назад
Good question. He sorts by the created_at desc, so it is sorting the data in the DB, and then sorting again in the front-end by the vote count. I suppose that he does so because sorting by created_at date at db is the most common case, so when used the function is used in other places (the home page?), it does not need to be sorted in the front-end. In this case, as he was in the most upvoted posts page, it makes sense to reorder again. Also, he is not paginating the query made, which is kinda weird, because it will bring the whole table, a no-no. Maybe I missed something because I'm not very familiar with that ORM, so if that is the case, please ignore this statement. * It makes sense, but is debatable. Why is that so? Because you are reordering two times. Maybe it is pre-optimization, but a better approach here would be to sort by created_at desc by default, but also have parameters in the function to customize the order by. That way, the reordering only happens in the DB and does not need to occur again in the front-end. **Every approach has its advantages and drawbacks. Maybe the benefit of reordering only once at DB is not worth it because of the trade for complexity in the code. Example: sanity check the passed parameter, map parameters to table columns, how would you handle if you had to order by more than one column, creating indexes in the table so the order by is efficient, etc. If you want to deliver a MVP faster, sticking with his method is a better fit because you don't have to trouble yourself with that kind of thing early on, so this can be refactored latter on.
@theghost9362
@theghost9362 2 месяца назад
@@JoaoPedro-qt7dc Hmm I see , thanks for responding !
@AYkotan
@AYkotan 2 месяца назад
which theme you use in coding life
@learning_with_irving4266
@learning_with_irving4266 Месяц назад
Forrest Knight. Top tier name in the simulation's Data Mart.
@softwareandprogramming
@softwareandprogramming 2 месяца назад
Amen! Leave you amen guys
@patotspatotoy3169
@patotspatotoy3169 2 месяца назад
after almost 3min i watch this Video my Brain almost Explode thnx Bro... i'm gonna Quit to being Student as a Software Engineer...
@extremeking2674
@extremeking2674 3 месяца назад
I used to pray for times like this🙏🏾
@Kumar-hs2ib
@Kumar-hs2ib 3 месяца назад
Hey can you please provide review of Devin software?? What your opinion regarding future of Software Developer??
@XOR1344
@XOR1344 Месяц назад
It's pretty basic stuff. Could you make a video about using something more complex like segment tree, maybe, dsu, some interesting algorithms on graphs like finding bridges and MST etc ?
@Anonymousssss368
@Anonymousssss368 3 месяца назад
In js array and objects are enough to build any super complex web app🎉
@roisthomas9517
@roisthomas9517 2 месяца назад
When i saw the thumbail i was like- why is jesus teaching DSA😂
@centripetal6157
@centripetal6157 2 месяца назад
I raised my eyebrows at every single user in the test app being named FKuser... Then i realized it was Forrest Knights initials
@olavlind
@olavlind 29 дней назад
What does a bottle of Jack Daniels, and a bunch of members of Donald Ducks family have in common? They all sit on a shelf in the Forrest house 😁😁
@maguilecutty
@maguilecutty 20 дней назад
This is great content! The problem with modern development - in particularly JS and Python is that they are abstracted from the actual algos that happen underneath them ie ur eg with sort. I started with Java 22 years ago - left it for 15 years and when I came back to programming and started learnign JS it confused the f*** out of me cause I couldnt see the magic happening under the hood - like where are these things happening? Am i missing something? i think every programmer should start with somethin like Go or some other mid teir language and learn these fundamentals - but its hard to make people how much they will regret not learning them until they are mid-adv level and they ahve no choice to...meh
@masterschlib
@masterschlib 2 месяца назад
thank you jesus
@iopyrb
@iopyrb Месяц назад
😂😂😂
@zxenon_
@zxenon_ Месяц назад
😂
@Open-Source2024
@Open-Source2024 20 дней назад
🤣🤣🤣
@iamcode9264
@iamcode9264 Месяц назад
If error throw error ?
@yash1152
@yash1152 3 месяца назад
0:03 wait, which vid is that. ill watch that first
@jahidulhasan8558
@jahidulhasan8558 2 месяца назад
yeah bro i shocked when I saw them, i try a lot to find this types of website where we can see these types of things ,but I did not find it
@RealBillcollector
@RealBillcollector 2 месяца назад
hey bro, tell me if you found the video
@justins7796
@justins7796 2 месяца назад
take my updoot :)
@ridabrahim7604
@ridabrahim7604 2 месяца назад
i'm still confused about the use of many data structures, i made a web app for my final project and created news feed but really all i did is query the database and the return value was dictionaries stored in a list and i didn't order them after loading them, i ordered them by publishing date from the query itself, i just feel like some things aren't used as we new programmers think it's often used, video on my account click me to see what I'm talking about
@centripetal6157
@centripetal6157 2 месяца назад
Data Structures are all about ordering and arranging data in different ways... Depending on how you want to display or store data - you could have used different methods. In your case, you were storing the news feeds by date - which is essentially stored in a list (array?) in the database. If you wanted to store data in a different way, you could have depending on the app type and the amount of users using it...
@ridabrahim7604
@ridabrahim7604 2 месяца назад
@@centripetal6157 i was storing the data in database and when i select the data it comes back as a list of dictionaries, my query also brings the data in order from the database table before i even load it to list of dictionaries, this is good ( i think ) because I'm not giving any sorting possibilities for the user, it's just get data, load it to list and loop over it to display it
@CodingResoures
@CodingResoures 3 месяца назад
my old 1080 GTX card died like 4 months looks like God has some plans. will try my luck.
@brianjoelbasualdo7436
@brianjoelbasualdo7436 2 месяца назад
Christian Bale teaches programming
@NikolaNevenov86
@NikolaNevenov86 3 месяца назад
Are you really a farmer or you do programing stuff for farmers?
@mistersir3185
@mistersir3185 22 дня назад
Holy lolipop! It's Jesus himself teaching DSA!!
@Muhammad_Abdullah_Sultan
@Muhammad_Abdullah_Sultan 3 месяца назад
Looks like Aragon left Gondor again
@Danielspss
@Danielspss Месяц назад
Ty for the vid Jesus 🙏
@-0-__-0-
@-0-__-0- Месяц назад
We now have programming jesus alongside chemistry jesus 🥰
@ISoHEoBASSIST
@ISoHEoBASSIST 2 месяца назад
thanks Jesus!
@saniathaque5056
@saniathaque5056 Месяц назад
😂
@zxenon_
@zxenon_ Месяц назад
😂
@maguilecutty
@maguilecutty 20 дней назад
Apropo - for all u beginner-intermediates reading this - go learn a mid level language like go where at least a large part of the magic languages like JS do is abstracted or you will regret it later when u go to ur mid/senior level job int and have to do algos. Youll thank me in spade beleive me!
@julian_handpan
@julian_handpan 3 месяца назад
Why the user_id is a hash ? 🥴
@centripetal6157
@centripetal6157 2 месяца назад
A hash number is unique, no two users can have the same hash # - which makes security better.
@julian_handpan
@julian_handpan 2 месяца назад
@@centripetal6157 and what about a unique number that auto increments? 😂
@Moumszk
@Moumszk Месяц назад
Jesus talking about programming ? :o
@TheTrurtTMS
@TheTrurtTMS 2 часа назад
By the thumbnail, I thought it was Jesus teaching coding.
@vectoralphaAI
@vectoralphaAI 3 месяца назад
Notice how you use already existing standard library data structures and algorithms and not create your own from scratch. Thats how you use them.
@fknight
@fknight 3 месяца назад
Well yes, that’s why I showed this lol but to pretend that understanding how they work is unnecessary is just ridiculous.
@bhabislamichhane9602
@bhabislamichhane9602 3 месяца назад
First 🎉
@haris_mansah
@haris_mansah 2 месяца назад
Idk is jesus teaching us tech right now 😮
@BiP00
@BiP00 2 месяца назад
asdfasdf = lorem ipsum
@solomonmckay3126
@solomonmckay3126 2 месяца назад
Okay, but can you do a video about how to grow such luscious hair?
@paranormaledits9526
@paranormaledits9526 5 дней назад
Thank you programmer Jesus !
@Just_shantam
@Just_shantam Месяц назад
Dude I literally thought he's Jesus on thumbnail lmaoo
@tiger_of_kai
@tiger_of_kai 3 месяца назад
Hello Jesus
@ketansolanki5727
@ketansolanki5727 Месяц назад
ooo my god jesus himself
@abhishekvanenooru2869
@abhishekvanenooru2869 3 месяца назад
nen helladu everku artgaagilla
@tye7313
@tye7313 2 месяца назад
oh almighty jesus.
@sominramchiary5880
@sominramchiary5880 Месяц назад
OMG !!!! Jesus himself.. Thank you Lord.
@erce_
@erce_ 3 месяца назад
bro, do you even sleep LOL
@ajlive6737
@ajlive6737 16 дней назад
oh Jesus..
@28MoulinduSahaIIT-M
@28MoulinduSahaIIT-M Месяц назад
Thank you jesus❤
@magolide
@magolide Месяц назад
God: "The time has come my son, for you to return and save your people. Are you ready to lead them towards the path of enlightenment and salvation?" Jesus: "Indeed Father the my fellow nerds need me." God: "Dafuq?!" Jesus: "🖖🏽" 4 years later... Jesus: "Alright. Hey my name is "Forrest" welcome back. So lately I've talked about some algorithms..."
@AroshanaKarawita
@AroshanaKarawita 17 дней назад
now i can literary say Jesus taught me Data structures
@factsdetective4268
@factsdetective4268 15 дней назад
your channel name should be "Jesus Codes". lmao
@shouvikxiv
@shouvikxiv 2 месяца назад
thank you Jesus
@Shaydon845
@Shaydon845 Месяц назад
jesus
@green.sparks
@green.sparks 10 дней назад
I just found the Jesus of programming
@aritrabhattacharyya8797
@aritrabhattacharyya8797 21 день назад
Learning coding from Jesus is something I had never hoped I'd do.
@alfredobunny
@alfredobunny Месяц назад
hello jesus
@arkonildhar8331
@arkonildhar8331 Месяц назад
really thought jesus came to teach us programing
@ZenoSamaOmniKing
@ZenoSamaOmniKing 5 дней назад
Western god is came to teach dsa, dayummmm
@jeteloriaga
@jeteloriaga 22 дня назад
Jesus i thought u were jesus 🤣
@andreas_tech
@andreas_tech 2 месяца назад
You should work with people, not in front of a pc... 😆😉
@adonespitogonaif
@adonespitogonaif Месяц назад
Didn't know jesus loved to code
@javidking63
@javidking63 2 месяца назад
Jesus Christ
@mukeshrawat8816
@mukeshrawat8816 Месяц назад
guys Lord Jesus is coding...
@viniciusms6636
@viniciusms6636 2 месяца назад
Fkuser is not very nice
@xuda222
@xuda222 15 дней назад
You looked like Jesus
@suvendumohanty1318
@suvendumohanty1318 7 дней назад
jesus?
@Blade_Music2049
@Blade_Music2049 Месяц назад
You look like Jesus
@namanagrawal3816
@namanagrawal3816 13 дней назад
you are looking like jesus....
@MrKB_SSJ2
@MrKB_SSJ2 13 дней назад
you look like Jesus
@ragnarlothbrok367
@ragnarlothbrok367 Месяц назад
Stop using JS
@kanny8742
@kanny8742 16 дней назад
Jesus is king 👑
@abk072
@abk072 Месяц назад
I didnt understand anything!
@olaitanadesoji3719
@olaitanadesoji3719 2 месяца назад
If you werent in tech, you could easily act Passions of the Christ again and there'd be no issues 🧻
@anonymous-hf9ju
@anonymous-hf9ju Месяц назад
thank you jesus
@vedagyasharma5438
@vedagyasharma5438 14 дней назад
hello jesus
Далее
3 Types of Algorithms Every Programmer Needs to Know
13:12
How Software Engineers Can Write Better Code
20:47
Просмотров 31 тыс.
100 Дней Хардкора в Valheim | Ashlands
2:08:53
ОН ТОЧНО ЗАЕДЕТ. ВЕЗДЕХОД АГ-34.
41:09
I Solved 1583 Leetcode Questions  Here's What I Learned
20:37
Top 7 Data Structures for Interviews Explained SIMPLY
13:02
How I would learn Leetcode if I could start over
18:03
Просмотров 235 тыс.
I Made a Neural Network with just Redstone!
17:23
Просмотров 593 тыс.
Why You’ll WASTE The Next 3 Years…
6:06
Просмотров 373 тыс.
So You Think You Know Git - FOSDEM 2024
47:00
Просмотров 993 тыс.
My Brain after 569 Leetcode Problems
7:50
Просмотров 2,4 млн
10 weird algorithms
9:06
Просмотров 1,1 млн
100 Дней Хардкора в Valheim | Ashlands
2:08:53