chore: add wiki doc

pull/41/head
Vivi Ramos 2 years ago
parent 793487aad7
commit 898c08dc0e

@ -29,6 +29,7 @@ Algorithms
* [Shell sort](https://en.wikipedia.org/wiki/Shellsort)
* [counting sort](https://en.wikipedia.org/wiki/Counting_sort)
* [radix sort](https://en.wikipedia.org/wiki/Radix_sort)
* [bead sort](https://en.wikipedia.org/wiki/Bead_sort)
#### Searching

@ -4,15 +4,9 @@ import (
"sync"
)
/* var list = []int{91, 28, 73, 46, 55, 64, 37, 82, 19}
var max = 1000
func main() {
fmt.Println("before:", list)
beadSort()
fmt.Println("after: ", list)
} */
/*
* Bead sort - https://en.wikipedia.org/wiki/Bead_sort
*/
func BeadSort(list []int) {
const bead = 'o'
max := 1000

Loading…
Cancel
Save