MCPcopy Create free account

hub / github.com/asimihsan/challenges / functions

Functions1,012 in github.com/asimihsan/challenges

↓ 1 callersMethodleftChild
(int k)
epi/ch10/mergek/MergeFiles.java:10
↓ 1 callersMethodleftIndex
(int i)
hackerrank/BotClean/HackerRankBotCleanLarge.java:103
↓ 1 callersMethodlevelOrderTreePrint
(KTreeNode root)
interview/LevelOrderTreePrint.java:22
↓ 1 callersMethodload_problem
Takes a tuple (rel_path, number, name) and returns the full problem object.
topcoder/ProblemFolder.py:80
↓ 1 callersMethodlongestRunningSequence
(String[] array)
interview/LongestRunningSequence.java:20
↓ 1 callersFunctionlongest_common_substring
(strings)
rosalind/lcs/lcs.py:19
↓ 1 callersFunctionmain
()
hackerrank/codesprint5/matrix_tracing.py:169
↓ 1 callersFunctionmain
()
epi/ch10/mergek/generate.py:25
↓ 1 callersFunctionmain
()
spoj/TEST/src/problem1.py:6
↓ 1 callersFunctionmain
()
spoj/JOHNNY/src/stackoverflow.py:43
↓ 1 callersFunctionmain
()
spoj/JOHNNY/src/problem127.py:54
↓ 1 callersFunctionmain
()
spoj/JOHNNY/src/rgli.py:64
↓ 1 callersFunctionmain
()
projecteuler_python/66/66.py:5
↓ 1 callersFunctionmain
()
codingforinterviews/coin_change.py:31
↓ 1 callersMethodmain
(String[] args)
epi/ch11/FirstLarger.java:19
↓ 1 callersMethodmain
(String[] args)
interview/glassdoor/SortedArrayFindMinimumInserts.java:43
↓ 1 callersMethodmaxDistance
(String[] commands)
topcoder/srm538_div1_450/src/ai/topcoder/TurtleSpy/TurtleSpy.java:124
↓ 1 callersFunctionmax_depth
(node)
interview/cracking_is_balanced.py:1
↓ 1 callersMethodmaximumSubarray
(int[] array)
interview/MaximumSubarray.java:2
↓ 1 callersMethodmerge
( List<T> array, int lo, int mid, int hi, List<T> buffer)
interview/MergeSortTest.java:23
↓ 1 callersMethodmerge
(List<T> A, int p, int q, int r, List<T> temporaryLeft, List<T> tempor
clrs/02_getting_started/src/ai/sort/Merge.java:32
↓ 1 callersMethodmerge
(List<E> inputs, final int p, final int q, final int r,
googlecodejam/store_credit/src/StoreCredit.java:59
↓ 1 callersMethodmergeSort
(List<T> A, int p, int r, List<T> temporaryLeft, List<T> temporaryRight,
clrs/02_getting_started/src/ai/sort/Merge.java:18
↓ 1 callersMethodmergeSort
(List<E> inputs)
googlecodejam/store_credit/src/StoreCredit.java:14
↓ 1 callersFunctionmerge_lists
(*input_lists)
spoj/JOHNNY/src/problem127.py:13
↓ 1 callersFunctionmergesort
(arr)
interview/mergesort.py:1
↓ 1 callersFunctionmin_depth
(node)
interview/cracking_is_balanced.py:7
↓ 1 callersMethodmoveDisk
(StackWithName<T> fromPole, StackWithName<T> toPole)
epi/ch8/TowersOfHanoi.java:33
↓ 1 callersMethodmoveTower
(int height, StackWithName<T> fromPole, StackWithName<T> toPole, StackWit
epi/ch8/TowersOfHanoi.java:25
↓ 1 callersFunctionmultiplicity
Return the power of the prime number p in the factorization of n!
hackerrank/codesprint5/matrix_tracing.py:51
↓ 1 callersMethodmultiplicity
Return the power of the prime number p in the factorization of n! @param n Factorial to factorize. @param p Prime number @return int, power of th
hackerrank/codesprint5/MatrixTracing.java:63
↓ 1 callersMethodneighbors
(Integer node)
interview/DijkstraPQTest.java:167
↓ 1 callersFunctionneighbours_for_index
Returns a list of two-tuples for coordinates that are neighbours on a square board. Diagonals are neighbours. Do not wrap over the edges.
interview/boggle1.py:21
↓ 1 callersMethodnewGraph
(String[] board)
hackerrank/BotClean/HackerRankBotCleanLarge.java:281
↓ 1 callersMethodnext
()
interview/CustomerLog.java:52
↓ 1 callersMethodnext_move
(int posr, int posc, int dimh, int dimw, String[] board)
hackerrank/BotClean/HackerRankBotCleanLarge.java:302
↓ 1 callersMethodnext_move
(int posr, int posc, String[] board)
hackerrank/BotClean/HackerRankBotClean.java:53
↓ 1 callersMethodnodes
()
sedgwick/redblack/src/ai/tree/RedBlackTree.java:213
↓ 1 callersMethodnumberOfWays
(int n)
cracking/ch08/CoinTest.java:2
↓ 1 callersMethodparentIndex
(int i)
hackerrank/BotClean/HackerRankBotCleanLarge.java:96
↓ 1 callersMethodparition
(int[] A, int i)
epi/ch6/DutchFlagPartition.java:15
↓ 1 callersFunctionparse_file
(filepath)
rosalind/gc/gc.py:16
↓ 1 callersMethodparse_problem_page
Parses the problem page, returning the new Problem object generated from the process (or updating a given one). The following pieces
topcoder/TopCoderParser.py:155
↓ 1 callersMethodparse_submission_listing_page
Parses the problem submission listing page, returning the new Problem object generated (or updating a given one). The followi
topcoder/TopCoderParser.py:179
↓ 1 callersMethodparse_submission_page
Parses the problem submission page, returning the new Problem object generated (or updating a given one). The following pieces are up
topcoder/TopCoderParser.py:189
↓ 1 callersFunctionpartition
(A, lo, hi)
epi/ch11/kth_largest_element.py:11
↓ 1 callersMethodpartition
(List<T> array, int lo, int hi)
interview/QuicksortTest.java:19
↓ 1 callersFunctionpass_sum
(i=0, j=0)
codeeval/codeeval_89.py:17
↓ 1 callersMethodpathsWithSum
(Node root, int S)
interview/PathsWithSum.java:24
↓ 1 callersMethodpathsWithSumHelper
(Node current, int S, int acc, Deque<Node> q)
interview/PathsWithSum.java:31
↓ 1 callersMethodpeek
()
epi/ch8/TowersOfHanoi.java:12
↓ 1 callersFunctionpermutations
(input)
interview/geeksforgeeks/geeksforgeeks_permutations.py:1
↓ 1 callersFunctionpermutations2
(size, elements=None)
rosalind/perm/perm.py:17
↓ 1 callersMethodpopulateWords
()
pearls/02_algorithms/src/Anagrams.java:41
↓ 1 callersMethodpossibleHandles
(String familyName, String givenName)
interview/TopCoderTopFox.java:10
↓ 1 callersMethodpreorder_iter
(self)
interview/geeksforgeeks/geeksforgeeks_bst_preorder_successor.py:42
↓ 1 callersFunctionprimes
(n)
hackerrank/codesprint5/matrix_tracing.py:81
↓ 1 callersMethodprint
(int[] array)
cracking/ch08/EightQueens.java:36
↓ 1 callersMethodprint
(int[] array)
epi/ch6/DutchFlagPartition.java:8
↓ 1 callersMethodprintPlacements
(int[][] placements)
codingforinterviews/CodingForInterviewsNQueens.java:16
↓ 1 callersMethodprintPowerset
(List<T> elements)
epi/ch5/PowersetTest.java:6
↓ 1 callersFunctionprint_left_view
(tree)
interview/geeksforgeeks/geeksforgeeks_left_view_of_binary_tree.py:35
↓ 1 callersFunctionprint_levels
(root)
interview/tree_bfs.py:31
↓ 1 callersMethodprocess
(String input, Collection<Substitution> substitutions)
codeeval/StringSubstitution.java:104
↓ 1 callersFunctionprocess_file
(filepath)
rosalind/mprt/mprt.py:36
↓ 1 callersFunctionprocess_seq
(seq)
codeeval/codeeval_5.py:4
↓ 1 callersMethodput
(String key, Integer val)
sedgwick/scramble/src/ai/datastructure/Trie.java:53
↓ 1 callersMethodput
(Node x, String key, int d)
interview/BloomFilterExperiment.java:131
↓ 1 callersMethodput
(self, value)
interview/geeksforgeeks/geeksforgeeks_bst_to_doubly_linked_list.py:43
↓ 1 callersMethodrandomizedPartition
(List<T> A, int p, int r)
clrs/07_quicksort/src/Quick.java:34
↓ 1 callersMethodrandomizedQuicksort
(List<T> A, int p, int r)
clrs/07_quicksort/src/Quick.java:40
↓ 1 callersMethodreadFile
(String inputFilepath)
googlecodejam/alien_language/src/ai/codejam/AlienLanguage.java:16
↓ 1 callersFunctionrecursive_move_disk
(from_pole, to_pole)
interview/towers_of_hanoi.py:8
↓ 1 callersMethodremove
(Long number)
epi/ch10/online_median/OnlineMedian.java:86
↓ 1 callersMethodremove
()
interview/DijkstraPQTest.java:69
↓ 1 callersFunctionremove_all_empty_tags
Removes all tags from the soup that have no text. Returns the new soup without modifying the given one. NOTE: Only works for soup tags. D
topcoder/topcoder_common.py:103
↓ 1 callersMethodreverseString
(byte[] input)
codingforinterviews/CodingForInterviewsReverseWords.java:19
↓ 1 callersMethodreverseWord
(byte[] input, int i, int j)
codingforinterviews/CodingForInterviewsReverseWords.java:14
↓ 1 callersMethodreverseWords
(byte[] input)
codingforinterviews/CodingForInterviewsReverseWords.java:32
↓ 1 callersFunctionrgli
(elements, B, number_of_trials)
spoj/JOHNNY/src/rgli.py:51
↓ 1 callersFunctionrgli_trial
(elements, B, x_best)
spoj/JOHNNY/src/rgli.py:11
↓ 1 callersMethodrightChild
(int k)
epi/ch10/mergek/MergeFiles.java:11
↓ 1 callersMethodrightIndex
(int i)
hackerrank/BotClean/HackerRankBotCleanLarge.java:107
↓ 1 callersFunctionrotated
(arr)
interview/cracking_ch1_matrix_rotation.py:10
↓ 1 callersMethodrun_examples
Runs all the examples on the given method, returning True if they all passed, False if not.
topcoder/Problem.py:233
↓ 1 callersMethodrun_tests
Runs all the tests on the given method, returning True if they all passed, False if not.
topcoder/Problem.py:239
↓ 1 callersMethodsample
()
rosalind/bins/src/test/java/TestBinarySearch.java:12
↓ 1 callersFunctionscrape_problem
Attempts to scrape the TopCoder problem with ID n from the website. If given an opener, attempts to use it, otherwise connects to TopCoder. On
topcoder/TopCoderParser.py:200
↓ 1 callersFunctionsearch
Remembering the current path, recursively search all paths from this cell.
interview/boggle_again.py:73
↓ 1 callersFunctionsearch
(coord, arr, path=None)
interview/boggle1.py:117
↓ 1 callersMethodsetComposite
(int k)
hackerrank/codesprint5/MatrixTracing.java:22
↓ 1 callersMethodsetPriority
(Double priority)
interview/DijkstraPQTest.java:29
↓ 1 callersFunctionset_row_col_to_zero
(arr)
interview/cracking_set_row_col_to_zero.py:7
↓ 1 callersFunctionshuffle
(arr)
interview/fisher_yates_shuffle.py:4
↓ 1 callersFunctionsimulate
(k, m, n, iterations)
rosalind/iprb/iprb.py:6
↓ 1 callersMethodsingleSourceShortestPath
(Graph g, Integer source, Integer dest)
interview/DijkstraPQTest.java:182
↓ 1 callersMethodsize
()
hackerrank/BotClean/HackerRankBotCleanLarge.java:49
↓ 1 callersFunctionsolve
In order to reach the bottom-right cell of an r x c grid, using only right and down, note that one possible solution is to go down by (r - 1)
hackerrank/codesprint5/matrix_tracing.py:150
↓ 1 callersFunctionsolve
Given a Boggle board, 2D array of characters, return a list of words in arbitrary order.
interview/boggle_again.py:89
↓ 1 callersFunctionsolve
(coins, amount)
codingforinterviews/coin_change.py:17
← previousnext →401–500 of 1,012, ranked by callers