Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
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.

Antworten (0)

Kategorien

Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by