JavaScript Data Structures: Linear & Binary Search π
Learn Linear and Binary Search algorithms in JavaScript for frontend interviews. Essential DSA concepts explained.

RoadsideCoder
21.3K views β’ Aug 27, 2023

About this video
#javascriptinterviewquestions #datastructures #datastructuresandalgorithms
In this DSA with JS video, we will understand 2 of the most famous Search Algorithms - Linear Search and Binary Search.
This is the most Entertaining and Knowledge Packed Data Structures and Algorithms in Javascript Interview Course on Youtube !
Kickstart your upskilling journey by booking a free trial with Crio and check it out for yourself.
Book your free trial today - https://rebrand.ly/p2rffsc
β‘οΈ Download my DSA with JS E-Book -
https://topmate.io/roadsidecoder/491565
πͺ Follow me on Instagram and u will clear your interview π€ -
https://www.instagram.com/roadsidecoder/
β‘οΈ Source Code -
https://github.com/piyush-eon/dsa-with-javascript-course/tree/master/%237%20-%20Search%20Algorithm
π Complete Data Structures and Algorithms with JS Course -
https://www.youtube.com/playlist?list=PLKhlp2qtUcSZtJefDThsXcsAbRBCSTgW4
π Arrays Video -
https://www.youtube.com/watch?v=iCaDhMEhmz0&list=PLKhlp2qtUcSZtJefDThsXcsAbRBCSTgW4&index=6
π Javascript Interview Playlist -
https://www.youtube.com/watch?v=oUWRxJ19gfE&list=PLKhlp2qtUcSaCVJEt4ogEFs6I41pNnMU5&index=1
π 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 Intro
00:23 Linear Search Algorithm
01:12 Implementation for Linear Search
02:51 Run it on Leetcode
03:40 Time and Space Complexity
04:25 find() in JS
04:48 Searching Multiple Items
04:58 Crio.do
06:07 Global Linear Search
07:30 Binary Search Algorithm
08:33 Visual Explanation of Binary Search
13:14 Implementation for Binary Search
16:51 Time and Space Complexity
17:26 Run it on Leetcode
17:55 Download my DSA Question Book
18:30 Interview Questions on Search Algos
18:32 Ques 1 - Kth Missing Positive Number
22:37 Running it on Leetcode
22:50 Ques 2 - Maximum Count of Positive and Negative Integer
30:59 Running it on Leetcode
31:20 Next Steps
-------------------------------------------------------------------------
Special Thanks to our members -
In this DSA with JS video, we will understand 2 of the most famous Search Algorithms - Linear Search and Binary Search.
This is the most Entertaining and Knowledge Packed Data Structures and Algorithms in Javascript Interview Course on Youtube !
Kickstart your upskilling journey by booking a free trial with Crio and check it out for yourself.
Book your free trial today - https://rebrand.ly/p2rffsc
β‘οΈ Download my DSA with JS E-Book -
https://topmate.io/roadsidecoder/491565
πͺ Follow me on Instagram and u will clear your interview π€ -
https://www.instagram.com/roadsidecoder/
β‘οΈ Source Code -
https://github.com/piyush-eon/dsa-with-javascript-course/tree/master/%237%20-%20Search%20Algorithm
π Complete Data Structures and Algorithms with JS Course -
https://www.youtube.com/playlist?list=PLKhlp2qtUcSZtJefDThsXcsAbRBCSTgW4
π Arrays Video -
https://www.youtube.com/watch?v=iCaDhMEhmz0&list=PLKhlp2qtUcSZtJefDThsXcsAbRBCSTgW4&index=6
π Javascript Interview Playlist -
https://www.youtube.com/watch?v=oUWRxJ19gfE&list=PLKhlp2qtUcSaCVJEt4ogEFs6I41pNnMU5&index=1
π 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 Intro
00:23 Linear Search Algorithm
01:12 Implementation for Linear Search
02:51 Run it on Leetcode
03:40 Time and Space Complexity
04:25 find() in JS
04:48 Searching Multiple Items
04:58 Crio.do
06:07 Global Linear Search
07:30 Binary Search Algorithm
08:33 Visual Explanation of Binary Search
13:14 Implementation for Binary Search
16:51 Time and Space Complexity
17:26 Run it on Leetcode
17:55 Download my DSA Question Book
18:30 Interview Questions on Search Algos
18:32 Ques 1 - Kth Missing Positive Number
22:37 Running it on Leetcode
22:50 Ques 2 - Maximum Count of Positive and Negative Integer
30:59 Running it on Leetcode
31:20 Next Steps
-------------------------------------------------------------------------
Special Thanks to our members -
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
21.3K
Likes
463
Duration
31:44
Published
Aug 27, 2023
User Reviews
4.6
(4) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.