Discover Packages
github.com/ifthakharriyad/sort
package
module
Version:
v0.0.0-...-14651c3
Opens a new window with list of versions in this module.
Published: May 28, 2023
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
A library implimenting common sorting methods for integers.
Expand ▾
Collapse ▴
Documentation
¶
Merge function merges two slices into sorted order.
MergeSort is a simple merge sort implimentation for integers.
It sorts an slice of type []int, the first parameter.
func QuickSort(s []int , cmp func(i, j int ) int )
QuickSort is a very simple quick sort implimentation for integers. It sorts an slice of type []int, the first parameter, with the second one which is a compare function.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.