B-Tree
This commit is contained in:
@@ -16,6 +16,10 @@ int main() {
|
||||
a.insert(11);a.display();
|
||||
a.insert(15);a.display();
|
||||
a.insert(17);a.display();
|
||||
|
||||
a.erase(7);a.display();
|
||||
a.erase(10);a.display();
|
||||
a.erase(1);a.display();
|
||||
return 0;
|
||||
}
|
||||
/*
|
||||
@@ -70,4 +74,28 @@ int main() {
|
||||
6 7 8
|
||||
9 10
|
||||
11 15 17
|
||||
|
||||
|
||||
1 2
|
||||
3 4 5
|
||||
|
||||
6 8
|
||||
9 10
|
||||
11 15 17
|
||||
|
||||
|
||||
1 2
|
||||
3 4 5
|
||||
|
||||
6 8
|
||||
9 11
|
||||
15 17
|
||||
|
||||
|
||||
2
|
||||
3 4 5
|
||||
6 8
|
||||
|
||||
9 11
|
||||
15 17
|
||||
*/
|
Reference in New Issue
Block a user