Static Array VS Dynamic Array ✅ #programming #coding #shorts

preview_player
Показать описание

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

Great explanation you made me visualize the topic

huizylove
Автор

Thx for the short but great explanation

alvaro
Автор

Perfect analogy bro !! That was such a cool explanation 😄

bunnyeatz
Автор

Another reason I'm happy my first was Java

FootClob
Автор

There's also a container called stack, but the difference is that on the stack you can only remove elemente from the front, so the first is removed last, but vectors can add elemente from the back and remove from the back and from the middle. Btw a vector is an array but is dynamic in size and when you add or remove elemente iterators might become invalid, all these containere are part of the STL

TeofilBejan-lgrt
Автор

just a question do i really have to think about memory this much in c++ ?

hunin
Автор

So, static array is like tuple and dynamic array is like list in python right?

Birb_Is_The_Word