Java Arrays & ArrayList Explained: Master Data Structures from Scratch π
Learn everything about Arrays and ArrayLists in Java! Discover how they work, manage memory, handle input/output, and explore multidimensional arrays in this comprehensive beginner's guide.

Kunal Kushwaha
2.0M views β’ Aug 10, 2021

About this video
In this video we cover Arrays and ArrayList in Java from scratch.
We dive deep into how it works, the memory management, input/output, multidimensional arrays, dynamic arrays, working with functions, and solve some questions.
Take part in the learning in public initiative! Share your learnings on LinkedIn and Twitter with #DSAwithKunal & don't forget to tag us!
π Resources
- Join Replit: http://join.replit.com/kunal-kushwaha
- Complete Java DSA playlist: https://www.youtube.com/playlist?list=PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ
- Code, Assignments, & Notes: https://github.com/kunal-kushwaha/DSA-Bootcamp-Java
β‘οΈ Connect with me: https://www.techwithkunal.com
=========================================
Timestamps:
0:00 Introduction ββββββββ ββββββββ ββββββββ ββββββββ ββββββββ ββββββββ ββββββββ
1:22 Why we need Arrays?
2:58 What is an Array?
3:13 Syntax of an Array
4:26 Direct hit Program : Store 5 Roll Numbers
6:44 How does Array works?
8:42 Internal Working of an Array
10:32 Dynamic Memory Allocation
12:00 Internal Representation of Array
13:06 Continuity of an Array
16:25 Index of an Array
19:53 String Array
20:42 What is null in Java?
23:30 null is used as a default
27:55 Array Input
31:19 for-each loop
33:15 toString() Method
34:52 Array of Objects
36:25 Storage of Objects in Heap
40:21 Array Passing in Function
42:32 Multidimensional Arrays
43:36 Syntax of a 2D Array
45:20 Internal Working of a 2D Array
50:16 2D Array Input
1:01:06 2D Array Output
1:07:05 Dynamic Arrays
1:17:22 Array Functions
1:21:08 Internal Working of ArrayList
1:33:21 Questions
1:33:30 Q1 : Swaping Values in an Array
1:35:20 Q2 : Maximum Value of an Array
1:40:45 Q3 : Reversing an Array
1:44:20 Outro
#arrays #placement #dsa #interviews
We dive deep into how it works, the memory management, input/output, multidimensional arrays, dynamic arrays, working with functions, and solve some questions.
Take part in the learning in public initiative! Share your learnings on LinkedIn and Twitter with #DSAwithKunal & don't forget to tag us!
π Resources
- Join Replit: http://join.replit.com/kunal-kushwaha
- Complete Java DSA playlist: https://www.youtube.com/playlist?list=PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ
- Code, Assignments, & Notes: https://github.com/kunal-kushwaha/DSA-Bootcamp-Java
β‘οΈ Connect with me: https://www.techwithkunal.com
=========================================
Timestamps:
0:00 Introduction ββββββββ ββββββββ ββββββββ ββββββββ ββββββββ ββββββββ ββββββββ
1:22 Why we need Arrays?
2:58 What is an Array?
3:13 Syntax of an Array
4:26 Direct hit Program : Store 5 Roll Numbers
6:44 How does Array works?
8:42 Internal Working of an Array
10:32 Dynamic Memory Allocation
12:00 Internal Representation of Array
13:06 Continuity of an Array
16:25 Index of an Array
19:53 String Array
20:42 What is null in Java?
23:30 null is used as a default
27:55 Array Input
31:19 for-each loop
33:15 toString() Method
34:52 Array of Objects
36:25 Storage of Objects in Heap
40:21 Array Passing in Function
42:32 Multidimensional Arrays
43:36 Syntax of a 2D Array
45:20 Internal Working of a 2D Array
50:16 2D Array Input
1:01:06 2D Array Output
1:07:05 Dynamic Arrays
1:17:22 Array Functions
1:21:08 Internal Working of ArrayList
1:33:21 Questions
1:33:30 Q1 : Swaping Values in an Array
1:35:20 Q2 : Maximum Value of an Array
1:40:45 Q3 : Reversing an Array
1:44:20 Outro
#arrays #placement #dsa #interviews
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
2.0M
Likes
27.3K
Duration
01:45:53
Published
Aug 10, 2021
User Reviews
4.7
(398) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.