Рет қаралды 56,797
➡️ Download my DSA with JS E-Book - topmate.io/roadsidecoder/491565
➡️ Book an Interview Preparation call with me - topmate.io/roadsidecoder
In this video, we will dive into Array methods in JavaScript and explore their various use cases. We will also discuss commonly DSA interview questions related to Arrays and how to solve them using JavaScript.
This is the most Entertaining and Knowledge Packed Data Structures and Algorithms in Javascript Interview Course on KZbin !
#javascriptinterviewquestions #datastructures #datastructuresandalgorithms
🟦 Follow me on Twitter and u will clear your interview 🤓 -
/ piyush_eon
➡️ Source Code -
github.com/piyush-eon/dsa-wit...
📄 Homework Questions ( I will make videos on these questions as well ) -
leetcode.com/problems/move-ze...
leetcode.com/problems/maximum...
leetcode.com/problems/contain...
leetcode.com/problems/interse...
🔗 Complete Data Structures and Algorithms with JS Course -
• Data Structures and Al...
🔗 Big O Notation Video -
• Big O Notation - Data ...
🔗 Functions Video -
• Javascript Interview Q...
🔗 Map, filter and reducr video -
• Javascript Interview Q...
🔗 Frontend Machine Coding Interview Series -
• Frontend Machine Codin...
🔗 Cars24 Interview Experience -
• Frontend Interview Exp...
🔗 Unacademy Interview Experience -
• Frontend Interview Exp...
🔗 Tazorpay Interview Experience -
• Frontend Interview Exp...
🔗 MERN Stack Tutorial with Redux -
• MERN Stack Project Tut...
🔗 React Beginner's Project Tutorials -
• React JS Project Tutor...
-------------------------------------------------------------------------
00:00:00 Intro
00:00:54 Creating an Array
00:01:34 Initializing an Array
00:02:24 What all can array store?
00:03:24 Array length Property
00:03:54 Add / Remove items in Array
00:03:58 Push and Pop method
00:05:32 shift and unshift method
00:06:29 Looping the Arrays
00:06:49 "for" loop
00:07:37 "while" loop
00:08:09 Inbuilt Traversal Methods
00:08:25 map() in Arrays
00:10:14 filter() in Arrays
00:10:59 reduce() in Arrays
00:12:55 some() in Arrays
00:13:25 every() in Arrays
00:14:01 find() in Arrays
00:14:42 Spread and Rest Operators
00:17:51 More Array Methods
00:17:56 concat() in Arrays
00:19:19 slice() in Arrays
00:21:13 splice() in Arrays
00:22:47 fill() in Arrays
00:23:58 findIndex() in Arrays
00:25:09 flat() in Arrays
00:26:19 Technical Glitch
00:26:48 reverse() in Arrays
00:27:18 sort() in Arrays
00:29:44 DSA Interview Questions on Array in Javascript
00:29:50 Ques 1 - Second Largest Number
00:30:28 Solution #1 - Brute Force Approach
00:34:46 Time Complexity of this Algorithm
00:36:33 Solution #2 - Optimised Approach
00:39:30 Explanation of Solution #2
00:41:29 Time Complexity of this Algorithm
00:42:26 Space Complexity of this Algorithm
00:42:49 Ques 2 - Rotate Array by K
00:43:51 Solution #1 - Using Inbuilt JS Functions
00:48:40 Time Complexity of this Algorithm
00:49:24 Solution #2 - Without Inbuilt Functions
00:56:26 Time Complexity of this Algorithm
00:57:29 Space Complexity of this Algorithm
00:58:16 Ques 3 - Remove Duplicates from Sorted Array
00:59:20 Solution #1 - With Inbuilt JS Methods
01:03:08 Time Complexity of this Algorithm
01:03:32 Space Complexity of this Algorithm
01:03:41 Solution #2 - Two Pointer Approach
01:07:28 Explanation of above algorithm
01:10:22 Time / Space Complexity of this Algorithm
-------------------------------------------------------------------------
⭐ Support the channel and learn from me One on One -
/ @roadsidecoder
Special Thanks to our members -