The ad that I got on this video: "So you know how to reverse a linked list, but do you know how to design a large scale distributed system?" Wow, perfect timing.
Pretty refreshing to see that an experienced programmer/entrepreneur like you can get stuck/frustrated on a "simple" bug... happens to me all the time at work! ~ "If you're really stuck on something, move onto something else and come back to it with a pair of fresh eyes"
Thank you very very for showing that struggeling and getting annoying Bugs can even happen to such advanced people. Watching people get through their Code without any problems can give the feeling of being really far away from what a programmer should be able to handle
First time I've heard "leave it as an exercise to the v i e w e r", haha. And now I know the main motivation for 'leaving it as an exercise': textbook authors just get tired and have other shit to do.
Game is still kinda broken. When you hit the wall, the snake stops alright, but when u press a direction key it starts moving again despite gameover. Please solve this. Thanks.
I had an idea of creating small projects as i go thru leetcode challenges, but that proved to be very challenging to me. would be nice if you could create a visualizer for leetcode challenegs - that would help me ( and probably other devs) tremendously
Love those typical surprise moments: 'Wait why is this working now' or 'This was working a moment ago' Also spending 20 minutes to find a broken conditional statement, I feel the pain. I once searched an hour for a '!' that was missing.... Still surprising how good React works for making small games, would have chosen PixiJS or just a plain canvas probably.
ah I learn something new everyday. When I did a snakegame, I used an array for the snake, [{x:1,y:1},{x:1,y:2}] etc.. and then I just shifted the array 1 object, and inserted the new position for the head. and if the snake eat something, I did not shift the array, and made it one object longer.
can you please make a video on "are web developers software engineers? How are UI or front end of desktop softwares made, if HTML and CSS are only used in web development?" and end the confusion.
Clement I'm currently learning JavaScript from udemy and have plans to become a front end engineer, but I'm concerned from articles and posts I've read that javascript will die in the near future, do you think that's the case?
Hey unknown player. Just pick a language and learn it well. Once you learn a language, it will be easy to learn other languages. Concepts are pretty much the same; just a different syntax
Y(row)*Width + X(col) is what you were looking for the entire time. If you started your cell values at 0 (like any sane programmer) instead of 1, this would give you your cell value from row/col. Edit again: snake grows from the head (food is replaced with new head)
funny but I have some comments : first, I think it is not good to use for keyword when we are front end dev, we only use map(), filter(), (..) only lambda function, second, I think to write the entire code on only one component is not a best practise, split more the code, because it is hard to see a typescript file with so many line of codes after say that is was a very advertising video
@@kimayapanash8998 I personally find app development more enjoyable and if you want to show something impressive for the final project app dev more easily impresses than web development.
16:10 haha, setIntervals are weird in React as it goes for its declarative programming approach Faced this too when I was creating a timer app Check out this post by Dan: overreacted.io/making-setinterval-declarative-with-react-hooks/ It helped me
Nice project! I've been playing with snake recently too. I created a solver using hamiltonian cycles (see it in action here - czcams.com/video/9AtxLypiqjA/video.html) It would be nice to create a solver for this kind of reversable snake.
"You'll never have to reverse a linked list on the job."
*Clement has entered the chat.*
that's why I don't like coding interview 😭
I actually had to reverse a linked list on a couple of interviews. Tbh, not sure I could do it now out of the blue.
Huge fan of you man! You are an inspiration to newcomers in tech. Keep up the work
If only we could make snake on the job 😂
Did you use a js framework for parts of the alogoexpert site or is it all plain js?
Hahaha wow, never thought the day would come where reversing a linked list would actually be used. Impressive stuff!
Woah! I love your channel haha. Didn’t expect to see you here!
But the day when it’s actually needed has not come yet
2:58 hearing it with eyes closed made chuckle
😂
@@clem Is there a “No Context Clément” Twitter account? Because this might need to happen.
The ad that I got on this video: "So you know how to reverse a linked list, but do you know how to design a large scale distributed system?"
Wow, perfect timing.
Next project: *I Built A Large-Scale Distributed Multiplayer Version Of The Snake Game*
@@clem Looking forward to it.
@@clem plzz do. It'll be awesome to see
Pretty refreshing to see that an experienced programmer/entrepreneur like you can get stuck/frustrated on a "simple" bug... happens to me all the time at work!
~ "If you're really stuck on something, move onto something else and come back to it with a pair of fresh eyes"
"I don't THINK I'll need stack overflow." When imposter syndrome hits you right before coding a snake game.
love this format of building stuff every once and a while clem!
Woh! You have really made some serious use of reverse linked list.
Good stuff.
Wow, what a coincidence. I just finished coding my snake with js, but I am a simple guy so no linked lists shenanigans haha
Someone needs to make a compilation of all the ways Clement has transitioned plugging algo expert. SOMEONE GET ON IT.
Thank you very very for showing that struggeling and getting annoying Bugs can even happen to such advanced people. Watching people get through their Code without any problems can give the feeling of being really far away from what a programmer should be able to handle
Hi Clément,
Please try to do a git commit on each baby steps. It will be really helpful.
Could you add this concept to AlgoExpert? Actual small projects based on the Algorithm problems in AlgoExpert?
I'm waiting till this is asked on AlgoExpert. What do you guys think, easy, medium, or hard?
Yesssss tutorial from Clément😃
Really nice and refreshing video, awesome Clem !
Has a big af monitor. Yet still codes on his 13 inch MacBook. BRUH!
Simplicity level: Clement
I like that you showed the bug when occurred, and how you dealt with it.
Feels relatable.
Wow!! I never knew someone had the same idea, I thought about it too when I started learning DSA but I couldn't implement it
That was worth the wait
Finally something practice. Well thanks for the video,
coding videos on clement's channel ? this is beyond science
First time I've heard "leave it as an exercise to the v i e w e r", haha. And now I know the main motivation for 'leaving it as an exercise': textbook authors just get tired and have other shit to do.
This is great ! Pls do more "tutorial" series
that's what I was waiting for 💥😘
Why am I getting an algoexpert ad right before watching algoexpert 😂😂😂
TechLead taught you well!
Techlead is a Noob, he is a failure, what he ll teach?
😂😂
Game is still kinda broken. When you hit the wall, the snake stops alright, but when u press a direction key it starts moving again despite gameover. Please solve this. Thanks.
The innuendo is astonishing 😂
Now port it on nokia 3310 and bring early 2000s back :'-)))
Aaaa so nostalgic ❤
Wow, you actually found a use case for reversing a linked list
move the end node to what the direction is relative to the start node
I had an idea of creating small projects as i go thru leetcode challenges, but that proved to be very challenging to me. would be nice if you could create a visualizer for leetcode challenegs - that would help me ( and probably other devs) tremendously
Thanks Clément Mihailescu
Clement the great
Love from goa
Love those typical surprise moments: 'Wait why is this working now' or 'This was working a moment ago'
Also spending 20 minutes to find a broken conditional statement, I feel the pain. I once searched an hour for a '!' that was missing....
Still surprising how good React works for making small games, would have chosen PixiJS or just a plain canvas probably.
Keep doing coding videos for us clement
I like that
More videos of this type plz :) 💙
It will be cool ... if u make more videos ... of making .... coding videos .... plsssssssss ....
ah I learn something new everyday. When I did a snakegame, I used an array for the snake, [{x:1,y:1},{x:1,y:2}] etc.. and then I just shifted the array 1 object, and inserted the new position for the head. and if the snake eat something, I did not shift the array, and made it one object longer.
Clement please make more such videos. We really like to learn from you
I like this type of video . Please keep it up
setInterval was never cleared, so there were multiple intervals running each with different closures
Somebody please explain what case he was talkin about on 30:20 "When you have only one node..."
I think we can use then finding loop Algorithm in Linkedlist to check if 🐍 tried to ate himself 😉
Impressive, but can you build a project that involves reversing a binary tree?
Hi clement great video
Yes, please more coding videos!
38:23 Woah, I referenced to the same, Nice!!
So I guess we can expect a video on large scale distributed system.
can you please make a video on "are web developers software engineers? How are UI or front end of desktop softwares made, if HTML and CSS are only used in web development?" and end the confusion.
This is the perfect example that job interview problems describe the most idiotic way to solve daily tasks.
Thanks for this 🙂
Nice monitor u got there
Two 13" screens didn't make the cut
31:22 "Oh... Wait! Why is this working...?!" 😄
Clement I'm currently learning JavaScript from udemy and have plans to become a front end engineer, but I'm concerned from articles and posts I've read that javascript will die in the near future, do you think that's the case?
I don't think you should worry about that cuz even if it dies learning a language is easy as long as you know the concepts
Hey unknown player. Just pick a language and learn it well. Once you learn a language, it will be easy to learn other languages. Concepts are pretty much the same; just a different syntax
Please take Google interview of @CodeWithHarry
Great AlgoExpert from India
beo PLEASE do more videos like this
Y(row)*Width + X(col) is what you were looking for the entire time. If you started your cell values at 0 (like any sane programmer) instead of 1, this would give you your cell value from row/col.
Edit again: snake grows from the head (food is replaced with new head)
can you please suggest how to create multi dimensional array at run time with python.. i need dynamic array not static array
Nice Clement
24:20 "if you touch yourself you die !" where have i heard that before xD xD xD
Is that your WoW setup in the background? Are you gonna stream on twitch any time soon?
No WoW these days, but other games 😉 -- and I'm not sure for Twitch. I'll definitely announce it if I do!
funny but I have some comments :
first, I think it is not good to use for keyword when we are front end dev, we only use map(), filter(), (..) only lambda function,
second, I think to write the entire code on only one component is not a best practise, split more the code, because it is hard to see a typescript file with so many line of codes
after say that is was a very advertising video
Wow! It's working, how did I do that. it's magical working.
I remember playing this game on the Nokia 3310 back in the day! Looking forward to building this!
didn't know you can use color palette on vs code.
Clement i have a question is it possible for you to work from home as a software engineer?
Real talk: ultrawide monitor worth it?
Why my code works magically, but it's awesome. lol😀
any Promo Code for algoexpert
Frustration with coding what makes a programmer good, How many hours you built it?
20:21 why is this not a switch statement or a class :O
Is that jiren on your desktop? Please tell me it's Jiren
why not use canvas?
and also why not use requestAnimationFrame instead of setInterval
Really curious about how long it really took - (imposter syndrome)
24:44 thats what she said
Can RTX 3090 run this game?
i created chess game just by using if and else LOL
MORE TUTORIALS PLEASE< PLEASE!!! please = [true, false] => please[0]
Okay, You'll never invert a binary tree in a job. Clement says challenge accepted!
"do you write code, tabnine will speed up your coding process"
Clement, It'd be really cool if you could make a video about how you got into an ivy league college with some tips because you went to upenn.
22:30 This is what happens if you don't test your code
ex-google engineer creating a snake game!
Sir just tell me what i should choose to make my final year project
React
Flutter
I need help
react is cool.
if it's an app go for flutter; if it's a website go for react
@@migueldomingos4570 Thats what im struggling with
Web Development or App Development
@@kimayapanash8998 I personally find app development more enjoyable and if you want to show something impressive for the final project app dev more easily impresses than web development.
@@migueldomingos4570 i thought app development was easier to learn than web development
HAHAHA ! You insane! Thanks for content!
Reversing a linked list in JS and Python is too easy. Real men do it in C++. Just kidding. Love your vids❤
24:38 Lmao, how big your snake is 🤣 🤣 🤣 🤣
Get ready for 200 pull requests lol
You took Ben Awad too seriously😂
Likewise being a successful software engineer at Google and Facebook and being good at making games are two different skills.
Entertaining stuff! Now code an AI to play the game :)
clem how much do you spend on advertising because almost on every video I will see algo girl
16:10 haha, setIntervals are weird in React as it goes for its declarative programming approach
Faced this too when I was creating a timer app
Check out this post by Dan: overreacted.io/making-setinterval-declarative-with-react-hooks/
It helped me
Looks like a 13inch screen wasn't big enough for you after all lol
I looked at the thumbnail and nearly threw up. in a good way tho
woww!
Nice project! I've been playing with snake recently too. I created a solver using hamiltonian cycles (see it in action here - czcams.com/video/9AtxLypiqjA/video.html)
It would be nice to create a solver for this kind of reversable snake.
24:21 lol :D 24:37 LOL :D