Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Hubstation/challenges
/ functions
Functions
536 in github.com/Hubstation/challenges
⨍
Functions
536
◇
Types & classes
176
Function
main
golang/find_median_from_data_stream/find_median_from_data_stream.cpp:95
Function
main
()
grpc/harsh/challenge1/s_server.go:15
Function
main
()
grpc/harsh/challenge1/s_client.go:14
Function
majorityElement
(nums []int)
golang/majority_element/majority_element.go:3
Function
majorityElement
(nums []int)
golang/majority_element_II/majority_element_II.go:3
Method
maxCoins
golang/burst_balloons/burst_balloons.cpp:3
Function
maxDepth
(root *TreeNode)
golang/maximum_depth_of_binary_tree/maximum_depth_of_binary_tree.go:9
Method
maxEnvelopes
golang/russian_doll_envelopes/russian_doll_envelopes.cpp:3
Function
maxPathSum
(root *TreeNode)
golang/binary_tree_maximum_path_sum/binary_tree_maximum_path_sum.go:14
Function
maxPoints
(points []Point)
golang/max_points_on_a_line/max_points_on_a_line.go:8
Function
maxProduct
(nums []int)
golang/maximum_product_subarray/maximum_product_subarray.go:3
Method
maxProduct
golang/maximum_product_of_word_lengths/maximum_product_of_word_lengths.cpp:3
Method
maxProfit
golang/best_time_to_buy_and_sell_stock_II/best_time_to_buy_and_sell_stock_II.cpp:3
Method
maxProfit
golang/best_time_to_buy_and_sell_stock_IV/best_time_to_buy_and_sell_stock_IV.cpp:3
Method
maxProfit
golang/best_time_to_buy_and_sell_stock_III/best_time_to_buy_and_sell_stock_III.cpp:3
Method
maxProfit
golang/best_time_to_buy_and_sell_stock/best_time_to_buy_and_sell_stock.cpp:3
Method
maxProfit
golang/best_time_to_buy_and_sell_stock_with_cooldown/best_time_to_buy_and_sell_stock_with_cooldown.cpp:3
Method
maxRotateFunction
golang/rotate_function/rotate_function.cpp:3
Function
maxSlidingWindow
(nums []int, k int)
golang/sliding_window_maximum/sliding_window_maximum.go:3
Function
maxSubArray
(nums []int)
golang/maximum_subarray/maximum_subarray.go:3
Function
maximalRectangle
(matrix [][]byte)
golang/maximal_rectangle/maximal_rectangle.go:3
Function
maximalSquare
(matrix [][]byte)
golang/maximal_square/maximal_square.go:3
Function
maximumGap
(nums []int)
golang/maximum_gap/maximum_gap.go:3
Function
merge
(nums1 []int, m int, nums2 []int, n int)
golang/merge_sorted_array/merge_sorted_array.go:3
Function
mergeKLists
(lists []*ListNode)
golang/merge_k_sorted_lists/merge_k_sorted_lists.go:8
Function
mergeTwoLists
(l1 *ListNode, l2 *ListNode)
golang/merge_two_sorted_lists/merge_two_sorted_lists.go:8
Method
min
golang/perfect_squares/perfect_squares.cpp:16
Function
minCut
(s string)
golang/palindrome_partitioning_II/palindrome_partitioning_II.go:3
Function
minDepth
(root *TreeNode)
golang/minimum_depth_of_binary_tree/minimum_depth_of_binary_tree.go:9
Function
minPathSum
(grid [][]int)
golang/minimum_path_sum/minimum_path_sum.go:3
Function
minSubArrayLen
(s int, nums []int)
golang/minimum_size_subarray_sum/minimum_size_subarray_sum.go:3
Function
minWindow
(s string, t string)
golang/minimum_window_substring/minimum_window_substring.go:3
Function
minimumTotal
golang/triangle/triangle.cpp:4
Function
missingNumber
(nums []int)
golang/missing_number/missing_number.go:3
Function
missingNumberI
(nums []int)
golang/missing_number/missing_number.go:11
Method
moveZeroes
golang/move_zeroes/move_zeroes.cpp:3
Function
myAtoi
(str string)
golang/string_to_integer/string_to_integer.go:9
Function
myPow
(x float64, n int)
golang/pow_x_n/pow_x_n.go:3
Method
next
@return the next smallest number */
golang/binary_search_tree_iterator/binary_search_tree_iterator.cpp:27
Method
next
golang/flatten_nested_list_iterator/flatten_nested_list_iterator.cpp:36
Method
next
hasNext() and next() should behave the same as in the Iterator interface. Override them if needed.
golang/peeking_iterator/peeking_iterator.cpp:36
Function
nextPermutation
(nums []int)
golang/next_permutation/next_permutation.go:3
Method
node
golang/lru_cache/lru_cache.cpp:10
Method
node_list
golang/lru_cache/lru_cache.cpp:18
Method
nthSuperUglyNumber
golang/super_ugly_number/super_ugly_number.cpp:3
Function
nthUglyNumber
(n int)
golang/ugly_number_II/ugly_number_II.go:3
Function
numDecodings
(s string)
golang/decode_ways/decode_ways.go:3
Function
numDistinct
(s string, t string)
golang/distinct_subsequences/distinct_subsequences.go:3
Function
numIslands
(grid [][]byte)
golang/number_of_islands/number_of_islands.go:3
Method
numSquares
golang/perfect_squares/perfect_squares.cpp:3
Function
numTrees
(n int)
golang/unique_binary_search_trees/unique_binary_search_trees.go:3
Method
operator ()
golang/find_k_pairs_with_smallest_sums/find_k_pairs_with_smallest_sums.cpp:23
Method
palindromePairs
golang/palindrome_pairs/palindrome_pairs.cpp:3
Function
partition
(head *ListNode, x int)
golang/partition_list/partition_list.go:8
Method
partition
golang/palindrome_partitioning/palindrome_partitioning.cpp:14
Function
pathSum
(root *TreeNode, sum int)
golang/path_sum_II/path_sum_II.go:9
Method
peek
Get the front element.
golang/implement_queue_using_stacks/implement_queue_using_stacks.cpp:25
Method
peek
Returns the next element in the iteration without advancing the iterator.
golang/peeking_iterator/peeking_iterator.cpp:26
Function
permute1
no recursion
golang/permutations/permutations.go:39
Function
permuteUnique
(nums []int)
golang/permutations_II/permutations_II.go:3
Function
plusOne
(digits []int)
golang/plus_one/plus_one.go:3
Method
pop
Removes the element on top of the stack.
golang/implement_stack_using_queues/implement_stack_using_queues.cpp:12
Function
postorderTraversal
(root *TreeNode)
golang/binary_tree_postorder_traversal/binary_tree_postorder_traversal.go:9
Function
preorderTraversal
(root *TreeNode)
golang/binary_tree_preorder_traversal/binary_tree_preorder_traversal.go:9
Method
print
golang/find_median_from_data_stream/find_median_from_data_stream.cpp:33
Function
productExceptSelf
(nums []int)
golang/product_of_array_except_self/product_of_array_except_self.go:3
Function
rangeBitwiseAnd
(m int, n int)
golang/bitwise_AND_of_numbers_range/bitwise_AND_of_numbers_range.go:3
Method
removeDuplicateLetters
golang/remove_duplicate_letters/remove_duplicate_letters.cpp:3
Function
removeDuplicates
(nums []int)
golang/remove_duplicates_from_sorted_array/remove_duplicates_from_sorted_array.go:3
Function
removeDuplicates
(nums []int)
golang/remove_duplicates_from_sorted_array_II/remove_duplicates_from_sorted_array_II.go:3
Function
removeElement
(nums []int, val int)
golang/remove_element/remove_element.go:3
Function
removeElements
(head *ListNode, val int)
golang/remove_linked_list_elements/remove_linked_list_elements.go:8
Method
removeInvalidParentheses
golang/remove_invalid_parentheses/remove_invalid_parentheses.cpp:7
Function
removeNthFromEnd
(head *ListNode, n int)
golang/remove_nth_node_from_end_of_list/remove_nth_node_from_end_of_list.go:8
Function
reorderList
(head *ListNode)
golang/reorder_list/reorder_list.go:8
Method
reset
Resets the array to its original configuration and return it. */
golang/shuffle_an_array/shuffle_an_array.cpp:8
Method
retrieve
golang/add_and_search_word/add_and_search_word.cpp:35
Method
retrieve
golang/implement_trie/implement_trie.cpp:46
Function
reverseBetween
(head *ListNode, m int, n int)
golang/reverse_linked_list_II/reverse_linked_list_II.go:8
Method
reverseBits
golang/reverse_bits/reverse_bits.cpp:3
Function
reverseList
(head *ListNode)
golang/reverse_linked_list/reverse_linked_list.go:8
Method
reverseString
golang/reverse_string/reverse_string.cpp:3
Method
reverseVowels
golang/reverse_vowels_of_a_string/reverse_vowels_of_a_string.cpp:3
Method
reverseWords
golang/reverse_words_in_a_string/reverse_words_in_a_string.cpp:8
Function
rightSideView
(root *TreeNode)
golang/binary_tree_right_side_view/binary_tree_right_side_view.go:9
Function
rob
(nums []int)
golang/house_robber/house_robber.go:3
Method
rob
golang/house_robber_III/house_robber_III.cpp:11
Function
romanToInt
(s string)
golang/roman_to_integer/roman_to_integer.go:3
Function
rotate
(nums []int, k int)
golang/rotate_array/rotate_array.go:3
Function
rotate
(matrix [][]int)
golang/rotate_image/rotate_image.go:7
Function
rotateRight
(head *ListNode, k int)
golang/rotate_list/rotate_list.go:8
Function
search
(nums []int, target int)
golang/search_in_rotated_sorted_array_II/search_in_rotated_sorted_array_II.go:3
Method
search
Returns if the word is in the data structure. A word could contain the dot character '.' to represent any one letter.
golang/add_and_search_word/add_and_search_word.cpp:31
Method
search
Returns if the word is in the trie.
golang/implement_trie/implement_trie.cpp:33
Function
searchInsert
(nums []int, target int)
golang/search_insert_position/search_insert_position.go:3
Function
searchMatrix
(matrix [][]int, target int)
golang/search_a_2D_matrix_II/search_a_2D_matrix_II.go:3
Function
searchMatrix
(matrix [][]int, target int)
golang/search_a_2D_matrix/search_a_2D_matrix.go:3
Method
serialize
golang/serialize_and_deserialize_binary_tree/serialize_and_deserialize_binary_tree.cpp:13
Function
setZeroes
(matrix [][]int)
golang/set_matrix_zeroes/set_matrix_zeroes.go:3
Function
shortestPalindrome
(s string)
golang/shortest_palindrome/shortest_palindrome.go:3
← previous
next →
401–500 of 536, ranked by callers