SkillAgentSearch skills...

Flattree

🌳 A series of go functions to map a binary tree to a list.

Install / Use

/learn @bcomnes/Flattree
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

🌳 flattree

Build Status Go Reportcard GoDoc

A series of functions to map a binary tree to a list. A port of flat-tree to go.

Install

go get github.com/bcomnes/flattree

Usage

You can represent a binary tree in a simple flat list using the following structure

      3
  1       5
0   2   4   6  ...

See Godoc example on godoc.

API

See API example on godoc.

See also

Related Skills

View on GitHub
GitHub Stars10
CategoryDevelopment
Updated4y ago
Forks1

Languages

Go

Security Score

75/100

Audited on Nov 24, 2021

No findings