Thanks to visit codestin.com
Credit goes to github.com

Skip to content

tyukei/btree_py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

btree_py

Btree+ in python

btree does not mean binaria tree but named after Rudolf Bayer

how to run

pythno btree.py

how to change of btree_plus

	1.	キー: 1, 値: “one”
	2.	キー: 4, 値: “two”
	3.	キー: 6, 値: “three”
	4.	キー: 3, 値: “four”
	5.	キー: 7, 値: “five”
	6.	キー: 2, 値: “six”
	7.	キー: 5, 値: “seven”

1. キー: 1, 値: “one”

[1]

2. キー: 4, 値: “two”

[1, 4]

3. キー: 6, 値: “three”

[1, 4, 6]
    [4]
   /   \
[1]    [4, 6]

4. キー: 3, 値: “four”

     [4]
    /   \
[1, 3]  [4, 6]

5. キー: 7, 値: “five”

     [4]
    /   \
[1, 3]  [4, 6, 7]
      [4, 6]
     /   |   \
[1,3]  [4]  [6,7]

6. キー: 2, 値: “six”

        [ 4, 6]
     /      |    \
[1, 2, 3]  [4]  [6,7]
     [2, 4, 6]
    /  |  \   \
[1] [2,3] [4]   [6, 7]
        [4]
       /   \
    [2]     [6]
   /  \    /  \
[1] [2,3] [4] [6,7]

About

Btree+ in python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages