This repository contains implementation and tests for various algorithms and data structures.
- Binary search:
algos/bin_search.py
andalogs/test/test_bin_search.py
- Subsequence detecting:
algos/subsequence.py
andalgos/test/test_subsequence.py
- Exponentiation by squaring:
algos/math.py
andalgos/test/math.py
- Tree and Binary tree:
algos/tree.py
andalgos/test/test_tree.py
- Heap:
algos/heap.py
andalgos/test/test_heap.py
- IPython notebook:
algos/perf/perf.ipynb
- Binary search testing:
algos/perf/perf_bin_search.py