Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RandomizedSet ¶
type RandomizedSet struct {
// contains filtered or unexported fields
}
func Constructor ¶
func Constructor() RandomizedSet
func (*RandomizedSet) GetRandom ¶
func (this *RandomizedSet) GetRandom() int
func (*RandomizedSet) Insert ¶
func (this *RandomizedSet) Insert(val int) bool
func (*RandomizedSet) Remove ¶
func (this *RandomizedSet) Remove(val int) bool
type StationState ¶
type StockSpanner ¶
type StockSpanner []DataItem
func Constructor ¶
func Constructor() StockSpanner
func (*StockSpanner) Next ¶
func (this *StockSpanner) Next(price int) int
type StringTuple2 ¶
type UndergroundSystem ¶
type UndergroundSystem struct {
// contains filtered or unexported fields
}
func Constructor ¶
func Constructor() UndergroundSystem
func (*UndergroundSystem) CheckIn ¶
func (this *UndergroundSystem) CheckIn(id int, stationName string, t int)
func (*UndergroundSystem) CheckOut ¶
func (this *UndergroundSystem) CheckOut(id int, stationName string, t int)
func (*UndergroundSystem) GetAverageTime ¶
func (this *UndergroundSystem) GetAverageTime(startStation string, endStation string) float64
type WordHeap ¶
type WordHeap []WordHeapItem
type WordHeapItem ¶
type WordHeapItem struct {
// contains filtered or unexported fields
}
Source Files ¶
- 1026. Maximum Difference Between Node and Ancestor.go
- 1143. Longest Common Subsequence.go
- 1162. As Far from Land as Possible.go
- 12. Integer to Roman.go
- 1239. Maximum Length of a Concatenated String with Unique Characters.go
- 1339. Maximum Product of Splitted Binary Tree.go
- 134. Gas Station.go
- 1396. Design Underground System.go
- 1443. Minimum Time to Collect All Apples in a Tree.go
- 150. Evaluate Reverse Polish Notation.go
- 151. Reverse Words in a String.go
- 1519. Number of Nodes in the Sub-Tree With the Same Label.go
- 1653. Minimum Deletions to Make String Balanced.go
- 1657. Determine if Two Strings Are Close.go
- 1706. Where Will the Ball Fall.go
- 1833. Maximum Ice Cream Bars.go
- 1834. Single-Threaded CPU.go
- 1926. Nearest Exit from Entrance in Maze.go
- 1962. Remove Stones to Minimize the Total.go
- 198. House Robber.go
- 2095. Delete the Middle Node of a Linked List.go
- 2131. Longest Palindrome by Concatenating Two Letter Words.go
- 222. Count Complete Tree Nodes.go
- 2225. Find Players With Zero or One Losses.go
- 223. Rectangle Area.go
- 2244. Minimum Rounds to Complete All Tasks.go
- 2256. Minimum Average Difference.go
- 2279. Maximum Bags With Full Capacity of Rocks.go
- 237. Delete Node in a Linked List.go
- 279. Perfect Squares.go
- 309. Best Time to Buy and Sell Stock with Cooldown.go
- 328. Odd Even Linked List.go
- 36. Valid Sudoku.go
- 38. Count and Say.go
- 380. Insert Delete GetRandom O(1).go
- 433. Minimum Genetic Mutation.go
- 451. Sort Characters By Frequency.go
- 452. Minimum Number of Arrows to Burst Balloons.go
- 49. Group Anagrams.go
- 523. Continuous Subarray Sum.go
- 55. Jump Game.go
- 692. Top K Frequent Words.go
- 7. Reverse Integer.go
- 739. Daily Temperatures.go
- 79. Word Search.go
- 790. Domino and Tromino Tiling.go
- 797. All Paths From Source to Target.go
- 835. Image Overlap.go
- 841. Keys and Rooms.go
- 877. Stone Game.go
- 886. Possible Bipartition.go
- 901. Online Stock Span.go
- 907. Sum of Subarray Minimums.go
- 931. Minimum Falling Path Sum.go
- 947. Most Stones Removed with Same Row or Column.go
Click to show internal directories.
Click to hide internal directories.