sorting

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HeapSortBasicExample

func HeapSortBasicExample()

func HeapSortCombinedExample

func HeapSortCombinedExample()

func HeapSortStructExample

func HeapSortStructExample()

func MergeSortBasicExample

func MergeSortBasicExample()

func MergeSortCombinedExample

func MergeSortCombinedExample()

func MergeSortStructExample

func MergeSortStructExample()

func QuickSortBasicExample

func QuickSortBasicExample()

func QuickSortCombinedExample

func QuickSortCombinedExample()

func QuickSortStructExample

func QuickSortStructExample()

Types

type Product

type Product struct {
	ID    int
	Name  string
	Price float64
	Stock int
}

type Student

type Student struct {
	ID     int
	Name   string
	Grade  float64
	Active bool
}

type Task

type Task struct {
	ID       int
	Priority int
	Name     string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL