calgagi / cp_gen

A modular and robust application to create competitive programming templates.
6 stars 0 forks source link

AVL: refactor #10

Closed calgagi closed 3 years ago

calgagi commented 3 years ago

Include friend class avlTester that is only compiled if CP_GEN_TESTS is defined.

Also probably should get rid of a few of Node's member variables in order to decrease memory usage.

calgagi commented 3 years ago

We can also refactor avl to just be a wrapper around std::multiset. This might be a good idea, need to think about this later.