How to use a jagged array or a pointer array to construct the Rootish Array Stack Data Structure in Java.
조회 수: 2 (최근 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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrices and Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!