smallest_number_in_infinite_set

package
v0.0.0-...-0de4187 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SmallestInfiniteSet

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

func Constructor

func Constructor() SmallestInfiniteSet

func (*SmallestInfiniteSet) AddBack

func (s *SmallestInfiniteSet) AddBack(num int)

func (*SmallestInfiniteSet) PopSmallest

func (s *SmallestInfiniteSet) PopSmallest() int

type SmallestInfiniteSetAlt

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

func NewSmallestInfiniteSetAlt

func NewSmallestInfiniteSetAlt() SmallestInfiniteSetAlt

func (*SmallestInfiniteSetAlt) AddBack

func (s *SmallestInfiniteSetAlt) AddBack(num int)

func (*SmallestInfiniteSetAlt) PopSmallest

func (s *SmallestInfiniteSetAlt) PopSmallest() int

Jump to

Keyboard shortcuts

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