How Data Structures & Algorithms are Actually Used

  Рет қаралды 204,301

ForrestKnight

ForrestKnight

Күн бұрын

Пікірлер: 151
@fknight
@fknight 6 ай бұрын
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 6 ай бұрын
this comment says "1h ago" maybe you should teach them devs in google how to develop
@TheBedLump_Sans
@TheBedLump_Sans 6 ай бұрын
@@lukmanalghdamsi3189 it was probably private earlier and he made it public later
@xerp7626
@xerp7626 6 ай бұрын
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 5 ай бұрын
Damn im late unlucky 😢
@pedroglcbarros
@pedroglcbarros 6 ай бұрын
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 4 ай бұрын
We got Jesus teaching data Structures before gta 6
@Abhinavhaldiya
@Abhinavhaldiya 3 ай бұрын
😂😂
@md.asif-bin-rahman9518
@md.asif-bin-rahman9518 3 ай бұрын
exactly my thought 😂 he teaches great btw
@BrahimDriouch-oz6uv
@BrahimDriouch-oz6uv 6 ай бұрын
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 6 ай бұрын
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.
@deenpc_life
@deenpc_life 6 ай бұрын
dangg your video editor deserves some raise ! or maybe you're the video editor
@_ash64
@_ash64 6 ай бұрын
Practical programming wisdom. Forrest you are the OG, I used to watch your videos even before I stared coding!
@codingjhames
@codingjhames 6 ай бұрын
this THE VIDEO where finally i can understand clear examples of implementation from that algos
@lifeotaku8881
@lifeotaku8881 6 ай бұрын
Such a great video, I’m glad I found this channel
@nekosama6620
@nekosama6620 6 ай бұрын
Jesus teaching dsa?
@rayanerocha1181
@rayanerocha1181 6 ай бұрын
Neko-sama, nowadays, all hail AI and data. Even your position as a royal among cats is threatened by the current datadom.
@yash1152
@yash1152 6 ай бұрын
:D
@oohkumar
@oohkumar 6 ай бұрын
Maybe, his data structures are miraculous.
@pemudahijrah2454
@pemudahijrah2454 6 ай бұрын
He doesnt write algorithm,algorithm write itself for him
@marcsoniega8514
@marcsoniega8514 6 ай бұрын
😂😂😂
@devpatel8109
@devpatel8109 6 ай бұрын
Thanks a lot bro 😄 Lot of info and insights related to How to use data structures and algorithms and their intuitions
@samatech8853
@samatech8853 4 ай бұрын
Thanks for clearing my thought for me
@arsnakehert
@arsnakehert 5 ай бұрын
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
@hirookenji
@hirookenji 6 ай бұрын
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.
@TANCEUS
@TANCEUS 6 ай бұрын
your videos are so helpful ❤
@paborlouise319
@paborlouise319 2 ай бұрын
Even though I didn't understand it all. I still enjoyed watching it and learnt something cool.
@gg-rf4ym
@gg-rf4ym 3 ай бұрын
My man said “I’ve been doin this for awhile” wisdom is wild.
@48_subhambanerjee22
@48_subhambanerjee22 6 ай бұрын
I love java .... I love that you showed the last one in java ❤
@idrishmeahchy1897
@idrishmeahchy1897 4 ай бұрын
please bring more of these types of real world projects
@ahmadghalioun7310
@ahmadghalioun7310 5 ай бұрын
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.
@softwareandprogramming
@softwareandprogramming 6 ай бұрын
Amen! Leave you amen guys
@einzelganger5290
@einzelganger5290 5 ай бұрын
It would be a blessing if @ForrestKnight made a video on Holy C and TempleOS. 😅
@azzeddine75
@azzeddine75 6 ай бұрын
I searched very well for like this video thank you so much
@souzaramon9522
@souzaramon9522 2 ай бұрын
1. This sorting here would 100% perform better in the actual sql query
@AYkotan
@AYkotan 5 ай бұрын
which theme you use in coding life
@learning_with_irving4266
@learning_with_irving4266 4 ай бұрын
Forrest Knight. Top tier name in the simulation's Data Mart.
@extremeking2674
@extremeking2674 6 ай бұрын
I used to pray for times like this🙏🏾
@peterdemore7239
@peterdemore7239 6 ай бұрын
You're a gift. Any experience with DBT and data pipelines?
@roisthomas9517
@roisthomas9517 5 ай бұрын
When i saw the thumbail i was like- why is jesus teaching DSA😂
@XOR1344
@XOR1344 4 ай бұрын
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 ?
@hyltoncarboo8303
@hyltoncarboo8303 6 ай бұрын
You’re are a gem for this!
@FivePointsData-jn5qn
@FivePointsData-jn5qn 6 ай бұрын
Thank for making this
@iswhatheis
@iswhatheis 2 ай бұрын
Oh my goodness I have that same exact Flannel LOL
@patotspatotoy3169
@patotspatotoy3169 5 ай бұрын
after almost 3min i watch this Video my Brain almost Explode thnx Bro... i'm gonna Quit to being Student as a Software Engineer...
@samuelestrella1592
@samuelestrella1592 6 ай бұрын
Thank you!! So clear!!
@theghost9362
@theghost9362 6 ай бұрын
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 6 ай бұрын
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 6 ай бұрын
@@JoaoPedro-qt7dc Hmm I see , thanks for responding !
@centripetal6157
@centripetal6157 5 ай бұрын
I raised my eyebrows at every single user in the test app being named FKuser... Then i realized it was Forrest Knights initials
@ruqayahn.k4645
@ruqayahn.k4645 2 ай бұрын
thanks
@Kumar-hs2ib
@Kumar-hs2ib 6 ай бұрын
Hey can you please provide review of Devin software?? What your opinion regarding future of Software Developer??
@yash1152
@yash1152 6 ай бұрын
0:03 wait, which vid is that. ill watch that first
@jahidulhasan8558
@jahidulhasan8558 6 ай бұрын
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 6 ай бұрын
hey bro, tell me if you found the video
@maguilecutty
@maguilecutty 4 ай бұрын
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
@olavlind
@olavlind 4 ай бұрын
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 😁😁
@bravo90_
@bravo90_ 5 ай бұрын
whats the link to the first part of the video
@CodingResoures
@CodingResoures 6 ай бұрын
my old 1080 GTX card died like 4 months looks like God has some plans. will try my luck.
@masterschlib
@masterschlib 6 ай бұрын
thank you jesus
@iopyrb
@iopyrb 4 ай бұрын
😂😂😂
@zxenon_
@zxenon_ 4 ай бұрын
😂
@Open-Source2024
@Open-Source2024 4 ай бұрын
🤣🤣🤣
@aryansingh7722
@aryansingh7722 4 ай бұрын
can someone tell me what theme he is using in vscode?
@ParakhGupta-r6l
@ParakhGupta-r6l 6 ай бұрын
Name of the font you are using?
@ridabrahim7604
@ridabrahim7604 6 ай бұрын
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 5 ай бұрын
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 5 ай бұрын
@@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
@ISoHEoBASSIST
@ISoHEoBASSIST 5 ай бұрын
thanks Jesus!
@saniathaque5056
@saniathaque5056 5 ай бұрын
😂
@zxenon_
@zxenon_ 4 ай бұрын
😂
@Moumszk
@Moumszk 5 ай бұрын
Jesus talking about programming ? :o
@iamcode9264
@iamcode9264 4 ай бұрын
If error throw error ?
@abdullah_siddiquii
@abdullah_siddiquii 6 ай бұрын
In js array and objects are enough to build any super complex web app🎉
@mistersir3185
@mistersir3185 4 ай бұрын
Holy lolipop! It's Jesus himself teaching DSA!!
@maguilecutty
@maguilecutty 4 ай бұрын
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!
@justins7796
@justins7796 6 ай бұрын
take my updoot :)
@NikolaNevenov86
@NikolaNevenov86 6 ай бұрын
Are you really a farmer or you do programing stuff for farmers?
@Danielspss
@Danielspss 5 ай бұрын
Ty for the vid Jesus 🙏
@edevPedro
@edevPedro 3 ай бұрын
why u are using windows now?
@julian_handpan
@julian_handpan 6 ай бұрын
Why the user_id is a hash ? 🥴
@centripetal6157
@centripetal6157 5 ай бұрын
A hash number is unique, no two users can have the same hash # - which makes security better.
@julian_handpan
@julian_handpan 5 ай бұрын
@@centripetal6157 and what about a unique number that auto increments? 😂
@brianjoelbasualdo7436
@brianjoelbasualdo7436 6 ай бұрын
Christian Bale teaches programming
@-0-__-0-
@-0-__-0- 4 ай бұрын
We now have programming jesus alongside chemistry jesus 🥰
@BiP00
@BiP00 5 ай бұрын
asdfasdf = lorem ipsum
@Muhammad_Abdullah_Sultan
@Muhammad_Abdullah_Sultan 6 ай бұрын
Looks like Aragon left Gondor again
@xavi_6767
@xavi_6767 6 ай бұрын
Hello Jesus
@haris_mansah
@haris_mansah 5 ай бұрын
Idk is jesus teaching us tech right now 😮
@paranormaledits9526
@paranormaledits9526 3 ай бұрын
Thank you programmer Jesus !
@TheTrurtTMS
@TheTrurtTMS 3 ай бұрын
By the thumbnail, I thought it was Jesus teaching coding.
@ketansolanki5727
@ketansolanki5727 4 ай бұрын
ooo my god jesus himself
@vectoralphaSec
@vectoralphaSec 6 ай бұрын
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 6 ай бұрын
Well yes, that’s why I showed this lol but to pretend that understanding how they work is unnecessary is just ridiculous.
@solomonmckay3126
@solomonmckay3126 5 ай бұрын
Okay, but can you do a video about how to grow such luscious hair?
@josh9418
@josh9418 3 ай бұрын
I was scrolling so fast until I saw jesus and clicked.
@shantam.sharma
@shantam.sharma 5 ай бұрын
Dude I literally thought he's Jesus on thumbnail lmaoo
@erce_
@erce_ 6 ай бұрын
bro, do you even sleep LOL
@sominramchiary5880
@sominramchiary5880 5 ай бұрын
OMG !!!! Jesus himself.. Thank you Lord.
@magolide
@magolide 5 ай бұрын
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..."
@tye7313
@tye7313 6 ай бұрын
oh almighty jesus.
@factsdetective4268
@factsdetective4268 4 ай бұрын
your channel name should be "Jesus Codes". lmao
@MoulinduSaha27
@MoulinduSaha27 4 ай бұрын
Thank you jesus❤
@abhishekvanenooru2869
@abhishekvanenooru2869 6 ай бұрын
nen helladu everku artgaagilla
@AroshanaKarawita
@AroshanaKarawita 4 ай бұрын
now i can literary say Jesus taught me Data structures
@ajlive6737
@ajlive6737 4 ай бұрын
oh Jesus..
@MRTONY-qt5qj
@MRTONY-qt5qj 3 ай бұрын
Thank you, Jesus
@kmr_ankitt
@kmr_ankitt 3 ай бұрын
holy christ
@mukeshrawat8816
@mukeshrawat8816 4 ай бұрын
guys Lord Jesus is coding...
@sankar7446
@sankar7446 3 ай бұрын
for a moment i though it was jesus. first time watching his videos...
@bhabislamichhane9602
@bhabislamichhane9602 6 ай бұрын
First 🎉
@aritrabhattacharyya8797
@aritrabhattacharyya8797 4 ай бұрын
Learning coding from Jesus is something I had never hoped I'd do.
@green.sparks
@green.sparks 3 ай бұрын
I just found the Jesus of programming
@ZenoSamaOmniKing
@ZenoSamaOmniKing 3 ай бұрын
Western god is came to teach dsa, dayummmm
@gray8331-r7p
@gray8331-r7p 5 ай бұрын
really thought jesus came to teach us programing
@shouvikxiv
@shouvikxiv 6 ай бұрын
thank you Jesus
@andreas_tech
@andreas_tech 5 ай бұрын
You should work with people, not in front of a pc... 😆😉
@MayurNagrale
@MayurNagrale 3 ай бұрын
Jesus when he was young
@Shravankumar_888
@Shravankumar_888 5 ай бұрын
jesus
@vedagyasharma5438
@vedagyasharma5438 4 ай бұрын
hello jesus
@adonespitogonaif
@adonespitogonaif 4 ай бұрын
Didn't know jesus loved to code
@SarvagyaDwivedi-y3r
@SarvagyaDwivedi-y3r 2 ай бұрын
oh my god!,i mean literally GOD. Jesus is teaching Data Structures :). Thanks for the second resurrection for CompSci Students
@jeteloriaga
@jeteloriaga 4 ай бұрын
Jesus i thought u were jesus 🤣
@xuda222
@xuda222 4 ай бұрын
You looked like Jesus
@viniciusms6636
@viniciusms6636 5 ай бұрын
Fkuser is not very nice
3 Types of Algorithms Every Programmer Needs to Know
13:12
ForrestKnight
Рет қаралды 478 М.
8 Data Structures Every Programmer Should Know
17:09
ForrestKnight
Рет қаралды 56 М.
Bike Vs Tricycle Fast Challenge
00:43
Russo
Рет қаралды 107 МЛН
ДЕНЬ УЧИТЕЛЯ В ШКОЛЕ
01:00
SIDELNIKOVVV
Рет қаралды 3,4 МЛН
Ozoda - Lada ( Official Music Video 2024 )
06:07
Ozoda
Рет қаралды 20 МЛН
Man Mocks Wife's Exercise Routine, Faces Embarrassment at Work #shorts
00:32
Fabiosa Best Lifehacks
Рет қаралды 6 МЛН
So, you want to be a programmer?
20:43
ForrestKnight
Рет қаралды 333 М.
The Data Structure You Use Matters a Lot
6:35
ForrestKnight
Рет қаралды 44 М.
*Next-door 10x Software Engineer* [FULL]
4:50
Programmers are also human
Рет қаралды 667 М.
The 3 Laws of Writing Readable Code
5:28
Kantan Coding
Рет қаралды 600 М.
How I would learn Leetcode if I could start over
18:03
NeetCodeIO
Рет қаралды 567 М.
5 Signs of an Inexperienced Self-Taught Developer (and how to fix)
8:40
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1,1 МЛН
When you Accidentally Compromise every CPU on Earth
15:59
Daniel Boctor
Рет қаралды 835 М.
My Brain after 569 Leetcode Problems
7:50
NeetCode
Рет қаралды 2,6 МЛН
Bike Vs Tricycle Fast Challenge
00:43
Russo
Рет қаралды 107 МЛН