TheAlgorithms-Python/DIRECTORY.md
Christian Clauss 366a0f1839
Fix validate_initial_digits of credit_card_validator.py (#5600)
* Fix validate_initial_digits of credit_card_validator.py

@Bhargavishnu I think that I broke the logic of validate_initial_digits which should require that credit_card_number[0] is 3 before checking that credit_card_number[1] is 4, 5, or 7.  Please verify the new changes and the new test cases to make sure that this is correct.  Thanks!

* updating DIRECTORY.md

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-10-26 14:32:34 +02:00

85 KiB

Arithmetic Analysis

Audio Filters

Backtracking

Bit Manipulation

Blockchain

Boolean Algebra

Cellular Automata

Ciphers

Compression

Computer Vision

Conversions

Data Structures

Digital Image Processing

Divide And Conquer

Dynamic Programming

Electronics

File Transfer

Fractals

Fuzzy Logic

Genetic Algorithm

Geodesy

Graphics

Graphs

Greedy Methods

Hashes

Knapsack

Linear Algebra

Machine Learning

Maths

Matrix

Networking Flow

Neural Network

Other

Physics

Project Euler

Quantum

Scheduling

Searches

Sorts

Strings

Web Programming