algo

package
v1.8.12 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package algo provides some algorithm utils.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetIntersection

func SetIntersection(a, b interface{}, eq func(a, b interface{}) bool) []interface{}

SetIntersection complexity: O(n^2), could be better but this is simple enough.

Types

This section is empty.

Jump to

Keyboard shortcuts

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