Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JsonChao/Awesome-Algorithm-Study
/ functions
Functions
806 in github.com/JsonChao/Awesome-Algorithm-Study
⨍
Functions
806
◇
Types & classes
394
Method
Trie2
()
data_struct_study/src/trie/Trie2.java:26
Method
Trie206
Initialize your data structure here.
data_struct_study/src/trie/Trie206.java:24
Method
Trie3
()
data_struct_study/src/trie/Trie3.java:23
Method
UnionFind1
(int size)
data_struct_study/src/union_find/UnionFind1.java:7
Method
UnionFind2
(int size)
data_struct_study/src/union_find/UnionFind2.java:10
Method
UnionFind3
(int size)
data_struct_study/src/union_find/UnionFind3.java:19
Method
UnionFind4
(int size)
data_struct_study/src/union_find/UnionFind4.java:19
Method
UnionFind5
(int size)
data_struct_study/src/union_find/UnionFind5.java:21
Method
UnionFind6
(int size)
data_struct_study/src/union_find/UnionFind6.java:25
Method
WordDictionary
Initialize your data structure here.
data_struct_study/src/trie/WordDictionary.java:24
Method
add
向堆中添加元素 @param e E
data_struct_study/src/heap_and_priority_queue/MaxHeap.java:98
Method
add
(E e)
data_struct_study/src/heap_and_priority_queue/Solution.java:224
Method
addFirst
(E e)
data_struct_study/src/heap_and_priority_queue/Solution.java:74
Method
addFirst
向数组开始添加一个元素 时间复杂度:O(n)
data_struct_study/src/array/Array.java:123
Method
addTwoNumbers
(ListNode l1, ListNode l2)
data_struct_study/src/LinkedList_problem/Solution2.java:13
Method
addTwoNumbers
(ListNode l1, ListNode l2)
data_struct_study/src/LinkedList_problem/Solution445.java:27
Method
addWord
Adds a word into the data structure.
data_struct_study/src/trie/WordDictionary.java:29
Method
binarySearch
(Comparable[] arr, int n, Comparable target)
data_struct_study/src/array_problem/BinarySearch.java:8
Method
binarySearch
(Comparable[] arr, int n, Comparable target)
data_struct_study/src/array_problem/BinarySearch2.java:17
Method
binaryTreePaths
(TreeNode root)
data_struct_study/src/binary_search_tree_problem/Solution257.java:20
Method
canPartition
(int[] nums)
data_struct_study/src/dynamic_problem/Solution416_2.java:9
Method
canPartition
(int[] nums)
data_struct_study/src/dynamic_problem/Solution416.java:32
Method
climbStairs
(int n)
data_struct_study/src/dynamic_problem/Solution70_3.java:13
Method
climbStairs
(int n)
data_struct_study/src/dynamic_problem/Solution70_2.java:15
Method
climbStairs
(int n)
data_struct_study/src/dynamic_problem/Solution70.java:17
Method
coinChange
(int[] coins, int amount)
data_struct_study/src/dynamic_problem/Solution322.java:7
Method
combinationSum
(int[] candidates, int target)
data_struct_study/src/backstracking_problem/Solution39.java:8
Method
combinationSum2
(int[] candidates, int target)
data_struct_study/src/backstracking_problem/Solution40.java:9
Method
combinationSum3
(int k, int n)
data_struct_study/src/backstracking_problem/Solution216.java:8
Method
combine
(int n, int k)
data_struct_study/src/backstracking_problem/Solution77_2.java:17
Method
combine
(int n, int k)
data_struct_study/src/backstracking_problem/Solution77.java:17
Method
compare
(Pair<Integer, Integer> o1, Pair<Integer, Integer> o2)
data_struct_study/src/queue_problem/Solution347.java:17
Method
compare
(Interval o1, Interval o2)
data_struct_study/src/greedy_problem/Solution435.java:37
Method
compare
(Interval o1, Interval o2)
data_struct_study/src/greedy_problem/Solution435_2.java:29
Method
contains
判断是否包含元素 e @param e E @return 是否包含元素 e
data_struct_study/src/binary_search_tree/BST.java:148
Method
contains
数组中是否包含某元素 @return 是否包含某元素
data_struct_study/src/queue/Array.java:201
Method
contains
(E e)
data_struct_study/src/heap_and_priority_queue/Solution.java:93
Method
containsDuplicate
(int[] nums)
data_struct_study/src/hash_table_problem/Solution217.java:14
Method
containsNearbyAlmostDuplicate
(int[] nums, int k, int t)
data_struct_study/src/hash_table_problem/Solution220.java:14
Method
containsNearbyDuplicate
(int[] nums, int k)
data_struct_study/src/hash_table_problem/Solution219.java:17
Method
deleteDuplicates
(ListNode head)
data_struct_study/src/LinkedList_problem/Solution83.java:8
Method
deleteElement
删除数组中指定的元素 @param e 被删除的元素 @return 是否删除成功
data_struct_study/src/queue/Array.java:248
Method
deleteNode
(ListNode node)
data_struct_study/src/LinkedList_problem/Solution237.java:10
Method
dequeue
()
data_struct_study/src/queue/Queue.java:7
Method
dequeue
()
data_struct_study/src/heap_and_priority_queue/PriorityQueue.java:29
Method
detectCycle
(ListNode head)
data_struct_study/src/LinkedList_problem/Solution142.java:12
Method
enqueue
(E e)
data_struct_study/src/queue/Queue.java:5
Method
enqueue
(E e)
data_struct_study/src/heap_and_priority_queue/PriorityQueue.java:24
Method
enqueueMessage
(Message message)
data_struct_study/src/other_problem/Solution_2.java:52
Method
enqueueMessage
(Message message)
data_struct_study/src/other_problem/Solution_2.java:68
Method
enqueueMessage
(Message message)
data_struct_study/src/other_problem/Solution_2.java:101
Method
eraseOverlapIntervals
(Interval[] intervals)
data_struct_study/src/greedy_problem/Solution435.java:29
Method
eraseOverlapIntervals
(Interval[] intervals)
data_struct_study/src/greedy_problem/Solution435_2.java:21
Method
exist
(char[][] board, String word)
data_struct_study/src/backstracking_problem/Solution79.java:15
Method
fib
(int n)
data_struct_study/src/dynamic_problem/Solution509_2.java:12
Method
fib
(int n)
data_struct_study/src/dynamic_problem/Solution509.java:8
Method
fib
(int n)
data_struct_study/src/dynamic_problem/Solution509_3.java:10
Method
findAnagrams
(String s, String p)
data_struct_study/src/array_problem/Solution438.java:15
Method
findCircleNNum
(int[][] M)
data_struct_study/src/array_problem/Solution547.java:7
Method
findContentChildren
(int[] g, int[] s)
data_struct_study/src/greedy_problem/Solution455.java:13
Method
findContentChildren
(int[] g, int[] s)
data_struct_study/src/greedy_problem/Solution455_2.java:12
Method
findFirstCommonNode
(ListNode pHead1, ListNode pHead2)
data_struct_study/src/LinkedList_problem/Solution_1.java:15
Method
findKthToTail
(ListNode head, int k)
data_struct_study/src/LinkedList_problem/Solution_3.java:19
Method
findTargetSumWays
(int[] nums, int S)
data_struct_study/src/dynamic_problem/Solution494.java:14
Method
findTargetSumWays
(int[] nums, int S)
data_struct_study/src/dynamic_problem/Solution494_2.java:5
Method
firstUniqChar
(String s)
data_struct_study/src/hash_table/Solution1.java:8
Method
fourSumCount
(int[] A, int[] B, int[] C, int[] D)
data_struct_study/src/hash_table_problem/Solution454_2.java:11
Method
fourSumCount
(int[] A, int[] B, int[] C, int[] D)
data_struct_study/src/hash_table_problem/Solution454.java:17
Method
frequencySort
(String s)
data_struct_study/src/hash_table_problem/Solution451.java:9
Method
generateParenthesis
(int n)
data_struct_study/src/backstracking_problem/Solution22.java:13
Method
get
获取指定下标的元素 @param index 下标 @return 指定下标的元素
data_struct_study/src/segment_tree/NumArray.java:161
Method
get
获取指定下标的元素 @param index 下标 @return 指定下标的元素
data_struct_study/src/segment_tree/SegmentTree.java:193
Method
get
(int index)
data_struct_study/src/heap_and_priority_queue/Solution.java:79
Method
get
(int key)
data_struct_study/src/other_problem/Solution146.java:32
Method
getCapacity
获取数组的容量 @return 容量
data_struct_study/src/queue/Array.java:75
Method
getCapacity
()
data_struct_study/src/heap_and_priority_queue/Solution.java:37
Method
getCapacity
获取数组的容量 @return 容量
data_struct_study/src/array/Array.java:93
Method
getCode
()
data_struct_study/src/other_problem/Solution_2.java:30
Method
getFront
()
data_struct_study/src/LinkedList/LinkedListQueue.java:89
Method
getFront
()
data_struct_study/src/queue/LoopQueue.java:99
Method
getFront
()
data_struct_study/src/queue/Queue.java:13
Method
getFront
()
data_struct_study/src/queue/ArrayQueue.java:41
Method
getFront
()
data_struct_study/src/heap_and_priority_queue/PriorityQueue.java:44
Method
getFront
()
data_struct_study/src/heap_and_priority_queue/Solution.java:289
Method
getIntersectionNode
(ListNode headA, ListNode headB)
data_struct_study/src/LinkedList_problem/Solution160.java:5
Method
getLast
获取链表尾部的元素 @return 链表尾部的元素
data_struct_study/src/LinkedList/LinkedList.java:160
Method
getMin
()
data_struct_study/src/stack_problem/Solution155.java:37
Method
getMsg
()
data_struct_study/src/other_problem/Solution_2.java:38
Method
getSize
()
data_struct_study/src/LinkedList/LinkedListQueue.java:84
Method
getSize
()
data_struct_study/src/LinkedList/LinkedListStack.java:25
Method
getSize
获取链表的大小 @return 链表的大小
data_struct_study/src/LinkedList/LinkedList.java:70
Method
getSize
()
data_struct_study/src/union_find/UnionFind3.java:30
Method
getSize
()
data_struct_study/src/union_find/UnionFind1.java:15
Method
getSize
()
data_struct_study/src/union_find/UnionFind6.java:36
Method
getSize
()
data_struct_study/src/union_find/UnionFind5.java:32
Method
getSize
()
data_struct_study/src/union_find/UF.java:5
Method
getSize
()
data_struct_study/src/union_find/UnionFind4.java:30
Method
getSize
()
data_struct_study/src/union_find/UnionFind2.java:19
Method
getSize
()
data_struct_study/src/segment_tree/NumArray.java:151
Method
getSize
()
data_struct_study/src/segment_tree/SegmentTree.java:183
← previous
next →
401–500 of 806, ranked by callers