Introduction to Arrays and ArrayList in Java

Published: 10 August 2021
on channel: Kunal Kushwaha
1,567,452
22k

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:    • Java + DSA + Interview Preparation Co...  
Code, Assignments, & Notes: https://github.com/kunal-kushwaha/DSA...
➡️ 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


Watch video Introduction to Arrays and ArrayList in Java online without registration, duration hours minute second in high quality. This video was added by user Kunal Kushwaha 10 August 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,567,452 once and liked it 22 thousand people.