Functiondfs >>> dfs({1: [2, 3], 2: [4, 5], 3: [], 4: [], 5: []}, 1) 1 2 4 5 3
graphs/basic_graphs.py:79
Functiondijk dijk({1: [(2, 7), (3, 9), (6, 14)], 2: [(1, 7), (3, 10), (4, 15)], 3: [(1, 9), (2, 10), (4, 11), (6, 2)], 4: [(2, 15), (3
graphs/basic_graphs.py:149
Functiondiophantine_all_soln Lemma : if n|ab and gcd(a,n) = 1, then n|b. Finding All solutions of Diophantine Equations: Theorem : Let gcd(a,b) = d, a = d*p, b = d*
blockchain/diophantine_equation.py:33
Functiondp_count >>> dp_count([1, 2, 3], 4) 4 >>> dp_count([1, 2, 3], 7) 8 >>> dp_count([2, 5, 3, 6], 10) 5 >>> dp_count([10], 99) 0
dynamic_programming/minimum_coin_change.py:10
Functionelectrical_impedance Apply Electrical Impedance formula, on any two given electrical values, which can be resistance, reactance, and impedance, and then in a Pyth
electronics/electrical_impedance.py:12
Functionevaluate_recursive Alternative recursive implementation >>> evaluate_recursive(['2']) 2 >>> expression = ['+', '*', '2', '3', '/', '8', '4'] >>> ev
data_structures/stacks/prefix_evaluation.py:58
Functionfactors_of_a_number >>> factors_of_a_number(1) [1] >>> factors_of_a_number(5) [1, 5] >>> factors_of_a_number(24) [1, 2, 3, 4, 6, 8, 12, 24] >
maths/factors.py:5