greedy

package
v0.0.0-...-7253c86 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GasStation

func GasStation(gas []int, cost []int) int

func HandOfStraights

func HandOfStraights(hand []int, groupSize int) bool

func JumpGame

func JumpGame(nums []int) bool

func JumpGameII

func JumpGameII(nums []int) int

func MergeTripletsToFormTargetTriplet

func MergeTripletsToFormTargetTriplet(triplets [][]int, target []int) bool

func PartitionLabels

func PartitionLabels(s string) []int

func ValidParenthesisString

func ValidParenthesisString(s string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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