B-Tree
This commit is contained in:
11
BinaryTree/BalanceTree/B-Tree/Node.h
Normal file
11
BinaryTree/BalanceTree/B-Tree/Node.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
#include <vector>
|
||||
template <class T>
|
||||
class Node {
|
||||
public:
|
||||
std::vector<T> keys;
|
||||
std::vector<Node<T>*> children; //<2F><>Сkeys.size() + 1
|
||||
bool isLeaf;
|
||||
|
||||
Node(bool l) : isLeaf(l) {}
|
||||
};
|
Reference in New Issue
Block a user