Skip to content

Commit 749974e

Browse files
committed
add binary tree lib
1 parent f7d88a2 commit 749974e

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

README

+10-1
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,21 @@
44
### Description
55
The purpose of this library is to help you with common algorithms like:
66

7-
String matching:
7+
String matching
88
- Naive
99
- Rabin-Karp
1010
- Knuth-Morris-Pratt
1111
- Boyer-Moore-Horspool
1212

13+
Binary tree
14+
- node and tree class
15+
- lookup
16+
- insert
17+
- delete
18+
- compare 2 trees
19+
- print tree
20+
- tree inorder iterator
21+
1322
### Installation
1423
Get the source and run
1524

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
from distutils.core import setup
22
setup(
33
name = "pyalgorithms",
4-
py_modules = ['string_matching'],
4+
py_modules = ['string_matching', 'binary_tree'],
55
version = "0.1",
66
description = "Python Algorithms",
77
author = "Laurent Luce",
88
author_email = "laurentluce49@yahoo.com",
99
url = "http://github.com/laurentluce/pyalgorithms",
1010
download_url = "http://github.com/laurentluce/pyalgorithms",
11-
keywords = ["pyalgorithms","algorithms"],
11+
keywords = ["python-algorithms","algorithms"],
1212
classifiers = [
1313
"Programming Language :: Python",
1414
"Operating System :: OS Independent",

0 commit comments

Comments
 (0)