This is difference between Array List and Linked List from My view......
| Array List | Vs. | Linked List |
|---|---|---|
| Using Array | Concept | Node-to-Node |
| 0 | First Index | 1 |
| Have. however, it will resize when needed | Max. Size | Continously increase |
| add() |
|
| remove() |
|
| O(1) | get() | O(n) |
p/s : If you any question please comment me or email me...tq
Created By : Z-man, 2012
No comments:
Post a Comment