Commit Graph

4 Commits (92196071915def07edd61b21f613a9c1e0a16565)

Author SHA1 Message Date
Christian Clauss efc9eb7e94
chore: migrate Python to new directory structure (#207)
* chore: Migrate Python to new directory structure

* git add algorithms/Python/README.md

* Cleanup URLs

* Update README.md
2021-04-15 15:29:20 -04:00
Christian Clauss c245d22869
Add Python doctests to karatsuba.py (#161)
* Add Python doctests to karatsuba.py

`subtract()` can give the wrong answer when `y` > `x`.  @atin Your review please.

* add() and absolute_difference()

* absolute_difference("1", "0")

* Update karatsuba.py

* Update karatsuba.py
2021-04-11 17:43:57 -04:00
Christian Clauss d7860a161e
GitHub Action to lint C and C++ code (#156)
* GitHub Action to lint C and C++ code

GitHub Action to run cpplint recursively on all pushes and pull requests https://github.com/cpplint/GitHub-Action-for-cpplint

* Update cpplint.yml

* Update cpplint.yml

* Update cpplint.yml

* Fix import order

Found C system header after C++ system header. Should be: doubly.h, c system, c++ system, other.  [build/include_order] [4]

* Fix import order

* Update string-tokeniser.cpp
2021-04-11 13:48:29 -04:00
Atin Bainada 9d43692c51
Multiplication Algorithms - Karatsuba Multiplication Added in Python and CPP (#36)
* Create README.md

* Create karatsuba.py

* Create karatsuba.cpp
2021-01-29 08:54:36 -04:00