Skip to content

Repository files navigation

sort

Sort library made with go

This library was made to implement the various sorts we made when we're studying algorithms.

The first sort implemented here is BubbleSort

Using

You can use this code as an example:

package main
import (
"fmt""math/rand""github.com/munirwanis/sort"
)
funcmain() {
vararray=rand.Perm(10) // Creates random array with 10 items in itfmt.Println(array)
sort.BubbleSort(array)
fmt.Println(array)
}

About

Sort library made with go

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages