Skip to content

sudheerkodali/Arrays-Lists-DSA

Repository files navigation

Arrays-Lists


DSA Arrays List

NO. Questions
Types of Arrays-lists
1 what-are-Arrays-and-how-they-are-stored
2 How-are-Arrays-accessed
3 Disadvantages-of-standard-arrays
4 How-are-resizable-Arrays-Implemented
5 Resizable-Arrays-Implementation
6 Resizable-Arrays-complexity-analysis

Here there are important DSA concepts, one of which is "Arrays and Lists" programming in Java scripting. The main concepts are as follows

| 1 | what-are-Arrays-and-how-they-are-stored

i: Arrays stored

An Array is a collections of data types in one format.

Arrays-list

ii: Stored with 4 bits

Array has each integer elements with '4' bits, and the numbers we have taken in  1'row' and 6 'coloums', for instance: 4*6 coloum's=24 bits => that means 4 is bits & 6 is coloums.

Arrays-list

iii: Total memory alocation

Suppose if we have taken memory alocated with 8-gb is the data base server, then it actually depends on how many datatypes(Integer) we have taken , here I initiated with [10,14,18,22,26,30,34] each space occupy with 4 bits and added to further number in the below image [0,1,2,3,4,5]=>[10,14,18,22,26,30,34] Arrays-list

| 2 | How-are-Arrays-accessed

2.1 : Arrays access-left-right

Arrays conatains 'INTERGERS' and every integer contains 4-BITS and initially stars with left side with 10 and 'ADD' 4-BITS to it, For instancce [ 10, 10+4=14, 14+4=18 ] etc and information as given below

Arrays-list

2.2 :

** Arrays-list

2.3:

** Arrays-list

2.4:

** Arrays-list

| 3 | Disadvantages-of-standard-arrays

3.1:

Arrays-list

3.2:

Arrays-list

3.3:

Arrays-list

| 4 | How-are-resizable-Arrays-Implemented

4.1:

Arrays-list

4.2:

Arrays-list

4.3:

Arrays-list

4.4:

Arrays-list

4.5:

Arrays-list

4.6:

Arrays-list

4.7:

Arrays-list

4.8:

Arrays-list

4.9:

Arrays-list

| 5 | Resizable-Arrays-Implementation

5.1: programming part

Array-list

5.2: programming part

Array-list

5.3: programming part

Array-list

| 6 | Resizable-Arrays-complexity-analysis

1:

Arrays-list

2:

Arrays-list

3:

Arrays-list

4:

Arrays-list

5:

Arrays-list

⬆ Back to Top