Skip to content

pierrekour/AVL-Tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

AVL-Tree CI status

AVL tree implementation in C++. Done as part of Data Structures course in IIT.

Usage

include <TreeAVL.h>

class CompareByHeight {
	public:
		int operator()(Person& p1, Person& p2) {
			int h1 = p1.getHeight();
			int h2 = p2.getHeight();
			return (h1 - h2);
		}
};
mytree = Tree<CompareByID, Person>)();
myTree.insertVertex(new Person(...))

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages