+ 4

What is dynamic data structure???

22nd Jul 2018, 4:57 AM
Sarvesh Patkar
Sarvesh Patkar - avatar
2 ответов
22nd Jul 2018, 5:23 AM
LetterC67
LetterC67 - avatar
+ 2
An example of NON dynamic data structures are arrays in java: once you've declared them you can't change their length, i.e. you can't add or remove elements. However arrays in js ARE dynamic you can add elements, you can remove elements, you can inject elements and you can splice elements.
23rd Jul 2018, 8:17 AM
Haris
Haris - avatar