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
evalRPN
(tokens []string)
golang/evaluate_reverse_polish_notation/evaluate_reverse_polish_notation.go:7
Method
findDuplicate
golang/find_the_duplicate_number/find_the_duplicate_number.cpp:3
Method
findItinerary
golang/reconstruct_ltinerary/reconstruct_ltinerary.cpp:3
Function
findKthLargest
(nums []int, k int)
golang/kth_largest_element_in_an_array/kth_largest_element_in_an_array.go:3
Method
findLadders
golang/word_ladder_II/word_ladder_II.cpp:14
Method
findMedian
Returns the median of current data stream
golang/find_median_from_data_stream/find_median_from_data_stream.cpp:90
Function
findMin
(nums []int)
golang/find_minimum_in_rotated_sorted_array_II/find_minimum_in_rotated_sorted_array_II.go:3
Function
findMin
(nums []int)
golang/find_minimum_in_rotated_sorted_array/find_minimum_in_rotated_sorted_array.go:3
Method
findMinHeightTrees
golang/minimum_height_trees/minimum_height_trees.cpp:3
Method
findNthDigit
golang/nth_digit/nth_digit.cpp:3
Function
findOrder
(numCourses int, prerequisites [][]int)
golang/course_schedule_II/course_schedule_II.go:3
Function
findPeakElement
(nums []int)
golang/find_peak_element/find_peak_element.go:3
Function
findRepeatedDnaSequences
(s string)
golang/repeated_dna_sequences/repeated_dna_sequences.go:3
Method
findTheDifference
golang/find_the_difference/find_the_difference.cpp:3
Method
firstBadVersion
golang/first_bad_version/first_bad_version.cpp:5
Function
firstMissingPositive
(nums []int)
golang/first_missing_positive/first_missing_positive.go:3
Method
firstUniqChar
golang/first_unique_character_in_a_string/first_unique_character_in_a_string.cpp:3
Method
flatten
golang/flatten_nested_list_iterator/flatten_nested_list_iterator.cpp:21
Function
fourSum
(nums []int, target int)
golang/four_sum/four_sum.go:7
Function
fractionToDecimal
(numerator int, denominator int)
golang/fraction_to_recurring_decimal/fraction_to_recurring_decimal.go:7
Function
generate
(numRows int)
golang/pascals_triangle/pascals_triangle.go:3
Function
generateMatrix
(n int)
golang/spiral_matrix_II/spiral_matrix_II.go:10
Function
generateParenthesis
(n int)
golang/generate_parentheses/generate_parentheses.go:3
Function
generateTrees
(n int)
golang/unique_binary_search_trees_II/unique_binary_search_trees_II.go:9
Function
getExist
(board [][]byte, words []byte, index int, row int, col int, mask [][]int)
golang/word_search/word_search.go:22
Method
getHint
golang/bulls_and_cows/bulls_and_cows.cpp:6
Method
getIntersectionNode
golang/intersection_of_two_linked_lists/intersection_of_two_linked_lists.cpp:9
Method
getMin
golang/min_stack/min_stack.cpp:28
Method
getMoneyAmount
golang/guess_number_higher_or_lower_II/guess_number_higher_or_lower_II.cpp:3
Function
getRow
(rowIndex int)
golang/pascals_triangle_II/pascals_triangle_II.go:3
Method
getSum
golang/sum_of_two_integers/sum_of_two_integers.cpp:3
Function
grayCode
(n int)
golang/gray_code/gray_code.go:3
Function
groupAnagrams
(strs []string)
golang/group_anagrams/group_anagrams.go:21
Method
guessNumber
golang/guess_number_higher_or_lower/guess_number_higher_or_lower.cpp:8
Method
hammingWeight
golang/number_of_1bits/number_of_1bits.cpp:3
Method
hasCycle
golang/linked_list_cycle/linked_list_cycle.cpp:8
Method
hasNext
@return whether we have a next smallest number */
golang/binary_search_tree_iterator/binary_search_tree_iterator.cpp:22
Method
hasNext
golang/flatten_nested_list_iterator/flatten_nested_list_iterator.cpp:40
Method
hasNext
golang/peeking_iterator/peeking_iterator.cpp:44
Function
hasPathSum
(root *TreeNode, sum int)
golang/path_sum/path_sum.go:9
Method
helper
golang/serialize_and_deserialize_binary_tree/serialize_and_deserialize_binary_tree.cpp:28
Method
helper
golang/verify_preorder_serialization_of_a_binary_tree/verify_preorder_serialization_of_a_binary_tree.cpp:8
Method
helper
golang/longest_increasing_path_in_a_matrix/longest_increasing_path_in_a_matrix.cpp:17
Method
helper
golang/lexicographical_numbers/lexicographical_numbers.cpp:12
Method
increasingTriplet
golang/increasing_triplet_subsequence/increasing_triplet_subsequence.cpp:3
Function
init
()
grpc/harsh/challenge1/protos/go/hello/hello.pb.go:158
Function
inorderTraversal
(root *TreeNode)
golang/binary_tree_inorder_traversal/binary_tree_inorder_traversal.go:9
Function
intToRoman
(num int)
golang/integer_to_roman/integer_to_roman.go:3
Method
integerBreak
golang/integer_break/integer_break.cpp:3
Method
intersect
golang/intersection_of_two_arrays_II/intersection_of_two_arrays_II.cpp:3
Method
intersection
golang/intersection_of_two_arrays/intersection_of_two_arrays.cpp:3
Function
invertTree
(root *TreeNode)
golang/invert_binary_tree/invert_binary_tree.go:9
Method
isAdditiveNumber
golang/additive_number/additive_number.cpp:6
Function
isAnagram
(s string, t string)
golang/valid_anagram/valid_anagram.go:7
Function
isBalanced
(root *TreeNode)
golang/balanced_bianry_tree/balanced_bianry_tree.go:9
Function
isHappy
(n int)
golang/happy_number/happy_number.go:3
Function
isIsomorphic
(s string, t string)
golang/isomorphic_strings/isomorphic_strings.go:3
Method
isMatch
golang/regular_expression_matching/regular_expression_matching.cpp:3
Function
isPalindrome
(s string)
golang/valid_palindrome/valid_palindrome.go:3
Function
isPalindrome
(head *ListNode)
golang/palindrome_lined_list/palindrome_lined_list.go:8
Function
isPalindrome
(x int)
golang/palindrome_number/palindrome_number.go:3
Function
isPartition
(bytes []byte, i, j int)
golang/palindrome_partitioning_II/palindrome_partitioning_II.go:40
Method
isPerfectSquare
golang/valid_perfect_square/valid_perfect_square.cpp:3
Method
isPowerOfFour
golang/power_of_four/power_of_four.cpp:3
Method
isPowerOfThree
golang/power_of_three/power_of_three.cpp:3
Function
isPowerOfTwo
(n int)
golang/power_of_two/power_of_two.go:3
Function
isSameTree
(p *TreeNode, q *TreeNode)
golang/same_tree/same_tree.go:9
Method
isSelfCrossing
golang/self_crossing/self_crossing.cpp:3
Method
isSubsequence
golang/is_subsequence/is_subsequence.cpp:3
Function
isSymmetric
(root *TreeNode)
golang/symmetric_tree/symmetric_tree.go:9
Function
isUgly
(num int)
golang/ugly_number/ugly_number.go:3
Function
isValid
(s string)
golang/valid_parentheses/valid_parentheses.go:3
Function
isValidBST
(root *TreeNode)
golang/validate_binary_search_tree/validate_binary_search_tree.go:9
Method
isValidSerialization
golang/verify_preorder_serialization_of_a_binary_tree/verify_preorder_serialization_of_a_binary_tree.cpp:3
Method
is_palindrome
golang/palindrome_pairs/palindrome_pairs.cpp:31
Method
is_partition
golang/palindrome_partitioning/palindrome_partitioning.cpp:42
Method
kSmallestPairs
golang/find_k_pairs_with_smallest_sums/find_k_pairs_with_smallest_sums.cpp:3
Function
kthSmallest
(root *TreeNode, k int)
golang/kth_smallest_element_in_a_BST/kth_smallest_element_in_a_BST.go:9
Method
kthSmallest
golang/kth_smallest_element_in_a_sorted_matrix/kth_smallest_element_in_a_sorted_matrix.cpp:3
Function
ladderLength
golang/word_ladder/word_ladder.cpp:7
Method
largestDivisibleSubset
golang/largest_divisible_subset/largest_divisible_subset.cpp:3
Function
largestNumber
(nums []int)
golang/largest_number/largest_number.go:7
Method
lastRemaining
golang/elimination_game/elimination_game.cpp:3
Method
lengthLongestPath
golang/longest_absolute_file_path/longest_absolute_file_path.cpp:3
Method
lengthOfLIS
golang/longest_increasing_subsequence/longest_increasing_subsequence.cpp:6
Method
lengthOfLIS2
golang/longest_increasing_subsequence/longest_increasing_subsequence.cpp:21
Function
letterCombinations
(digits string)
golang/letter_combinations_of_a_phone_number/letter_combinations_of_a_phone_number.go:3
Function
levelOrder
(root *TreeNode)
golang/binary_tree_level_order_traversal/binary_tree_level_order_traversal.go:9
Function
levelOrderBottom
(root *TreeNode)
golang/binary_tree_level_order_traversal_II/binary_tree_level_order_traversal_II.go:9
Method
lexicalOrder
golang/lexicographical_numbers/lexicographical_numbers.cpp:3
Function
longestConsecutive
(nums []int)
golang/longest_consecutive_sequence/longest_consecutive_sequence.go:3
Method
longestIncreasingPath
golang/longest_increasing_path_in_a_matrix/longest_increasing_path_in_a_matrix.cpp:3
Method
longestSubstring
golang/longest_substring_with_at_least_k_repeating_characters/longest_substring_with_at_least_k_repeating_characters.cpp:3
Function
longestValidParentheses
(s string)
golang/longest_valid_parentheses/longest_valid_parentheses.go:3
Method
lowbit
golang/count_of_smaller_numbers_after_self/count_of_smaller_numbers_after_self.cpp:5
Method
lowbit
golang/range_sum_query_mutable/range_sum_query_mutable.cpp:37
Method
lowestCommonAncestor
golang/lowest_common_ancestor_of_a_binary_tree/lowest_common_ancestor_of_a_binary_tree.cpp:13
Method
lowestCommonAncestor
golang/lowest_common_ancestor_of_a_binary_search_tree/lowest_common_ancestor_of_a_binary_search_tree.cpp:10
Function
main
golang/lru_cache/lru_cache.cpp:103
Function
main
golang/n_queens/n_queens.cpp:75
← previous
next →
301–400 of 536, ranked by callers