leetcode

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

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

Go to latest
Published: Aug 23, 2022 License: MIT Imports: 2 Imported by: 0

Documentation ยถ

Index ยถ

Constants ยถ

This section is empty.

Variables ยถ

This section is empty.

Functions ยถ

func AddBinary ยถ

func AddBinary(a, b string) string

func AddTwoNumbers ยถ

func AddTwoNumbers(list1, list2 *linkedlist.Node[int]) *linkedlist.Node[int]

func ClimbingStairs ยถ

func ClimbingStairs(steps int) int

func DeleteDuplicates ยถ

func DeleteDuplicates(list *linkedlist.Node[int]) *linkedlist.Node[int]

func IndexOf ยถ

func IndexOf(haystack string, needle string) int

func IsPalindrome ยถ

func IsPalindrome(number int) bool

func IsValidParentheses ยถ

func IsValidParentheses(input string) bool

func LengthOfLastWord ยถ

func LengthOfLastWord(s string) int

func LengthOfLongestSubstring ยถ

func LengthOfLongestSubstring(s string) int

func LongestCommonPrefix ยถ

func LongestCommonPrefix(strings []string) string

func MaxSubArray ยถ

func MaxSubArray(numbers []int) int

func MergeSortedArrays ยถ

func MergeSortedArrays(numbers1, numbers2 []int, m, n int)

func MergeTwoLists ยถ

func MergeTwoLists(list1, list2 *linkedlist.Node[int]) *linkedlist.Node[int]

func MinOperations ยถ

func MinOperations(boxes string) []int

func PlusOne ยถ

func PlusOne(digits []int) []int

func RemoveDuplicates ยถ

func RemoveDuplicates(numbers []int) int

func RemoveElement ยถ

func RemoveElement(numbers []int, value int) int

func RomanToInt ยถ

func RomanToInt(roman string) int

func SearchInsert ยถ

func SearchInsert(numbers []int, target int) int

func Sqrt ยถ

func Sqrt(square int) int

func TwoSum ยถ

func TwoSum(numbers []int, target int) []int

Types ยถ

This section is empty.

Directories ยถ

Path Synopsis

Jump to

Keyboard shortcuts

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