Update README.md

pull/236/head
karpav74 6 months ago committed by GitHub
parent 9141d54561
commit 3ec94bc08c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -8,7 +8,7 @@
[![PyPI](https://img.shields.io/badge/License-BSD_2--Clause-green.svg)](https://github.com/emirpasic/gods/blob/master/LICENSE)
## Data Structures
## Data Structures:
- [Containers](#containers)
- [Lists](#lists)
@ -56,7 +56,7 @@
- [Appendix](#appendix)
## Containers
## Containers:
All data structures implement the container interface with the following methods:
@ -103,7 +103,7 @@ Containers are either ordered or unordered. All ordered containers provide [stat
| | [PriorityQueue](#priorityqueue) | yes | yes* | no | index |
| | | | <sub><sup>*reversible</sup></sub> | | <sub><sup>*bidirectional</sup></sub> |
### Lists
### Lists:
A list is a data structure that stores values and may have repeated values.
@ -129,7 +129,7 @@ type List interface {
}
```
#### ArrayList
#### ArrayList:
A [list](#lists) backed by a dynamic array that grows and shrinks implicitly.
@ -166,7 +166,7 @@ func main() {
}
```
#### SinglyLinkedList
#### SinglyLinkedList:
A [list](#lists) where each element points to the next element in the list.
@ -203,7 +203,7 @@ func main() {
}
```
#### DoublyLinkedList
#### DoublyLinkedList:
A [list](#lists) where each element points to the next and previous elements in the list.

Loading…
Cancel
Save