Skip to content

Commit a3e70f6

Browse files
authored
Merge branch 'master' into feat/hex-to-rgb
2 parents 6ac61ac + c77db5a commit a3e70f6

84 files changed

Lines changed: 4433 additions & 577 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎CONTRIBUTING.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ Comments which are not on the same line as code should appear ___before___ the c
196196
return a + b
197197
```
198198

199-
[Install ty](https://docs.astral.sh/ty/installation/) and then pslease use the command `ty check` to test all files or `ty check path/to/file.py` to test a specific file.
199+
[Install ty](https://docs.astral.sh/ty/installation/) and then please use the command `ty check` to test all files or `ty check path/to/file.py` to test a specific file.
200200

201201
- [__List comprehensions and generators__](https://docs.python.org/3/tutorial/datastructures.html#list-comprehensions) are preferred over the use of `lambda`, `map`, `filter`, `reduce` but the important thing is to demonstrate the power of Python in code that is easy to read and maintain.
202202

‎DIRECTORY.md‎

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@
110110
## [Blockchain](blockchain)
111111
* [Diophantine Equation](blockchain/diophantine_equation.py)
112112
* [Merkle Tree](blockchain/merkle_tree.py)
113+
* [Proof Of Stake](blockchain/proof_of_stake.py)
114+
* [Proof Of Work](blockchain/proof_of_work.py)
113115
* [Simple Blockchain](blockchain/simple_blockchain.py)
114116
* [Simple Proof Of Work](blockchain/simple_proof_of_work.py)
115117

@@ -150,6 +152,7 @@
150152
* [Bifid](ciphers/bifid.py)
151153
* [Brute Force Caesar Cipher](ciphers/brute_force_caesar_cipher.py)
152154
* [Caesar Cipher](ciphers/caesar_cipher.py)
155+
* [Columnar Transposition](ciphers/columnar_transposition.py)
153156
* [Cryptomath Module](ciphers/cryptomath_module.py)
154157
* [Decrypt Caesar With Chi Squared](ciphers/decrypt_caesar_with_chi_squared.py)
155158
* [Deterministic Miller Rabin](ciphers/deterministic_miller_rabin.py)
@@ -179,6 +182,7 @@
179182
* [Shuffled Shift Cipher](ciphers/shuffled_shift_cipher.py)
180183
* [Simple Keyword Cypher](ciphers/simple_keyword_cypher.py)
181184
* [Simple Substitution Cipher](ciphers/simple_substitution_cipher.py)
185+
* [Skytale Cipher](ciphers/skytale_cipher.py)
182186
* [Transposition Cipher](ciphers/transposition_cipher.py)
183187
* [Transposition Cipher Encrypt Decrypt File](ciphers/transposition_cipher_encrypt_decrypt_file.py)
184188
* [Trifid Cipher](ciphers/trifid_cipher.py)
@@ -220,9 +224,11 @@
220224
* [Hex To Bin](conversions/hex_to_bin.py)
221225
* [Hex To Rgb](conversions/hex_to_rgb.py)
222226
* [Hexadecimal To Decimal](conversions/hexadecimal_to_decimal.py)
227+
* [Int To Negative Binary Base](conversions/int_to_negative_binary_base.py)
223228
* [Ipv4 Conversion](conversions/ipv4_conversion.py)
224229
* [Length Conversion](conversions/length_conversion.py)
225230
* [Molecular Chemistry](conversions/molecular_chemistry.py)
231+
* [Negative Binary Base To Int](conversions/negative_binary_base_to_int.py)
226232
* [Octal To Binary](conversions/octal_to_binary.py)
227233
* [Octal To Decimal](conversions/octal_to_decimal.py)
228234
* [Octal To Hexadecimal](conversions/octal_to_hexadecimal.py)
@@ -507,6 +513,7 @@
507513
* [Ic 555 Timer](electronics/ic_555_timer.py)
508514
* [Ind Reactance](electronics/ind_reactance.py)
509515
* [Ohms Law](electronics/ohms_law.py)
516+
* [Power Factor Correction](electronics/power_factor_correction.py)
510517
* [Real And Reactive Power](electronics/real_and_reactive_power.py)
511518
* [Resistor Color Code](electronics/resistor_color_code.py)
512519
* [Resistor Equivalence](electronics/resistor_equivalence.py)
@@ -524,6 +531,7 @@
524531
* [Exponential Moving Average](financial/exponential_moving_average.py)
525532
* [Interest](financial/interest.py)
526533
* [Kelly Criterion](financial/kelly_criterion.py)
534+
* [Macaulay Duration](financial/macaulay_duration.py)
527535
* [Present Value](financial/present_value.py)
528536
* [Price Plus Tax](financial/price_plus_tax.py)
529537
* [Sharpe Ratio](financial/sharpe_ratio.py)
@@ -637,6 +645,7 @@
637645
* [Strongly Connected Components](graphs/strongly_connected_components.py)
638646
* [Tarjans Scc](graphs/tarjans_scc.py)
639647
* Tests
648+
* [Test Graphs Floyd Warshall](graphs/tests/test_graphs_floyd_warshall.py)
640649
* [Test Johnson](graphs/tests/test_johnson.py)
641650
* [Test Min Spanning Tree Kruskal](graphs/tests/test_min_spanning_tree_kruskal.py)
642651
* [Test Min Spanning Tree Prim](graphs/tests/test_min_spanning_tree_prim.py)
@@ -737,6 +746,7 @@
737746
* [Q Learning](machine_learning/q_learning.py)
738747
* [Random Forest Classifier](machine_learning/random_forest_classifier.py)
739748
* [Random Forest Regressor](machine_learning/random_forest_regressor.py)
749+
* [Ridge Regression](machine_learning/ridge_regression.py)
740750
* [Rmsprop](machine_learning/rmsprop.py)
741751
* [Scoring Functions](machine_learning/scoring_functions.py)
742752
* [Self Organizing Map](machine_learning/self_organizing_map.py)
@@ -969,6 +979,7 @@
969979
* [Count Paths](matrix/count_paths.py)
970980
* [Cramers Rule 2X2](matrix/cramers_rule_2x2.py)
971981
* [Inverse Of Matrix](matrix/inverse_of_matrix.py)
982+
* [Kronecker Product](matrix/kronecker_product.py)
972983
* [Largest Square Area In Matrix](matrix/largest_square_area_in_matrix.py)
973984
* [Matrix Based Game](matrix/matrix_based_game.py)
974985
* [Matrix Class](matrix/matrix_class.py)
@@ -1004,6 +1015,7 @@
10041015
* [Scaled Exponential Linear Unit](neural_network/activation_functions/scaled_exponential_linear_unit.py)
10051016
* [Soboleva Modified Hyperbolic Tangent](neural_network/activation_functions/soboleva_modified_hyperbolic_tangent.py)
10061017
* [Softplus](neural_network/activation_functions/softplus.py)
1018+
* [Softsign](neural_network/activation_functions/softsign.py)
10071019
* [Squareplus](neural_network/activation_functions/squareplus.py)
10081020
* [Swish](neural_network/activation_functions/swish.py)
10091021
* [Back Propagation Neural Network](neural_network/back_propagation_neural_network.py)
@@ -1023,6 +1035,8 @@
10231035
* [Activity Selection](other/activity_selection.py)
10241036
* [Alternative List Arrange](other/alternative_list_arrange.py)
10251037
* [Bankers Algorithm](other/bankers_algorithm.py)
1038+
* [Cheap Progress](other/cheap_progress.py)
1039+
* [Dancing Links](other/dancing_links.py)
10261040
* [Davis Putnam Logemann Loveland](other/davis_putnam_logemann_loveland.py)
10271041
* [Doomsday](other/doomsday.py)
10281042
* [Fischer Yates Shuffle](other/fischer_yates_shuffle.py)
@@ -1041,17 +1055,20 @@
10411055
* [Nested Brackets](other/nested_brackets.py)
10421056
* [Number Container System](other/number_container_system.py)
10431057
* [Password](other/password.py)
1058+
* [Pipeline](other/pipeline.py)
10441059
* [Quine](other/quine.py)
10451060
* [Scoring Algorithm](other/scoring_algorithm.py)
10461061
* [Sdes](other/sdes.py)
10471062
* [Sliding Window Maximum](other/sliding_window_maximum.py)
1063+
* [Token Bucket](other/token_bucket.py)
10481064
* [Tower Of Hanoi](other/tower_of_hanoi.py)
10491065
* [Word Search](other/word_search.py)
10501066

10511067
## [Physics](physics)
10521068
* [Altitude Pressure](physics/altitude_pressure.py)
10531069
* [Archimedes Principle Of Buoyant Force](physics/archimedes_principle_of_buoyant_force.py)
10541070
* [Basic Orbital Capture](physics/basic_orbital_capture.py)
1071+
* [Boyles Law](physics/boyles_law.py)
10551072
* [Bragg Angle](physics/bragg_angle.py)
10561073
* [Casimir Effect](physics/casimir_effect.py)
10571074
* [Center Of Mass](physics/center_of_mass.py)
@@ -1151,6 +1168,7 @@
11511168
* [Sol2](project_euler/problem_012/sol2.py)
11521169
* Problem 013
11531170
* [Sol1](project_euler/problem_013/sol1.py)
1171+
* [Sol2](project_euler/problem_013/sol2.py)
11541172
* Problem 014
11551173
* [Sol1](project_euler/problem_014/sol1.py)
11561174
* [Sol2](project_euler/problem_014/sol2.py)
@@ -1254,6 +1272,8 @@
12541272
* [Sol1](project_euler/problem_058/sol1.py)
12551273
* Problem 059
12561274
* [Sol1](project_euler/problem_059/sol1.py)
1275+
* Problem 060
1276+
* [Sol1](project_euler/problem_060/sol1.py)
12571277
* Problem 062
12581278
* [Sol1](project_euler/problem_062/sol1.py)
12591279
* Problem 063
@@ -1329,6 +1349,8 @@
13291349
* [Sol1](project_euler/problem_107/sol1.py)
13301350
* Problem 109
13311351
* [Sol1](project_euler/problem_109/sol1.py)
1352+
* Problem 111
1353+
* [Sol1](project_euler/problem_111/sol1.py)
13321354
* Problem 112
13331355
* [Sol1](project_euler/problem_112/sol1.py)
13341356
* Problem 113
@@ -1351,6 +1373,8 @@
13511373
* [Sol1](project_euler/problem_122/sol1.py)
13521374
* Problem 123
13531375
* [Sol1](project_euler/problem_123/sol1.py)
1376+
* Problem 124
1377+
* [Sol1](project_euler/problem_124/sol1.py)
13541378
* Problem 125
13551379
* [Sol1](project_euler/problem_125/sol1.py)
13561380
* Problem 129
@@ -1361,6 +1385,12 @@
13611385
* [Sol1](project_euler/problem_135/sol1.py)
13621386
* Problem 136
13631387
* [Sol1](project_euler/problem_136/sol1.py)
1388+
* Problem 137
1389+
* [Sol1](project_euler/problem_137/sol1.py)
1390+
* Problem 138
1391+
* [Sol1](project_euler/problem_138/sol1.py)
1392+
* Problem 142
1393+
* [Sol1](project_euler/problem_142/sol1.py)
13641394
* Problem 144
13651395
* [Sol1](project_euler/problem_144/sol1.py)
13661396
* Problem 145
@@ -1408,6 +1438,7 @@
14081438

14091439
## [Quantum](quantum)
14101440
* [Q Fourier Transform](quantum/q_fourier_transform.py)
1441+
* [Shor Algorithm](quantum/shor_algorithm.py)
14111442

14121443
## [Scheduling](scheduling)
14131444
* [Cpuschedulingalgorithms](scheduling/cpuschedulingalgorithms.py)
@@ -1507,8 +1538,10 @@
15071538
* [Autocomplete Using Trie](strings/autocomplete_using_trie.py)
15081539
* [Barcode Validator](strings/barcode_validator.py)
15091540
* [Bitap String Match](strings/bitap_string_match.py)
1541+
* [Booths Algorithm](strings/booths_algorithm.py)
15101542
* [Boyer Moore Horspool](strings/boyer_moore_horspool.py)
15111543
* [Boyer Moore Search](strings/boyer_moore_search.py)
1544+
* [Bpe Tokenizer](strings/bpe_tokenizer.py)
15121545
* [Camel Case To Snake Case](strings/camel_case_to_snake_case.py)
15131546
* [Can String Be Rearranged As Palindrome](strings/can_string_be_rearranged_as_palindrome.py)
15141547
* [Capitalize](strings/capitalize.py)
@@ -1525,6 +1558,7 @@
15251558
* [Indian Phone Validator](strings/indian_phone_validator.py)
15261559
* [Is Contains Unique Chars](strings/is_contains_unique_chars.py)
15271560
* [Is Isogram](strings/is_isogram.py)
1561+
* [Is Isomorphic](strings/is_isomorphic.py)
15281562
* [Is Pangram](strings/is_pangram.py)
15291563
* [Is Polish National Id](strings/is_polish_national_id.py)
15301564
* [Is Spain National Id](strings/is_spain_national_id.py)
@@ -1533,6 +1567,7 @@
15331567
* [Jaro Winkler](strings/jaro_winkler.py)
15341568
* [Join](strings/join.py)
15351569
* [Knuth Morris Pratt](strings/knuth_morris_pratt.py)
1570+
* [Largest Smallest Words](strings/largest_smallest_words.py)
15361571
* [Levenshtein Distance](strings/levenshtein_distance.py)
15371572
* [Lower](strings/lower.py)
15381573
* [Manacher](strings/manacher.py)
@@ -1569,6 +1604,8 @@
15691604
* [Covid Stats Via Xpath](web_programming/covid_stats_via_xpath.py)
15701605
* [Crawl Google Results](web_programming/crawl_google_results.py)
15711606
* [Crawl Google Scholar Citation](web_programming/crawl_google_scholar_citation.py)
1607+
* [Crypto Price](web_programming/crypto_price.py)
1608+
* [Crypto Price Tracker](web_programming/crypto_price_tracker.py)
15721609
* [Currency Converter](web_programming/currency_converter.py)
15731610
* [Current Stock Price](web_programming/current_stock_price.py)
15741611
* [Current Weather](web_programming/current_weather.py)

0 commit comments

Comments
 (0)