MCPcopy Create free account

hub / github.com/Hubstation/challenges / functions

Functions536 in github.com/Hubstation/challenges

Functionmain
golang/find_median_from_data_stream/find_median_from_data_stream.cpp:95
Functionmain
()
grpc/harsh/challenge1/s_server.go:15
Functionmain
()
grpc/harsh/challenge1/s_client.go:14
FunctionmajorityElement
(nums []int)
golang/majority_element/majority_element.go:3
FunctionmajorityElement
(nums []int)
golang/majority_element_II/majority_element_II.go:3
MethodmaxCoins
golang/burst_balloons/burst_balloons.cpp:3
FunctionmaxDepth
(root *TreeNode)
golang/maximum_depth_of_binary_tree/maximum_depth_of_binary_tree.go:9
MethodmaxEnvelopes
golang/russian_doll_envelopes/russian_doll_envelopes.cpp:3
FunctionmaxPathSum
(root *TreeNode)
golang/binary_tree_maximum_path_sum/binary_tree_maximum_path_sum.go:14
FunctionmaxPoints
(points []Point)
golang/max_points_on_a_line/max_points_on_a_line.go:8
FunctionmaxProduct
(nums []int)
golang/maximum_product_subarray/maximum_product_subarray.go:3
MethodmaxProduct
golang/maximum_product_of_word_lengths/maximum_product_of_word_lengths.cpp:3
MethodmaxProfit
golang/best_time_to_buy_and_sell_stock_II/best_time_to_buy_and_sell_stock_II.cpp:3
MethodmaxProfit
golang/best_time_to_buy_and_sell_stock_IV/best_time_to_buy_and_sell_stock_IV.cpp:3
MethodmaxProfit
golang/best_time_to_buy_and_sell_stock_III/best_time_to_buy_and_sell_stock_III.cpp:3
MethodmaxProfit
golang/best_time_to_buy_and_sell_stock/best_time_to_buy_and_sell_stock.cpp:3
MethodmaxProfit
golang/best_time_to_buy_and_sell_stock_with_cooldown/best_time_to_buy_and_sell_stock_with_cooldown.cpp:3
MethodmaxRotateFunction
golang/rotate_function/rotate_function.cpp:3
FunctionmaxSlidingWindow
(nums []int, k int)
golang/sliding_window_maximum/sliding_window_maximum.go:3
FunctionmaxSubArray
(nums []int)
golang/maximum_subarray/maximum_subarray.go:3
FunctionmaximalRectangle
(matrix [][]byte)
golang/maximal_rectangle/maximal_rectangle.go:3
FunctionmaximalSquare
(matrix [][]byte)
golang/maximal_square/maximal_square.go:3
FunctionmaximumGap
(nums []int)
golang/maximum_gap/maximum_gap.go:3
Functionmerge
(nums1 []int, m int, nums2 []int, n int)
golang/merge_sorted_array/merge_sorted_array.go:3
FunctionmergeKLists
(lists []*ListNode)
golang/merge_k_sorted_lists/merge_k_sorted_lists.go:8
FunctionmergeTwoLists
(l1 *ListNode, l2 *ListNode)
golang/merge_two_sorted_lists/merge_two_sorted_lists.go:8
Methodmin
golang/perfect_squares/perfect_squares.cpp:16
FunctionminCut
(s string)
golang/palindrome_partitioning_II/palindrome_partitioning_II.go:3
FunctionminDepth
(root *TreeNode)
golang/minimum_depth_of_binary_tree/minimum_depth_of_binary_tree.go:9
FunctionminPathSum
(grid [][]int)
golang/minimum_path_sum/minimum_path_sum.go:3
FunctionminSubArrayLen
(s int, nums []int)
golang/minimum_size_subarray_sum/minimum_size_subarray_sum.go:3
FunctionminWindow
(s string, t string)
golang/minimum_window_substring/minimum_window_substring.go:3
FunctionminimumTotal
golang/triangle/triangle.cpp:4
FunctionmissingNumber
(nums []int)
golang/missing_number/missing_number.go:3
FunctionmissingNumberI
(nums []int)
golang/missing_number/missing_number.go:11
MethodmoveZeroes
golang/move_zeroes/move_zeroes.cpp:3
FunctionmyAtoi
(str string)
golang/string_to_integer/string_to_integer.go:9
FunctionmyPow
(x float64, n int)
golang/pow_x_n/pow_x_n.go:3
Methodnext
@return the next smallest number */
golang/binary_search_tree_iterator/binary_search_tree_iterator.cpp:27
Methodnext
golang/flatten_nested_list_iterator/flatten_nested_list_iterator.cpp:36
Methodnext
hasNext() and next() should behave the same as in the Iterator interface. Override them if needed.
golang/peeking_iterator/peeking_iterator.cpp:36
FunctionnextPermutation
(nums []int)
golang/next_permutation/next_permutation.go:3
Methodnode
golang/lru_cache/lru_cache.cpp:10
Methodnode_list
golang/lru_cache/lru_cache.cpp:18
MethodnthSuperUglyNumber
golang/super_ugly_number/super_ugly_number.cpp:3
FunctionnthUglyNumber
(n int)
golang/ugly_number_II/ugly_number_II.go:3
FunctionnumDecodings
(s string)
golang/decode_ways/decode_ways.go:3
FunctionnumDistinct
(s string, t string)
golang/distinct_subsequences/distinct_subsequences.go:3
FunctionnumIslands
(grid [][]byte)
golang/number_of_islands/number_of_islands.go:3
MethodnumSquares
golang/perfect_squares/perfect_squares.cpp:3
FunctionnumTrees
(n int)
golang/unique_binary_search_trees/unique_binary_search_trees.go:3
Methodoperator ()
golang/find_k_pairs_with_smallest_sums/find_k_pairs_with_smallest_sums.cpp:23
MethodpalindromePairs
golang/palindrome_pairs/palindrome_pairs.cpp:3
Functionpartition
(head *ListNode, x int)
golang/partition_list/partition_list.go:8
Methodpartition
golang/palindrome_partitioning/palindrome_partitioning.cpp:14
FunctionpathSum
(root *TreeNode, sum int)
golang/path_sum_II/path_sum_II.go:9
Methodpeek
Get the front element.
golang/implement_queue_using_stacks/implement_queue_using_stacks.cpp:25
Methodpeek
Returns the next element in the iteration without advancing the iterator.
golang/peeking_iterator/peeking_iterator.cpp:26
Functionpermute1
no recursion
golang/permutations/permutations.go:39
FunctionpermuteUnique
(nums []int)
golang/permutations_II/permutations_II.go:3
FunctionplusOne
(digits []int)
golang/plus_one/plus_one.go:3
Methodpop
Removes the element on top of the stack.
golang/implement_stack_using_queues/implement_stack_using_queues.cpp:12
FunctionpostorderTraversal
(root *TreeNode)
golang/binary_tree_postorder_traversal/binary_tree_postorder_traversal.go:9
FunctionpreorderTraversal
(root *TreeNode)
golang/binary_tree_preorder_traversal/binary_tree_preorder_traversal.go:9
Methodprint
golang/find_median_from_data_stream/find_median_from_data_stream.cpp:33
FunctionproductExceptSelf
(nums []int)
golang/product_of_array_except_self/product_of_array_except_self.go:3
FunctionrangeBitwiseAnd
(m int, n int)
golang/bitwise_AND_of_numbers_range/bitwise_AND_of_numbers_range.go:3
MethodremoveDuplicateLetters
golang/remove_duplicate_letters/remove_duplicate_letters.cpp:3
FunctionremoveDuplicates
(nums []int)
golang/remove_duplicates_from_sorted_array/remove_duplicates_from_sorted_array.go:3
FunctionremoveDuplicates
(nums []int)
golang/remove_duplicates_from_sorted_array_II/remove_duplicates_from_sorted_array_II.go:3
FunctionremoveElement
(nums []int, val int)
golang/remove_element/remove_element.go:3
FunctionremoveElements
(head *ListNode, val int)
golang/remove_linked_list_elements/remove_linked_list_elements.go:8
MethodremoveInvalidParentheses
golang/remove_invalid_parentheses/remove_invalid_parentheses.cpp:7
FunctionremoveNthFromEnd
(head *ListNode, n int)
golang/remove_nth_node_from_end_of_list/remove_nth_node_from_end_of_list.go:8
FunctionreorderList
(head *ListNode)
golang/reorder_list/reorder_list.go:8
Methodreset
Resets the array to its original configuration and return it. */
golang/shuffle_an_array/shuffle_an_array.cpp:8
Methodretrieve
golang/add_and_search_word/add_and_search_word.cpp:35
Methodretrieve
golang/implement_trie/implement_trie.cpp:46
FunctionreverseBetween
(head *ListNode, m int, n int)
golang/reverse_linked_list_II/reverse_linked_list_II.go:8
MethodreverseBits
golang/reverse_bits/reverse_bits.cpp:3
FunctionreverseList
(head *ListNode)
golang/reverse_linked_list/reverse_linked_list.go:8
MethodreverseString
golang/reverse_string/reverse_string.cpp:3
MethodreverseVowels
golang/reverse_vowels_of_a_string/reverse_vowels_of_a_string.cpp:3
MethodreverseWords
golang/reverse_words_in_a_string/reverse_words_in_a_string.cpp:8
FunctionrightSideView
(root *TreeNode)
golang/binary_tree_right_side_view/binary_tree_right_side_view.go:9
Functionrob
(nums []int)
golang/house_robber/house_robber.go:3
Methodrob
golang/house_robber_III/house_robber_III.cpp:11
FunctionromanToInt
(s string)
golang/roman_to_integer/roman_to_integer.go:3
Functionrotate
(nums []int, k int)
golang/rotate_array/rotate_array.go:3
Functionrotate
(matrix [][]int)
golang/rotate_image/rotate_image.go:7
FunctionrotateRight
(head *ListNode, k int)
golang/rotate_list/rotate_list.go:8
Functionsearch
(nums []int, target int)
golang/search_in_rotated_sorted_array_II/search_in_rotated_sorted_array_II.go:3
Methodsearch
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
Methodsearch
Returns if the word is in the trie.
golang/implement_trie/implement_trie.cpp:33
FunctionsearchInsert
(nums []int, target int)
golang/search_insert_position/search_insert_position.go:3
FunctionsearchMatrix
(matrix [][]int, target int)
golang/search_a_2D_matrix_II/search_a_2D_matrix_II.go:3
FunctionsearchMatrix
(matrix [][]int, target int)
golang/search_a_2D_matrix/search_a_2D_matrix.go:3
Methodserialize
golang/serialize_and_deserialize_binary_tree/serialize_and_deserialize_binary_tree.cpp:13
FunctionsetZeroes
(matrix [][]int)
golang/set_matrix_zeroes/set_matrix_zeroes.go:3
FunctionshortestPalindrome
(s string)
golang/shortest_palindrome/shortest_palindrome.go:3
← previousnext →401–500 of 536, ranked by callers