MENU

Fun & Interesting

Introduction to Arrays and ArrayList in Java

Kunal Kushwaha 1,583,438 lượt xem 3 years ago
Video Not Working? Fix It Now

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

Comment