You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val x = ArrayStack[Int] // Uses ArrayStack apply(elem: T*) method
When passed no elements creates ArrayStack with T[0]
afterwards arraygrow doubles the number of elements which mean still T[0]
Not a big a deal, but minimum size of 1 needs to be insured
The text was updated successfully, but these errors were encountered:
val x = ArrayStack[Int] // Uses ArrayStack apply(elem: T*) method
When passed no elements creates ArrayStack with T[0]
afterwards arraygrow doubles the number of elements which mean still T[0]
Not a big a deal, but minimum size of 1 needs to be insured
The text was updated successfully, but these errors were encountered: