MCPcopy Create free account

hub / github.com/Hubstation/challenges / functions

Functions536 in github.com/Hubstation/challenges

FunctionTestIsNumber
(t *testing.T)
golang/valid_number/valid_number_test.go:7
FunctionTestIsPalindrome
(t *testing.T)
golang/palindrome_number/palindrome_number_test.go:7
FunctionTestIsValid
(t *testing.T)
golang/valid_parentheses/valid_parentheses_test.go:7
FunctionTestIsValidSudoku
(t *testing.T)
golang/valid_sudoku/valid_sudoku_test.go:7
FunctionTestLargestRectangleArea
(t *testing.T)
golang/largest_rectangle_in_histogram/largest_rectangle_in_histogram_test.go:7
FunctionTestLengthOfLastWord
(t *testing.T)
golang/length_of_last_word/length_of_last_word_test.go:7
FunctionTestLengthOfLongestSubstring
(t *testing.T)
golang/longest_substring_without_repeating_characters/longest_substring_without_repeating_characters_test.go:7
FunctionTestLongestCommonPrefix
(t *testing.T)
golang/longest_common_prefix/longest_common_prefix_test.go:7
FunctionTestLongestPalindrome
(t *testing.T)
golang/longest_palindromic_substring/longest_palindromic_substring_test.go:7
FunctionTestLongestValidParentheses
(t *testing.T)
golang/longest_valid_parentheses/longest_valid_parentheses_test.go:7
FunctionTestMaxArea
(t *testing.T)
golang/container_with_most_water/container_with_most_water_test.go:7
FunctionTestMergeKLists
(t *testing.T)
golang/merge_k_sorted_lists/merge_k_sorted_lists_test.go:7
FunctionTestMinDistance
(t *testing.T)
golang/edit_distance/edit_distance_test.go:7
FunctionTestMultiply
(t *testing.T)
golang/multiply_strings/multiply_strings_test.go:7
FunctionTestMyAtoi
(t *testing)
golang/string_to_integer/string_to_integer_test.go:7
FunctionTestPermute
(t *testing.T)
golang/permutations/permutations_test.go:8
FunctionTestRestoreIpAddresses
(t *testing.T)
golang/restore_IP_addresses/restore_IP_addresses_test.go:8
FunctionTestReverse
(t *testing.T)
golang/reverse_integer/reverse_integer_test.go:7
FunctionTestReverseKGroup
(t *testing.T)
golang/reverse_nodes_in_k_group/reverse_nodes_in_k_group_test.go:7
FunctionTestRomanToInt
(t *testing.T)
golang/roman_to_integer/roman_to_integer_test.go:7
FunctionTestSearch
(t *testing.T)
golang/search_in_rotated_sorted_array/search_in_rotated_sorted_array_test.go:7
FunctionTestSearchRange
(t *testing.T)
golang/search_for_a_range/search_for_a_range_test.go:7
FunctionTestSpiralOrder
(t *testing.T)
golang/spiral_matrix/spiral_matrix_test.go:8
FunctionTestThreeSum
(t *testing.T)
golang/three_sum/three_sum_test.go:7
FunctionTestThreeSumClosest
(t *testing.T)
golang/three_sum_closest/three_sum_closest_test.go:7
FunctionTestTwoSum
(t *testing.T)
golang/two_sum/two_sum_test.go:7
MethodTreeLinkNode
golang/populating_next_right_pointers_in_each_node/populating_next_right_pointers_in_each_node.cpp:4
MethodTreeLinkNode
golang/populating_next_right_pointers_in_each_node_II/populating_next_right_pointers_in_each_node_II.cpp:4
MethodTreeNode
golang/binary_search_tree_iterator/binary_search_tree_iterator.cpp:7
MethodTreeNode
golang/lowest_common_ancestor_of_a_binary_tree/lowest_common_ancestor_of_a_binary_tree.cpp:8
MethodTreeNode
golang/serialize_and_deserialize_binary_tree/serialize_and_deserialize_binary_tree.cpp:8
MethodTreeNode
golang/delete_node_in_a_linked_list/delete_node_in_a_linked_list.cpp:5
MethodTreeNode
golang/lowest_common_ancestor_of_a_binary_search_tree/lowest_common_ancestor_of_a_binary_search_tree.cpp:5
MethodTreeNode
golang/count_complete_tree_nodes/count_complete_tree_nodes.cpp:5
MethodTreeNode
golang/house_robber_III/house_robber_III.cpp:5
MethodTrie
golang/implement_trie/implement_trie.cpp:14
MethodTrieNode
golang/add_and_search_word/add_and_search_word.cpp:7
MethodTrieNode
golang/implement_trie/implement_trie.cpp:6
MethodUndirectedGraphNode
golang/clone_graph/clone_graph.cpp:10
MethodWordDictionary
golang/add_and_search_word/add_and_search_word.cpp:13
MethodWorld
(ctx context.Context, null *protos.Null)
grpc/harsh/challenge1/s_server.go:41
MethodWorld
(ctx context.Context, in *Null, opts ...grpc.CallOption)
grpc/harsh/challenge1/protos/go/hello/hello.pb.go:232
MethodWorld
(context.Context, *Null)
grpc/harsh/challenge1/protos/go/hello/hello.pb.go:243
MethodWorld
(context.Context, *Null)
grpc/harsh/challenge1/protos/go/hello/hello.pb.go:250
Function_Welcome_World_Handler
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
grpc/harsh/challenge1/protos/go/hello/hello.pb.go:258
Methodadd
golang/range_sum_query_mutable/range_sum_query_mutable.cpp:21
FunctionaddDigits
(num int)
golang/add_digits/add_digits.go:3
MethodaddOperators
golang/expression_add_operators/expression_add_operators.cpp:3
FunctionaddTwoNumbers
(l1 *ListNode, l2 *ListNode)
golang/challenge2/add-two-numbers.go:15
MethodaddWord
Adds a word into the data structure.
golang/add_and_search_word/add_and_search_word.cpp:17
Methodadjust
golang/find_median_from_data_stream/find_median_from_data_stream.cpp:11
Methodbfs
golang/word_ladder_II/word_ladder_II.cpp:22
FunctionbinaryTreePaths
(root *TreeNode)
golang/binary_tree_paths/binary_tree_paths.go:18
Methodbinary_index_tree
golang/count_of_smaller_numbers_after_self/count_of_smaller_numbers_after_self.cpp:4
Methodbinary_search
golang/longest_increasing_subsequence/longest_increasing_subsequence.cpp:38
FunctionbuildTree
(inorder []int, postorder []int)
golang/construct_binary_tree_from_inorder_and_postorder_traversal/construct_binary_tree_from_inorder_and_postorder_traversal.go:9
FunctionbuildTree
(preorder []int, inorder []int)
golang/construct_binary_tree_from_preorder_and_inorder_traversal/construct_binary_tree_from_preorder_and_inorder_traversal.go:9
MethodbulbSwitch
golang/bulb_switcher/bulb_switcher.cpp:3
Functioncalculate
(s string)
golang/basic_calculator_II/basic_calculator_II.go:3
Functioncalculate
(s string)
golang/basic_calculator/basic_calculator.go:3
FunctioncalculateMinimumHP
(dungeon [][]int)
golang/dungeon_game/dungeon_game.go:3
FunctioncanCompleteCircuit
(gas []int, cost []int)
golang/gas_station/gas_station.go:3
MethodcanConstruct
golang/ransom_note/ransom_note.cpp:3
FunctioncanFinish
BFS
golang/course_schedule/course_schedule.go:4
FunctioncanFinishDFS
DFS
golang/course_schedule/course_schedule.go:36
FunctioncanJump
(nums []int)
golang/jump_game/jump_game.go:3
MethodcanWinNim
golang/nim_game/nim_game.cpp:3
Functioncandy
(ratings []int)
golang/candy/candy.go:3
FunctionclimbStairs
(n int)
golang/climbing_stairs/climbing_stairs.go:3
MethodcloneGraph
golang/clone_graph/clone_graph.cpp:15
MethodcoinChange
golang/coin_change/coin_change.cpp:3
FunctioncombinationSum2
(candidates []int, target int)
golang/combination_sum_II/combination_sum_II.go:7
FunctioncombinationSum3
(k int, n int)
golang/combinations_sum_III/combinations_sum_III.go:3
MethodcombinationSum4
golang/combination_sum_IV/combination_sum_IV.cpp:3
Functioncombine
(n int, k int)
golang/combinations/combinations.go:3
FunctioncompareVersion
(version1 string, version2 string)
golang/compare_version_numbers/compare_version_numbers.go:3
FunctioncomputeArea
(A int, B int, C int, D int, E int, F int, G int, H int)
golang/rectangle_area/rectangle_area.go:3
Functionconnect
golang/populating_next_right_pointers_in_each_node/populating_next_right_pointers_in_each_node.cpp:7
Functionconnect
golang/populating_next_right_pointers_in_each_node_II/populating_next_right_pointers_in_each_node_II.cpp:7
FunctioncontainsDuplicate
(nums []int)
golang/contains_duplicate/contains_duplicate.go:3
FunctioncontainsNearbyAlmostDuplicate
(nums []int, k int, t int)
golang/contains_duplicate_III/contains_duplicate_III.go:3
FunctioncontainsNearbyDuplicate
(nums []int, k int)
golang/contains_duplicate_II/contains_duplicate_II.go:3
FunctionconvertToTitle
(n int)
golang/excel_sheet_column_title/excel_sheet_column_title.go:3
MethodcopyRandomList
golang/copy_list_with_random_pointer/copy_list_with_random_pointer.cpp:12
MethodcountBits
golang/counting_bits/counting_bits.cpp:3
MethodcountNodes
golang/count_complete_tree_nodes/count_complete_tree_nodes.cpp:10
FunctioncountPrimes
(n int)
golang/count_primes/count_primes.go:3
MethodcountRangeSum
golang/count_of_range_sum/count_of_range_sum.cpp:3
MethodcountSmaller
golang/count_of_smaller_numbers_after_self/count_of_smaller_numbers_after_self.cpp:26
Methodcount_when_merging_sort
golang/count_of_range_sum/count_of_range_sum.cpp:10
Methoddecode
golang/decode_string/decode_string.cpp:8
MethoddecodeString
golang/decode_string/decode_string.cpp:3
FunctiondeleteDuplicates
(head *ListNode)
golang/remove_duplicates_from_sorted_list_II/remove_duplicates_from_sorted_list_II.go:8
FunctiondeleteDuplicates
(head *ListNode)
golang/remove_duplicates_from_sorted_list/remove_duplicates_from_sorted_list.go:8
MethoddeleteNode
golang/delete_node_in_a_linked_list/delete_node_in_a_linked_list.cpp:10
Methoddeserialize
golang/serialize_and_deserialize_binary_tree/serialize_and_deserialize_binary_tree.cpp:23
MethoddetectCycle
golang/linked_list_cycle_II/linked_list_cycle_II.cpp:8
Methoddfs
golang/word_ladder_II/word_ladder_II.cpp:48
FunctiondiffWaysToCompute
(input string)
golang/different_ways_to_add_parentheses/different_ways_to_add_parentheses.go:7
Methodempty
Return whether the stack is empty.
golang/implement_stack_using_queues/implement_stack_using_queues.cpp:27
← previousnext →201–300 of 536, ranked by callers