---
# System prepended metadata

title: Array vs linked list

---

# Array vs linked list

[TOC]


## Cost of access an element 
![](https://i.imgur.com/7ajph5x.png)


## Memory require/usage


![](https://i.imgur.com/D1B6uVi.png)


![](https://i.imgur.com/7U7c9Un.png)

## Cost of inserting an element 

![](https://i.imgur.com/eS4gTys.png)

## Which one is easy to use and implement 

![](https://i.imgur.com/pEeVgJk.png)
