btree

package module
v0.0.0-...-a5461f0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2024 License: MIT Imports: 0 Imported by: 0

README

B-Tree experiment

Saw this YT video on the B-Tree data structure and wanted to implement it.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BTree

type BTree struct {
	// contains filtered or unexported fields
}

func NewBTree

func NewBTree() *BTree

func (*BTree) Insert

func (t *BTree) Insert(e Element)

func (BTree) Search

func (t BTree) Search(key int) string

type Element

type Element struct {
	// contains filtered or unexported fields
}

func NewElement

func NewElement(k int, v string) Element

Jump to

Keyboard shortcuts

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