Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/asimihsan/challenges
/ functions
Functions
1,012 in github.com/asimihsan/challenges
⨍
Functions
1,012
◇
Types & classes
277
↓ 1 callers
Method
distanceTo
(Node other)
hackerrank/BotClean/HackerRankBotClean.java:28
↓ 1 callers
Method
dividePrimeMultiplicities
( Map<Integer, Integer> first, Map<Integer, Integer> second)
hackerrank/codesprint5/MatrixTracing.java:118
↓ 1 callers
Function
divide_prime_multiplicities
(first, second)
hackerrank/codesprint5/matrix_tracing.py:119
↓ 1 callers
Method
equals
(Object o)
epi/ch9/LCAParent2.java:22
↓ 1 callers
Method
equals
(Object o)
interview/ShuffleSongs.java:14
↓ 1 callers
Method
evaluateDistance
(String[] commands)
topcoder/srm538_div1_450/src/ai/topcoder/TurtleSpy/TurtleSpy.java:128
↓ 1 callers
Method
execute
(int numberOfRings)
epi/ch8/TowersOfHanoi.java:16
↓ 1 callers
Function
f
(v, i, S, memo)
spoj/JOHNNY/src/stackoverflow.py:27
↓ 1 callers
Function
factorial
(numerators, denomenators)
hackerrank/codesprint5/matrix_tracing.py:135
↓ 1 callers
Method
factorial
(int[] numerators, int[] denomenators)
hackerrank/codesprint5/MatrixTracing.java:140
↓ 1 callers
Function
find
(arr, elem)
interview/glassdoor/glassdoor_sorted_rotated_find.py:4
↓ 1 callers
Method
findMinimumInserts
(int[] array, int length)
interview/glassdoor/SortedArrayFindMinimumInserts.java:22
↓ 1 callers
Method
findNextWordBoundary
(byte[] input, int i)
codingforinterviews/CodingForInterviewsReverseWords.java:8
↓ 1 callers
Method
findOverlap
(Node<T> h1, Node<T> h2)
epi/ch7/OverlappingNoCycles.java:31
↓ 1 callers
Method
findUnbalanced
(Node root, int k)
epi/ch9/KUnbalanced.java:37
↓ 1 callers
Method
findUnbalancedHelper
(Node node, int k)
epi/ch9/KUnbalanced.java:42
↓ 1 callers
Function
find_locations
Find all _overlapping_ instances of substring in string. By default regexp's return non-overlapping results. This is far simpler under-the-c
rosalind/subs/subs.py:3
↓ 1 callers
Method
flipColors
(Node h)
sedgwick/redblack/src/ai/tree/RedBlackTree.java:346
↓ 1 callers
Method
forward_iter
(self)
interview/geeksforgeeks/geeksforgeeks_bst_to_doubly_linked_list.py:53
↓ 1 callers
Function
g
(v, w, S, memo)
spoj/JOHNNY/src/stackoverflow.py:16
↓ 1 callers
Function
generate_boggle_words
(boggle)
interview/boggle1.py:132
↓ 1 callers
Method
get
Value paired with key. (null if key is absent). @param key Key. @return value, of type Value.
sedgwick/redblack/src/ai/tree/RedBlackTree.java:53
↓ 1 callers
Method
getAction
(String[] board, Node source, Node destination)
hackerrank/BotClean/HackerRankBotCleanLarge.java:259
↓ 1 callers
Method
getAction
(Node source, Node destination)
hackerrank/BotClean/HackerRankBotClean.java:34
↓ 1 callers
Method
getAnagrams
(String word)
pearls/02_algorithms/src/Anagrams.java:18
↓ 1 callers
Method
getArray
(Scanner scanner)
rosalind/bins/src/main/java/BinarySearch.java:43
↓ 1 callers
Function
getBinaryTree
(arr)
interview/cracking_sorted_to_tree.py:12
↓ 1 callers
Method
getFraudulentRecords
()
hackerrank/HackerRankFraudPrevention.java:253
↓ 1 callers
Method
getInstance
()
codingforinterviews/CodingForInterviewsSingleton.java:11
↓ 1 callers
Method
getLeftChildIndex
(List<T> A, int i)
clrs/05_heapsort/src/ai/heapsort/Heap.java:62
↓ 1 callers
Method
getMaximumBeauty
(String input)
codeeval/BeautifulStrings.java:49
↓ 1 callers
Method
getNeighbors
(Coordinate coord, int[][] landscape)
interview/FindIslands.java:33
↓ 1 callers
Method
getNeighbors
(Point point, int limit)
codeeval/CodeEvalGridWalk.java:65
↓ 1 callers
Method
getNumberOfIslands
(int[][] landscape)
interview/FindIslands.java:52
↓ 1 callers
Method
getPlacements
(int n)
codingforinterviews/CodingForInterviewsNQueens.java:6
↓ 1 callers
Method
getPrimes
(int max)
hackerrank/codesprint5/MatrixTracing.java:26
↓ 1 callers
Method
getRandomNode
()
hackerrank/BotClean/HackerRankBotCleanLarge.java:159
↓ 1 callers
Method
getReader
(String input)
rosalind/bins/src/test/java/TestBinarySearch.java:59
↓ 1 callers
Method
getRightChildIndex
(List<T> A, int i)
clrs/05_heapsort/src/ai/heapsort/Heap.java:63
↓ 1 callers
Method
getSum
()
codeeval/CodeEvalGridWalk.java:52
↓ 1 callers
Method
getTheta
()
topcoder/srm538_div1_450/src/ai/topcoder/TurtleSpy/TurtleSpy.java:21
↓ 1 callers
Method
getTree
(String[] inorder, String[] preorder)
epi/ch8/ReconstructTree.java:18
↓ 1 callers
Method
getValues
(Scanner scanner)
rosalind/bins/src/main/java/BinarySearch.java:51
↓ 1 callers
Method
getWeight
(T from, T to)
hackerrank/BotClean/HackerRankBotCleanLarge.java:165
↓ 1 callers
Method
getWeight
(Integer from, Integer to)
interview/DijkstraPQTest.java:171
↓ 1 callers
Method
getWords
(String number)
epi/ch6/PhoneWordsTest.java:37
↓ 1 callers
Function
get_adjacency_list
(dna_strings)
rosalind/grph/grph.py:22
↓ 1 callers
Method
get_adjacent_nodes
(self, node)
topcoder/problems/12545_GooseInZooDivTwo/GooseInZooDivTwo.py:61
↓ 1 callers
Function
get_all_subpaths
Return all subpaths. e.g. [1, 2, 3] returns [[1], [2], [3], [1, 2], [2, 3], [1, 2, 3]]
interview/cracking_all_paths_with_sum.py:14
↓ 1 callers
Method
get_count
Get number of connected components.
topcoder/problems/12545_GooseInZooDivTwo/GooseInZooDivTwo.py:87
↓ 1 callers
Function
get_dna_strings_from_fasta_file
(lines)
rosalind/grph/grph.py:6
↓ 1 callers
Function
get_duplicate_number
(array)
interview/interviewcake_duplicate_number.py:4
↓ 1 callers
Function
get_graph
(field, dist)
topcoder/problems/12545_GooseInZooDivTwo/GooseInZooDivTwo.py:97
↓ 1 callers
Function
get_inversions
(arr)
interview/mergesort.py:33
↓ 1 callers
Function
get_level_lists
(root)
interview/cracking_bst_to_lists.py:14
↓ 1 callers
Function
get_motif_locations
(sequence, motif)
rosalind/mprt/mprt.py:31
↓ 1 callers
Function
get_neighbors
Given a 2D array of two-tuples, each element being an integer, what are the neighbors of a cell, itself a two-tuple of two integers? Assumes
interview/boggle_again.py:53
↓ 1 callers
Function
get_new_location
(cnt, direction, curr)
interview/spiral.py:37
↓ 1 callers
Function
get_numbers_from_list
Given a list of numbers as text (e.g. '1-2,5,7-9'), returns a list of these numbers.
topcoder/scraper.py:7
↓ 1 callers
Method
get_problem_numbers
Returns a list of all problem numbers in this directory.
topcoder/ProblemFolder.py:32
↓ 1 callers
Function
get_protein_sequence
(protein_id)
rosalind/mprt/mprt.py:14
↓ 1 callers
Function
get_sum
(node)
interview/glassdoor/glassdoor_sum_tree.py:8
↓ 1 callers
Function
get_topcoder_problem_page
Attempts to get the HTML for the nth TopCoder problem, using the given opener. On success, returns the page's HTML.
topcoder/topcoder_common.py:74
↓ 1 callers
Function
get_tree
(tree)
topcoder/problems/12578_ShoutterDiv2/ShoutterDiv2.py:65
↓ 1 callers
Function
get_weights
()
spoj/JOHNNY/src/stackoverflow.py:36
↓ 1 callers
Function
get_weights
()
spoj/JOHNNY/src/problem127.py:6
↓ 1 callers
Function
get_weights
()
spoj/JOHNNY/src/rgli.py:57
↓ 1 callers
Method
grow
()
epi/ch8/CircularQueueTest.java:44
↓ 1 callers
Function
hamming_distance
(s1, s2)
rosalind/hamm/hamm.py:3
↓ 1 callers
Method
hasNext
()
interview/BloomFilterExperiment.java:37
↓ 1 callers
Method
hashCode
()
hackerrank/BotClean/HackerRankBotCleanLarge.java:245
↓ 1 callers
Method
heapsort
(List<T> A, Comparator<T> comp)
clrs/05_heapsort/src/ai/heapsort/Heap.java:20
↓ 1 callers
Method
inOrderIterative
(Node<T> node)
epi/ch8/InOrderIterative.java:18
↓ 1 callers
Method
inOrderSuccessor
(Node current, List<Node> path, Integer key)
epi/ch14/HigherKey.java:33
↓ 1 callers
Method
incrementBitSet
(BitSet bs)
interview/SubsetEqualSum.java:23
↓ 1 callers
Method
incrementMask
(boolean[] mask)
epi/ch5/PowersetTest.java:18
↓ 1 callers
Method
initializeScanner
(Reader input)
rosalind/bins/src/main/java/BinarySearch.java:36
↓ 1 callers
Function
inorder
(node)
interview/geeksforgeeks/geeksforgeeks_bst_add_all_greater_values.py:38
↓ 1 callers
Method
inorder_iter
(self)
interview/geeksforgeeks/geeksforgeeks_bst_to_doubly_linked_list.py:14
↓ 1 callers
Method
insert
(List<E> inputs, final int p, final int pos, E value)
googlecodejam/store_credit/src/StoreCredit.java:32
↓ 1 callers
Method
isConflict
(int[] queenCols, int currentRow)
cracking/ch08/EightQueens.java:8
↓ 1 callers
Method
isEmpty
()
hackerrank/BotClean/HackerRankBotCleanLarge.java:45
↓ 1 callers
Method
isEmpty
()
interview/DijkstraPQTest.java:81
↓ 1 callers
Method
isFibonacciNumber
(BigInteger input)
hackerrank/codesprint5/IsFibo.java:28
↓ 1 callers
Method
isPathValid
(String path)
sedgwick/scramble/src/ai/graph/Search.java:12
↓ 1 callers
Function
isValidLocalPart
(string)
codingforinterviews/emailaddress/lib/emailaddress.js:63
↓ 1 callers
Function
is_bst
(node, min_value, max_value)
codingforinterviews/codingforinterviews_is_bst.py:8
↓ 1 callers
Method
is_left_of_point
(self, point)
topcoder/problems/12578_ShoutterDiv2/ShoutterDiv2.py:25
↓ 1 callers
Method
is_prefix
(self, input_string)
interview/boggle1.py:85
↓ 1 callers
Method
is_right_of_point
(self, point)
topcoder/problems/12578_ShoutterDiv2/ShoutterDiv2.py:28
↓ 1 callers
Function
is_valid_prefix
(input_string)
interview/boggle1.py:113
↓ 1 callers
Method
is_valid_prefix
(self, prefix)
interview/boggle_again.py:49
↓ 1 callers
Function
is_valid_sum_tree
(node)
interview/glassdoor/glassdoor_sum_tree.py:16
↓ 1 callers
Function
is_valid_word
(input_string)
interview/boggle1.py:109
↓ 1 callers
Method
is_valid_word
(self, word)
interview/boggle_again.py:42
↓ 1 callers
Method
is_word
(self, input_string)
interview/boggle1.py:93
↓ 1 callers
Method
iterator
()
interview/CustomerLog.java:28
↓ 1 callers
Method
keys
All the keys in the table, in sorted order. @return
sedgwick/redblack/src/ai/tree/RedBlackTree.java:198
↓ 1 callers
Method
largestBST
(Node<Integer> root)
interview/LargestBST.java:16
↓ 1 callers
Function
lcp
(*strings)
rosalind/lcs/lcs.py:11
← previous
next →
301–400 of 1,012, ranked by callers