leetcodemisc

package
v0.0.0-...-242827e Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConcatenation

func GetConcatenation(nums []int) []int

func LengthOfLongestSubstring

func LengthOfLongestSubstring(s string) int

func LongestConsecutive

func LongestConsecutive(nums []int) int

func LongestPalindrome

func LongestPalindrome(s string) string

Types

type ListNode

type ListNode struct {
	Val  int
	Next *ListNode
}

func MergeTwoLists2

func MergeTwoLists2(list1, list2 *ListNode) *ListNode

type MinStack

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

https://leetcode.com/problems/min-stack/

func Constructor

func Constructor() MinStack

func (*MinStack) GetMin

func (s *MinStack) GetMin() int

func (*MinStack) Pop

func (s *MinStack) Pop()

func (*MinStack) Push

func (s *MinStack) Push(val int)

func (*MinStack) Top

func (s *MinStack) Top() int

Jump to

Keyboard shortcuts

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