Dynamic array and Static array

preview_player
Показать описание
The main difference between Dynamic array and Static array is the amount of data you can assign to the array in runtime.

In the case of the static array, we need to specify the length of the static array, and while insertion we just need to assign the value to the corresponding index.

In the case of the dynamic array, the length can be decided at runtime of the application according to the amount of data, you insert more data and if the length is not sufficient then it will increase its length to occupy all the data.

#DataStracture #DynamicArray #StaticArray

Thanks for watching...
Рекомендации по теме
Комментарии
Автор

bro.. push and pop are o(1) and shift and unshift are o(n).. @6.14 .. correct me if i am wrong and enlighten me by what are you saying at that point .. just for clarification

javidg
Автор

bhai hindi bol lo agaar english nhi
ati toh

RudrakshkhannathC