Data Structures in Javascript ( Recursion ) | DSA Interview Questions | Backtracking Algorithms
#javascriptinterviewquestions #datastructures #datastructuresandalgorithms Special Thanks to these amazing creators for their cameo - https://www.youtube.c...

RoadsideCoder
45.4K views β’ May 14, 2023

About this video
#javascriptinterviewquestions #datastructures #datastructuresandalgorithms
Special Thanks to these amazing creators for their cameo -
https://www.youtube.com/@designwithrehana , https://www.youtube.com/@js_cafe , https://www.youtube.com/@engineerchirag , https://www.youtube.com/@TechnicalSuneja
In this video, you'll get a in-depth knowledge of how recursion works and its importance in solving complex problems. We start off with real life example of recursion in our life and then go on to discuss the most asked DSA with JS interview Questions on it.
This is the most Entertaining and Knowledge Packed Data Structures and Algorithms in JavaScript Interview Course on Youtube !
β‘οΈ Book an Interview Preparation call with me -
https://topmate.io/roadsidecoder
π¦ Follow me on Twitter and u will clear your interview π€ -
https://twitter.com/piyush_eon
β‘οΈ Source Code -
https://github.com/piyush-eon/dsa-with-javascript-course/tree/master/%233%20-%20Recursion
π Complete Data Structures and Algorithms with JS Course -
https://www.youtube.com/playlist?list=PLKhlp2qtUcSZtJefDThsXcsAbRBCSTgW4
π Functions Video -
https://www.youtube.com/watch?v=btwFJT_xzdg&list=PLKhlp2qtUcSaCVJEt4ogEFs6I41pNnMU5&index=3
π Map, filter and reducr video -
https://www.youtube.com/watch?v=dGq0gi0wv64&list=PLKhlp2qtUcSaCVJEt4ogEFs6I41pNnMU5&index=2
π Frontend Machine Coding Interview Series -
https://www.youtube.com/playlist?list=PLKhlp2qtUcSYQojD5G-ElgHezoCyq2Hgo
π Cars24 Interview Experience -
https://www.youtube.com/watch?v=vxggZffOqek&list=PLKhlp2qtUcSb_WQZC3sq9Vw3NC4DbreUL&index=2
π Unacademy Interview Experience -
https://www.youtube.com/watch?v=abbdJ4Yfm54
π Tazorpay Interview Experience -
https://www.youtube.com/watch?v=q-ylRxSxGcY
π MERN Stack Tutorial with Redux -
https://www.youtube.com/watch?v=IQXjO0t4XRM&list=PLKhlp2qtUcSYC7EffnHzD-Ws2xG-j3aYo
π React Beginner's Project Tutorials -
https://www.youtube.com/playlist?list=PLKhlp2qtUcSa_rX7glmB7HyFsEOEQa0Uk
-------------------------------------------------------------------------
00:00 Recursion in Real Life
02:02 Converting this scenario to code
03:53 Example of recursive function
04:53 Converting repeating functions into recursive
06:31 Why is Recursion needed?
06:54 Loops vs Recursion
07:29 Convert loop into a recursion
12:29 Most Asked Interview Questions on Recursion
12:35 Ques 1 - Factorial on n
14:50 Ques 2 - Range of Numbers
19:29 Ques 3 - Palindrome Number
20:18 Ques 4 - Fibonacci Number
21:19 Visual Explanation of Algorithm by AlgoAgarwal
26:54 Solution #1 - Without Recursion
28:32 Solution #2 - With Recursion
29:31 Ques 5 - Reverse a String Recursively
34:45 Ques 6 - Subsets ( Backtracking Algorithm )
36:20 Visual Explanation of Algorithm by AlgoAgarwal
42:18 Code for this Algorithm
-------------------------------------------------------------------------
β Support the channel and learn from me One on One -
https://www.youtube.com/channel/UCIPZVAwDGa-A4ZJxCBvXRuQ/join
Special Thanks to our members -
Special Thanks to these amazing creators for their cameo -
https://www.youtube.com/@designwithrehana , https://www.youtube.com/@js_cafe , https://www.youtube.com/@engineerchirag , https://www.youtube.com/@TechnicalSuneja
In this video, you'll get a in-depth knowledge of how recursion works and its importance in solving complex problems. We start off with real life example of recursion in our life and then go on to discuss the most asked DSA with JS interview Questions on it.
This is the most Entertaining and Knowledge Packed Data Structures and Algorithms in JavaScript Interview Course on Youtube !
β‘οΈ Book an Interview Preparation call with me -
https://topmate.io/roadsidecoder
π¦ Follow me on Twitter and u will clear your interview π€ -
https://twitter.com/piyush_eon
β‘οΈ Source Code -
https://github.com/piyush-eon/dsa-with-javascript-course/tree/master/%233%20-%20Recursion
π Complete Data Structures and Algorithms with JS Course -
https://www.youtube.com/playlist?list=PLKhlp2qtUcSZtJefDThsXcsAbRBCSTgW4
π Functions Video -
https://www.youtube.com/watch?v=btwFJT_xzdg&list=PLKhlp2qtUcSaCVJEt4ogEFs6I41pNnMU5&index=3
π Map, filter and reducr video -
https://www.youtube.com/watch?v=dGq0gi0wv64&list=PLKhlp2qtUcSaCVJEt4ogEFs6I41pNnMU5&index=2
π Frontend Machine Coding Interview Series -
https://www.youtube.com/playlist?list=PLKhlp2qtUcSYQojD5G-ElgHezoCyq2Hgo
π Cars24 Interview Experience -
https://www.youtube.com/watch?v=vxggZffOqek&list=PLKhlp2qtUcSb_WQZC3sq9Vw3NC4DbreUL&index=2
π Unacademy Interview Experience -
https://www.youtube.com/watch?v=abbdJ4Yfm54
π Tazorpay Interview Experience -
https://www.youtube.com/watch?v=q-ylRxSxGcY
π MERN Stack Tutorial with Redux -
https://www.youtube.com/watch?v=IQXjO0t4XRM&list=PLKhlp2qtUcSYC7EffnHzD-Ws2xG-j3aYo
π React Beginner's Project Tutorials -
https://www.youtube.com/playlist?list=PLKhlp2qtUcSa_rX7glmB7HyFsEOEQa0Uk
-------------------------------------------------------------------------
00:00 Recursion in Real Life
02:02 Converting this scenario to code
03:53 Example of recursive function
04:53 Converting repeating functions into recursive
06:31 Why is Recursion needed?
06:54 Loops vs Recursion
07:29 Convert loop into a recursion
12:29 Most Asked Interview Questions on Recursion
12:35 Ques 1 - Factorial on n
14:50 Ques 2 - Range of Numbers
19:29 Ques 3 - Palindrome Number
20:18 Ques 4 - Fibonacci Number
21:19 Visual Explanation of Algorithm by AlgoAgarwal
26:54 Solution #1 - Without Recursion
28:32 Solution #2 - With Recursion
29:31 Ques 5 - Reverse a String Recursively
34:45 Ques 6 - Subsets ( Backtracking Algorithm )
36:20 Visual Explanation of Algorithm by AlgoAgarwal
42:18 Code for this Algorithm
-------------------------------------------------------------------------
β Support the channel and learn from me One on One -
https://www.youtube.com/channel/UCIPZVAwDGa-A4ZJxCBvXRuQ/join
Special Thanks to our members -
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
45.4K
Likes
1.1K
Duration
45:58
Published
May 14, 2023
User Reviews
4.7
(9) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.