MCPcopy Create free account

hub / github.com/danialgoodwin/dev / functions

Functions980 in github.com/danialgoodwin/dev

↓ 2 callersMethodisTooManyDigits
(final int valLength, int[] a, int[] b, int currentValueColumn)
topic/factoring/app/FactoringUtils0.java:87
↓ 2 callersMethodisUnival
(Node root)
code-practice/career-cup/src/com/anonsage/question/UnivalBinaryTree.java:40
↓ 2 callersMethodlog
(String message)
code-practice/career-cup/src/com/anonsage/question/CarRental.java:20
↓ 2 callersMethodlog
(String message)
compiler/practice/minimal-calculator-java/Calc.java:4
↓ 2 callersMethodmaybe_silence
(self, is_hit: bool, opp_potential_positions: [])
code-practice/codingame.com/challenge__ocean_of_code/ocean_challenge/out.py:218
↓ 2 callersMethodmaybe_sonar
(self, opp_potential_positions: [])
code-practice/codingame.com/challenge__ocean_of_code/ocean_challenge/out.py:237
↓ 2 callersMethodparseIntOrElse
(String s, int defaultValue)
language/java/javafx/app/practice-calculator/src/com/danialgoodwin/practice/CalcAppViaCode.java:100
↓ 2 callersMethodrandom
()
game/libgdx/app/martian-run-simple/core/src/com/danialgoodwin/game/martianrunsample/util/RandomUtils.java:26
↓ 2 callersMethodranges
(int[] nums)
code-practice/career-cup/src/com/anonsage/question/IntArrayRange.java:36
↓ 2 callersMethodranges2
(int[] nums)
code-practice/career-cup/src/com/anonsage/question/IntArrayRange.java:58
↓ 2 callersMethodreset
(self)
code-practice/codingame.com/challenge__ocean_of_code/ocean_challenge/out.py:145
↓ 2 callersMethodreverse
(Node head)
code-practice/hacker-rank/data-structures/linked-list/Reverse.java:4
↓ 2 callersMethodrun
(self)
compiler/practice/minimal-calculator-python/calc-interpreter-2.py:48
↓ 2 callersFunctionsend404
(response)
web/tool/node-js/app-sample/minimal-blog/server.js:6
↓ 2 callersMethodsilenced
(self)
code-practice/codingame.com/challenge__ocean_of_code/ocean_challenge/out.py:313
↓ 2 callersMethodspawnRaindrop
()
game/libgdx/app/drop-simple/core/src/com/badlogic/drop/Drop.java:115
↓ 2 callersMethodsurface
(self)
code-practice/codingame.com/challenge__ocean_of_code/ocean_challenge/out.py:198
↓ 2 callersMethodsurfaced
(self, sector: int)
code-practice/codingame.com/challenge__ocean_of_code/ocean_challenge/out.py:294
↓ 2 callersMethodswap
(StringBuilder sb, int a, int b)
code-practice/Permutation.java:70
↓ 2 callersMethodterm
(self)
compiler/practice/minimal-calculator-python/calc-interpreter-5-to-postfix.py:113
↓ 2 callersMethodterm
(self)
compiler/practice/minimal-calculator-python/calc-interpreter-5.py:113
↓ 2 callersMethodterm
(self)
compiler/practice/minimal-calculator-python/calc-interpreter-5-to-lisp.py:113
↓ 2 callersMethodterm
(self)
compiler/practice/minimal-calculator-python/calc-interpreter-6.py:126
↓ 2 callersMethodterm
()
compiler/practice/minimal-calculator-java/Calc.java:155
↓ 2 callersMethodtorpedo
(self, x: int, y: int)
code-practice/codingame.com/challenge__ocean_of_code/ocean_challenge/out.py:202
↓ 2 callersMethodunsafeExecute
This is a dangerous execute that doesn't check the query. Validate before calling. Note: Currently, environments from one call don't carry over to th
language/java/app-practice/ssh-and-database-connection/src/com/danialgoodwin/practice/SshConnection.java:131
↓ 2 callersMethodused_torpedo
(self, x: int, y: int)
code-practice/codingame.com/challenge__ocean_of_code/ocean_challenge/out.py:306
↓ 1 callersMethod__str__
String representation of this instance.
compiler/sample/calc-minimal/calc1.py:14
↓ 1 callersMethod__str__
String representation of the class instance. Examples: Token(INTEGER, 3) Token(PLUS, '+')
compiler/practice/minimal-calculator-python/calc-interpreter-1.py:18
↓ 1 callersMethod_initialize_possible_positions
(self)
code-practice/codingame.com/challenge__ocean_of_code/ocean_challenge/out.py:266
↓ 1 callersMethod_initialize_possible_positions
(self)
code-practice/codingame.com/challenge__ocean_of_code/ocean_challenge/Opponent.py:15
↓ 1 callersMethod_set_class_
(self, cls)
code-practice/codingame.com/challenge__ocean_of_code/ocean_challenge/modulization.py:12
↓ 1 callersMethodact
(float delta)
game/libgdx/app/martian-run-simple/core/src/com/danialgoodwin/game/martianrunsample/actor/Enemy.java:34
↓ 1 callersMethodaddEdge
(int nodeA, int nodeB)
code-practice/hacker-rank/BfsShortestReach.java:70
↓ 1 callersMethodaddEdge
(Node<K, V> a, Node<K, V> b)
code-practice/hacker-rank/algorithms/graph-theory/BfsShortestReach.java:58
↓ 1 callersMethodaddGrid
(final GridPane gridpane)
language/java/project/javafx-game-connect-four/src/com/danialgoodwin/javafx/game/connectfour/Main.java:94
↓ 1 callersMethodattachCode
()
language/java/javafx/app/practice-calculator/src/com/danialgoodwin/practice/CalcAppViaCode.java:63
↓ 1 callersMethodbfs
(int nodeStart)
code-practice/hacker-rank/BfsShortestReach.java:80
↓ 1 callersMethodbfs
()
code-practice/hacker-rank/algorithms/graph-theory/BfsShortestReach.java:63
↓ 1 callersFunctionblock
(file, module_type, module_name, text_block, dependencies)
code-practice/codingame.com/challenge__ocean_of_code/ocean_challenge/combine_py_files.py:145
↓ 1 callersMethodbodyInBounds
(Body body)
game/libgdx/app/martian-run-simple/core/src/com/danialgoodwin/game/martianrunsample/util/BodyUtils.java:9
↓ 1 callersFunctionbubble_up_subdirectories
(top, is_copy=True, depth=0)
language/python/snippet/bubble_up_subdirectories.py:59
↓ 1 callersMethodcalculateNameScoresSum
Space: O(n/2) for sort, time: (n). This can be optimized by doing initial file read in one pass rather than three.
code-practice/project-euler/in-java/src/com/danialgoodwin/projecteuler/question/Q22_NameScores.java:41
↓ 1 callersMethodcalculatePrimeFactors
Returns all the prime factors in order from least to greatest. There may be repeat factors. Ex: For 12, returns 2,2,3. Returns empty list for numbers
code-practice/project-euler/in-java/src/com/danialgoodwin/util/FactorUtils.java:22
↓ 1 callersMethodcalculatePrimes
code-practice/project-euler/in-kotlin/src/main/kotlin/PrimeNumbers.kt:6
↓ 1 callersMethodcalculateSequenceLengthIteratively
@param num must be greater than 0
code-practice/project-euler/in-java/src/com/danialgoodwin/projecteuler/question/Q14_LongestCollatzSequence.java:125
↓ 1 callersMethodcalculateSumOfNumbersNotSumOfTwoAbundantNumbers
()
code-practice/project-euler/in-java/src/com/danialgoodwin/projecteuler/question/Q23_NonAbundantSums.java:36
↓ 1 callersMethodclearVisited
()
code-practice/hacker-rank/BfsShortestReach.java:100
↓ 1 callersMethodclearVisited
()
code-practice/hacker-rank/algorithms/graph-theory/BfsShortestReach.java:90
↓ 1 callersMethodcompareTo
(Graph.Node<K, V> i)
code-practice/hacker-rank/algorithms/graph-theory/BfsShortestReach.java:128
↓ 1 callersMethodconvertStringOfDigits
Takes a string of space-separated digits and converts it to a int array. @param digitsString single-space-separated digits @return array of digits fro
code-practice/project-euler/in-java/src/com/danialgoodwin/projecteuler/question/Q18_MaximumPathSum1.java:87
↓ 1 callersMethodconvertStringOfDigits
Takes a string of space-separated digits and converts it to a int array. @param digitsString single-space-separated digits @return array of digits fro
code-practice/project-euler/in-java/src/com/danialgoodwin/projecteuler/question/Q67_MaximumPathSum2.java:87
↓ 1 callersMethodcountCoinSumCombinations
(List<Integer> coinValues, int sum)
code-practice/project-euler/in-java/src/com/danialgoodwin/projecteuler/question/Q31_CoinSums.java:38
↓ 1 callersMethodcountCoinSumCombinationsViaTopDown
(List<Integer> coinValues, int maxValueIndexToUse, int sum)
code-practice/project-euler/in-java/src/com/danialgoodwin/projecteuler/question/Q31_CoinSums.java:63
↓ 1 callersMethodcountDistinctPrimes
(int minA, int maxA, int minB, int maxB)
code-practice/project-euler/in-java/src/com/danialgoodwin/projecteuler/question/Q29_DistinctPowers.java:43
↓ 1 callersMethodcountDistinctPrimesViaBruteForce
(int minA, int maxA, int minB, int maxB)
code-practice/project-euler/in-java/src/com/danialgoodwin/projecteuler/question/Q29_DistinctPowers.java:49
↓ 1 callersMethodcountSundaysOnFirstOfMonth
Return the number of Sundays that fell on the first of the month from dateFrom to dateTo. One optimization would be to only create the GregorianCalend
code-practice/project-euler/in-java/src/com/danialgoodwin/projecteuler/question/Q19_CountingSundays.java:49
↓ 1 callersMethodcreate
()
game/libgdx/app/drop-simple/core/src/com/badlogic/drop/Drop.java:36
↓ 1 callersMethodcreateEnemy
(World world)
game/libgdx/app/martian-run-simple/core/src/com/danialgoodwin/game/martianrunsample/util/WorldUtils.java:46
↓ 1 callersMethodcreateGround
(World world)
game/libgdx/app/martian-run-simple/core/src/com/danialgoodwin/game/martianrunsample/util/WorldUtils.java:19
↓ 1 callersMethodcreateListOfNumbers
()
code-practice/interview-cake/src/com/danialgoodwin/interviewcake/question/FindDuplicateOptimizeForSpace.java:68
↓ 1 callersMethodcreateNodes
(int numNodes)
code-practice/hacker-rank/BfsShortestReach.java:64
↓ 1 callersMethodcreateRunner
(World world)
game/libgdx/app/martian-run-simple/core/src/com/danialgoodwin/game/martianrunsample/util/WorldUtils.java:31
↓ 1 callersMethodcreateWorld
()
game/libgdx/app/martian-run-simple/core/src/com/danialgoodwin/game/martianrunsample/util/WorldUtils.java:15
↓ 1 callersFunctioncreate_board
(w: int, h: int, value, border=None)
code-practice/codingame.com/codingame-sponsored-contest/app.py:24
↓ 1 callersFunctioncreate_board
(w: int, h: int, value, border=None)
code-practice/codingame.com/codingame-sponsored-contest/app-v2.py:72
↓ 1 callersFunctioncreate_water_board
()
code-practice/codingame.com/challenge__ocean_of_code/ocean_challenge/out.py:568
↓ 1 callersFunctioncreate_water_board
()
code-practice/codingame.com/challenge__ocean_of_code/ocean_challenge/app.py:208
↓ 1 callersMethoddelete
(Node head, int position)
code-practice/hacker-rank/data-structures/linked-list/DeleteNodeAtIndex.java:4
↓ 1 callersMethoddodge
()
game/libgdx/app/martian-run-simple/core/src/com/danialgoodwin/game/martianrunsample/actor/Runner.java:77
↓ 1 callersMethodequals
(Object o)
code-practice/career-cup/src/com/anonsage/question/MarketingCampaign.java:102
↓ 1 callersMethodexpr
expr -> INTEGER PLUS INTEGER
compiler/sample/calc-minimal/calc1.py:59
↓ 1 callersMethodexpr
expr -> INTEGER PLUS INTEGER expr -> INTEGER MINUS INTEGER expr -> INTEGER MULTIPLY INTEGER expr -> INTEGER DIVIDE IN
compiler/practice/minimal-calculator-python/calc-interpreter-1.py:109
↓ 1 callersMethodexpr
(self)
compiler/practice/minimal-calculator-python/calc-interpreter-3.py:94
↓ 1 callersMethodfactorialDigitSum
Return the sum of the digits in the number n!.
code-practice/project-euler/in-java/src/com/danialgoodwin/projecteuler/question/Q20_FactorialDigitSum.java:31
↓ 1 callersMethodfactorialSmall
Return factorial for small numbers that would result in less than Long.MAX_VALUE.
code-practice/project-euler/in-java/src/com/danialgoodwin/MathUtils.java:79
↓ 1 callersFunctionfile_to_module
(file, main_file='__main__.py')
code-practice/codingame.com/challenge__ocean_of_code/ocean_challenge/combine_py_files.py:131
↓ 1 callersMethodfind3DigitFactorPair
Returns a factor pair if found, otherwise null.
code-practice/project-euler/in-java/src/com/danialgoodwin/projecteuler/question/Q4_LargestPalindromeProduct.java:77
↓ 1 callersMethodfind3DigitFactorPairRecurse
The intuition for this is zigzagging up and right in a multiplication chart until the value if found or is out of bounds. Chart is symmetrical, so cou
code-practice/project-euler/in-java/src/com/danialgoodwin/projecteuler/question/Q4_LargestPalindromeProduct.java:86
↓ 1 callersMethodfindAmicableNumbers
Return list of amicable numbers. If none are found, then return an empty list. @param lowBound lower bound, inclusive @param highBound higher bound, e
code-practice/project-euler/in-java/src/com/danialgoodwin/projecteuler/question/Q21_AmicableNumbers.java:60
↓ 1 callersMethodfindDuplicates
Return a new list that contains all the duplicate numbers from input. Or, if there are no duplicates (or input is null), then return empty list. Note:
code-practice/interview-cake/src/com/danialgoodwin/interviewcake/question/FindDuplicateOptimizeForSpace.java:49
↓ 1 callersMethodfindLongestRepeatingDecimal
Return the denominator for the longest repeating decimal for fractions from 1/1, 1/2, 1/3, 1/4 to 1/highBound. Thoughts: - In order for a fraction to
code-practice/project-euler/in-java/src/com/danialgoodwin/projecteuler/question/Q26_ReciprocalCycles.java:54
↓ 1 callersMethodfindMatchingParens
Return the index of the matching parenthesis, given the index of the open parenthesis. Return -1 if a matching parenthesis isn't found. Idea: This co
code-practice/interview-cake/src/com/danialgoodwin/interviewcake/question/MatchingParens.java:41
↓ 1 callersMethodfindPermutationsRecursively
(String input)
code-practice/interview-cake/src/com/danialgoodwin/interviewcake/question/RecursiveStringPermutations.java:38
↓ 1 callersMethodfindPermutationsRecursivelyHelper
(String startsWith, String additionalCharacters, List<String> permutations)
code-practice/interview-cake/src/com/danialgoodwin/interviewcake/question/RecursiveStringPermutations.java:46
↓ 1 callersMethodfindSumOfProductsFor1To9Pandigitals
()
code-practice/project-euler/in-java/src/com/danialgoodwin/projecteuler/question/Q32_PandigitalProducts.java:46
↓ 1 callersMethodfindTimeWithMostCars
(List<TimeRange> times)
code-practice/career-cup/src/com/anonsage/question/CarRental.java:49
↓ 1 callersMethodgenerate_moves
(availability_board: [], start_x: int, start_y: int, max_recursion)
code-practice/codingame.com/challenge__ocean_of_code/ocean_challenge/out.py:477
↓ 1 callersMethodgenerate_moves
(availability_board: [], start_x: int, start_y: int, max_recursion)
code-practice/codingame.com/challenge__ocean_of_code/ocean_challenge/app.py:117
↓ 1 callersMethodgetAbundantNumbers
Return list of abundant numbers between lowBound and highBound, inclusive. If none, then return an empty list.
code-practice/project-euler/in-java/src/com/danialgoodwin/projecteuler/question/Q23_NonAbundantSums.java:63
↓ 1 callersMethodgetAllFactorsViaLinearCheck
Returns all factors for input, including 1 and the number. Ex: For 12, this returns [1,2,3,4,6,12]. Returns an empty list for input less than 1. This
code-practice/project-euler/in-java/src/com/danialgoodwin/util/FactorUtils.java:62
↓ 1 callersMethodgetCoinValues
()
code-practice/project-euler/in-java/src/com/danialgoodwin/projecteuler/question/Q31_CoinSums.java:114
↓ 1 callersMethodgetCountOfLettersInNumbers1to19
()
code-practice/project-euler/in-java/src/com/danialgoodwin/projecteuler/question/Q17_NumberLetterCounts.java:97
↓ 1 callersMethodgetCountOfLettersInNumbers1to9
()
code-practice/project-euler/in-java/src/com/danialgoodwin/projecteuler/question/Q17_NumberLetterCounts.java:106
↓ 1 callersMethodgetCountOfLettersInNumbers1to99
()
code-practice/project-euler/in-java/src/com/danialgoodwin/projecteuler/question/Q17_NumberLetterCounts.java:87
↓ 1 callersMethodgetCountOfLettersInNumbers1to999
()
code-practice/project-euler/in-java/src/com/danialgoodwin/projecteuler/question/Q17_NumberLetterCounts.java:73
↓ 1 callersFunctiongetCurrentTabUrl
* Get the current URL. * * @param {function(string)} callback - called when the URL of the current tab * is found.
platform-chrome/app-extension/practice-image-search/popup.js:11
↓ 1 callersMethodgetDensity
()
game/libgdx/app/martian-run-simple/core/src/com/danialgoodwin/game/martianrunsample/enums/EnemyType.java:51
↓ 1 callersMethodgetDigitPowerSum
(int value, int power)
code-practice/project-euler/in-java/src/com/danialgoodwin/projecteuler/question/Q30_DigitFifthPowers.java:62
↓ 1 callersMethodgetDigitPowerSums
(int power, int lowBound, int highBound)
code-practice/project-euler/in-java/src/com/danialgoodwin/projecteuler/question/Q30_DigitFifthPowers.java:50
← previousnext →201–300 of 980, ranked by callers