Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WomenWhoCodeNYC/Algorithms
/ functions
Functions
344 in github.com/WomenWhoCodeNYC/Algorithms
⨍
Functions
344
◇
Types & classes
50
↓ 1 callers
Function
bubble_sort
(str: raise)
challenges/bubbleSort/solutions/bubbleSort.rb:1
↓ 1 callers
Function
bubble_sort
(array)
challenges/bubbleSort/solutions/bubble_sort.rb:1
↓ 1 callers
Function
bubblesort
(a)
challenges/bubbleSort/solutions/bubblesort.js:2
↓ 1 callers
Function
cencrypt
(s, key)
challenges/caesarCipher/solutions/caesarCipher.js:16
↓ 1 callers
Function
checkBrackets
(reducedString)
challenges/balancedParentheses/solutions/balancedParentheses2.js:6
↓ 1 callers
Function
closingParenthesisIndex
(str, open_parenthesis_position)
challenges/matchingClosingParenthesis/solutions/matchingClosingParenthesis.js:31
↓ 1 callers
Function
coin_combos
(amount, coins)
challenges/coinDenominations/solutions/coinDenominations2.py:2
↓ 1 callers
Function
combinations
STEP2
challenges/permutate/solutions/ruby.rb:23
↓ 1 callers
Function
compare
challenges/CompareTwoStrings/solutions/compareTwoStrings.cpp:22
↓ 1 callers
Function
compareTwoStrings
(a, b)
challenges/CompareTwoStrings/solutions/compareTwoStrings.js:14
↓ 1 callers
Function
compare_enums
(word1, word2)
challenges/CompareTwoStrings/solutions/CompareTwoStrings.rb:20
↓ 1 callers
Function
containsDuplicate
(nums)
challenges/containsDuplicate/solutions/containsDuplicate.py:1
↓ 1 callers
Method
convert_to_roman1
(int arabic)
challenges/romanNumerals/solutions/roman_numerals.java:19
↓ 1 callers
Method
convert_to_roman2
(int arabic)
challenges/romanNumerals/solutions/roman_numerals.java:34
↓ 1 callers
Function
countVertices
(node)
challenges/edgeTree/solutions/edgeTree.js:9
↓ 1 callers
Method
createList
(int... elements)
challenges/partitionLinkedList/Solutions/PartitionLinkedList.java:75
↓ 1 callers
Function
decomposeTree
(node)
challenges/edgeTree/solutions/edgeTree.js:21
↓ 1 callers
Function
deconstruct
(board)
challenges/sudoku/solutions/sudoku.js:32
↓ 1 callers
Function
dfs
(curBoard, i, r, c)
challenges/wordSearch/solutions/wordSearch.py:2
↓ 1 callers
Function
diagonalMatrix
(inputArray)
challenges/2dArray/solutions/2dArray.py:6
↓ 1 callers
Function
digitsArePrime
(n)
challenges/primesBase10/solutions/primesBase10.py:19
↓ 1 callers
Function
door100
()
challenges/100Doors/solutions/100Doors_2nd.py:2
↓ 1 callers
Function
double
ANSWER
challenges/double/solutions/ruby.rb:18
↓ 1 callers
Method
evenSum
()
challenges/fibonacciSum/solutions/FibonacciSum.java:14
↓ 1 callers
Function
factors
(array)
challenges/largestPalindromicNumber/solutions/ruby_largest_palindromic_num.rb:1
↓ 1 callers
Method
find_2nd_largest
(self)
challenges/2ndLargestInBST/solutions/2ndLargestInBST.py:57
↓ 1 callers
Function
fizzBuzz
()
challenges/fizzBuzz/solutions/fizzBuzz.rb:1
↓ 1 callers
Function
free_singly_linked_list
challenges/partitionLinkedList/Solutions/partitionLinkedList.cpp:131
↓ 1 callers
Function
generatePartitions
(targetNum, max, curr)
challenges/sumsOfN/solutions/sumsOfN.js:13
↓ 1 callers
Function
getFileExtension
ANSWER
challenges/getFileExtension/solutions/ruby.rb:18
↓ 1 callers
Method
getLargestPrimeFactor
(long number)
challenges/largestPrime/solutions/LargestPrime.java:31
↓ 1 callers
Function
getMode
(L)
challenges/mode/solutions/getMode.py:3
↓ 1 callers
Function
getNewCode
(code,key)
challenges/caesarCipher/solutions/caesarCipher.js:4
↓ 1 callers
Method
getNumberOfLatticePaths
(int n)
challenges/latticePaths/solutions/LatticePaths.java:28
↓ 1 callers
Function
get_all_letters_indices
Returns a map of letter and all its index occurrences. :param input_string (str): Input string. :return: A dict that maps letter l in inp
challenges/bestShuffle/solutions/bestShuffle.py:128
↓ 1 callers
Function
get_random_strings
Returns a list of number_of_strings random strings. The length of the strings randomly range between string_length_range. :param number_o
challenges/bestShuffle/solutions/testing/best_shuffle_test.py:21
↓ 1 callers
Function
get_sorted_letter_count
Returns a sorted list of tuples (l, # l in input_string) for every letter in input_string. :param input_string (str): Input string. :retu
challenges/bestShuffle/solutions/bestShuffle.py:85
↓ 1 callers
Function
hamDist
(s, t)
challenges/hammingDistance/solutions/hammingDistance.py:30
↓ 1 callers
Function
helper
(num)
challenges/largestPrime/solutions/ruby_largest_prime.rb:1
↓ 1 callers
Function
helper
(pset, amount, coins)
challenges/coinDenominations/solutions/coinDenominations3.py:27
↓ 1 callers
Function
hundredDoors
(numDoors)
challenges/100Doors/solutions/100Doors_2nd.js:1
↓ 1 callers
Function
initBoxObj
()
challenges/sudoku/solutions/sudoku.js:21
↓ 1 callers
Function
initalizeTowerStacks
(num_of_disks, start_col)
challenges/towersOfHanoi/solutions/towersOfHanoi.py:5
↓ 1 callers
Method
insert_node
challenges/partitionLinkedList/Solutions/partitionLinkedList.cpp:47
↓ 1 callers
Function
intToString
challenges/string2Int/solutions/string2Int.cpp:11
↓ 1 callers
Function
invest
(value, interest, yrs)
challenges/investment/solutions/investment.js:3
↓ 1 callers
Function
is10Done
(row)
challenges/sudoku/solutions/sudoku.js:2
↓ 1 callers
Function
isDivisible
Returns true if n is divisible by 2, 3, and 5
challenges/primesBase10/solutions/primesBase10.py:12
↓ 1 callers
Function
isFactor
(potentialFactor, num)
challenges/primeFactors/solutions/primeFactors.js:13
↓ 1 callers
Function
isPalindrome
ANSWER
challenges/palindrome/solutions/ruby.rb:25
↓ 1 callers
Function
isPrime
(x)
challenges/primeFactors/solutions/primeFactors.js:2
↓ 1 callers
Method
isPrime
(List<Long> primes, int primeIndex)
challenges/largestPrime/solutions/LargestPrime.java:60
↓ 1 callers
Function
isSolved
(grid)
challenges/sudoku/solutions/sudoku2.js:2
↓ 1 callers
Method
isValid3x3Grid
(int rowOffSet, int colOffSet, int[][] board)
challenges/sudoku/solutions/Sudoku.java:49
↓ 1 callers
Method
isValidLines
(int[][] board)
challenges/sudoku/solutions/Sudoku.java:64
↓ 1 callers
Method
isValidSudoku
(int[][] board)
challenges/sudoku/solutions/Sudoku.java:37
↓ 1 callers
Method
isWordStart
(char[] chars, int i)
challenges/letterCapitalize/solutions/LetterCapitalize.java:14
↓ 1 callers
Method
is_leaf?
challenges/nthLeaf/solutions/nthLeaf.rb:14
↓ 1 callers
Function
largestPrimeFactor
(num)
challenges/primeFactors/solutions/primeFactors.js:17
↓ 1 callers
Function
main
()
challenges/powerSet/solutions/powerSet.py:24
↓ 1 callers
Function
main
()
challenges/bestShuffle/solutions/bestShuffle.py:176
↓ 1 callers
Function
majorityElement
(nums)
challenges/majorityElement/solutions/majorityElement.py:1
↓ 1 callers
Function
make_board
(str)
challenges/sudoku/solutions/sudoku_checker_solution.rb:1
↓ 1 callers
Function
matchBraces
(string)
challenges/balancedParentheses/solutions/balancedParentheses2.js:1
↓ 1 callers
Function
matched
STEP 4
challenges/palindrome/solutions/ruby.rb:41
↓ 1 callers
Function
matching_closing_parenthesis
(str: raise)
challenges/matchingClosingParenthesis/solutions/matching_closing_parenthesis.rb:1
↓ 1 callers
Function
maxConsecutiveOnes
(arr)
challenges/maxConsecutiveOnes/solutions/maxConsecutiveOnes.py:1
↓ 1 callers
Function
medianHelper
challenges/medianMaintenance/solutions/medianMaintenance.cpp:79
↓ 1 callers
Function
move
(n, a, b, c)
challenges/towersOfHanoi/solutions/towersOfHanoi.js:1
↓ 1 callers
Function
multipleSum
(a, b, max)
challenges/multiplesOf3And5/solutions/multiplesOf3And5.js:1
↓ 1 callers
Function
multiplesof3and5
(n)
challenges/multiplesOf3And5/solutions/multiples3and5.py:1
↓ 1 callers
Method
numOfCombinations
(int[] coins, int target)
challenges/coinDenominations/solutions/CoinChangeCombinations.java:7
↓ 1 callers
Function
partition
challenges/quickSort/solutions/quickSort.cpp:35
↓ 1 callers
Method
partition
(ListNode head, int x)
challenges/partitionLinkedList/Solutions/PartitionLinkedList.java:20
↓ 1 callers
Method
partition
keep track of begining and end of 2nd half */
challenges/partitionLinkedList/Solutions/partitionLinkedList.cpp:63
↓ 1 callers
Function
partition_list
(linked_list, x)
challenges/partitionLinkedList/Solutions/partitionLinkedList.py:24
↓ 1 callers
Function
peakIndicesMaker
(arr,level)
challenges/rainWaterCollector/solutions/rainWaterCollector.js:12
↓ 1 callers
Function
permutatation
(stringArray, j)
challenges/permutate/solutions/permutate.py:11
↓ 1 callers
Function
permutate
ANSWER
challenges/permutate/solutions/ruby.rb:16
↓ 1 callers
Function
permutate
(inputString)
challenges/permutate/solutions/permutate.py:2
↓ 1 callers
Function
permute
(arr, memo)
challenges/permutate/solutions/javascript.js:5
↓ 1 callers
Function
permute_string
Given a permutation string, permute input_string by mapping a string to its next index occurrence. :param input_string(str): The input st
challenges/bestShuffle/solutions/bestShuffle.py:95
↓ 1 callers
Function
pig_latin_translator
(words)
challenges/pigLatin/solutions/pigLatin.js:1
↓ 1 callers
Function
power_set_helper
(s, all_subsets)
challenges/powerSet/solutions/powerSet.py:11
↓ 1 callers
Function
primesBase10
(max_limit)
challenges/primesBase10/solutions/primesBase10.py:34
↓ 1 callers
Method
printTree
(self)
challenges/2ndLargestInBST/solutions/2ndLargestInBST.py:47
↓ 1 callers
Function
print_list
(li)
challenges/partitionLinkedList/Solutions/partitionLinkedList.py:58
↓ 1 callers
Function
print_singly_linked_list
challenges/partitionLinkedList/Solutions/partitionLinkedList.cpp:119
↓ 1 callers
Function
prodint
(data)
challenges/productOfIntegers/solutions/productOfIntegers.py:24
↓ 1 callers
Function
productOfIntegers
(array)
challenges/productOfIntegers/solutions/productOfIntegers.js:1
↓ 1 callers
Function
quad
(row, col)
challenges/sudoku/solutions/sudoku2.js:38
↓ 1 callers
Function
quickSort
challenges/quickSort/solutions/quickSort.cpp:57
↓ 1 callers
Function
random_string
Construct a random string of length string_len. If max_alphabet_len is given, limits the ascii_lowercase alphabet size to this value. :pa
challenges/bestShuffle/solutions/testing/best_shuffle_test.py:6
↓ 1 callers
Function
removeVowels
(inputstring)
challenges/removeVowels/solutions/removeVowels.py:1
↓ 1 callers
Function
reverse
challenges/reverseSublist/solutions/reverseSublist.cpp:26
↓ 1 callers
Function
reverse
(obj)
challenges/reverse/solutions/reverse.js:8
↓ 1 callers
Function
reverseKNodes
challenges/reverseSublist/solutions/reverseSublist.cpp:37
↓ 1 callers
Method
reverseSublist
(int k, LinkedList<Object> l)
challenges/reverseSublist/solutions/reverseSublistSolution.java:17
↓ 1 callers
Method
selectionSort
(int[] arr)
challenges/selectionSort/solutions/SelectionSort.java:8
↓ 1 callers
Function
series
(n)
challenges/seriesSum/solutions/Solution3.js:1
← previous
next →
101–200 of 344, ranked by callers