Recursion and Dynamic Programming (in 5 minutes)

preview_player
Показать описание
A quick explanation of Recursion and Dynamic Programming, their use, pros and cons and example on how to apply them.

This videio is an introduction to Recursion and Dynamic Programming which are some of the core computer science topics commonly asked during technical interviews. During this short explanation I will take you through an overview of the concepts as well as examples of recursive functions like factorial and fibonnaci.

Tell me what you think, if you like it or not, or if I missed something you'd like to see.

Like, share or subscribe if you enjoyed it :)
Рекомендации по теме
Комментарии
Автор

Well done, Christian! enjoying your videos a ton.

carloscontrerascastillo
Автор

Excellent Christian! Thanks a lot! Good video!

LuigiGiannandrea
Автор

Hi, A Dev's Story, excellent video it is was educational. I have a question because I am new in programming as a self-taught JavaScript developer learning to code for the past five months now. As one of my projects I am trying to create a small game that you normally find on your pc called mineSweep. Basically, the game goes you have a square grid about 16 blocks horizontal and 16 blocks vertically. In the middle there are a bunch of hidden blocks and in some of these blocks depending on the size of the board you may have from 4 blocks going all the way up to maybe 32 blocks which are hiding mines. If you click the wrong block and it has a mine it is game over.
Now that I explained the functionality of the game. I am really stumped because I can't seem to figure out the logic required to create this game. Basically, I need to have the game start where when you click START the board game will reset and the hidden mines will spawn under the hidden blocks but in a random sequence. So, I googled for solutions, and I found a youtuber who designed the same game which I had my heart in designing. I watch part of her video and she explained she was using recursion to design the functionality of the game. I never heard of recursion or functional recursion and I am trying to learn how it works and how to eventually implement this logic into my game using HTML, CSS, and JavaScript. Could you recommend any of your videos or maybe a sight I am unaware which exist which could further guide me in developing this game? I greatly appreciate any help you could provide, thank you in advance.

DevlogBill
Автор

LOL took a second to compute 1+1=2 at 3:18

carloscontrerascastillo
visit shbcf.ru