How to use a jagged array or a pointer array to construct the Rootish Array Stack Data Structure in Java.

4 次查看(过去 30 天)
Basically, I'd want to know how to retrieve an array that includes another array and decrease or enlarge it. For example, Aa,b,c,d a0, b1,2 c3,4,5 d6,7,8,9 And if I want to add another integer to it, I can use java to increase it Aa,b,c,d,e a0, b1,2 c3,4,5 d6,7,8,9 e10.
Rootish Array Stack is essentially a data structure similar to array that stores array in the manner described above.
I saw an article that stated that I could utilise a List of Lists. Additionally, the List's size might change as you add/remove entries. I attempted to use a jagged array, however I cannot grow it or shrink it.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Call Java from MATLAB 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by