moghya / dsalglib

This is improved and stable version of dsalib ready to use C++ data structures and algorithms template library
http://moghya.me/dsalglib
29 stars 27 forks source link

Added Disjoint Set union. Fixes #12 #17

Closed omjego closed 3 years ago

omjego commented 7 years ago

Hey,I've added disjoint set union DS and HashMap to the library and some utility functions in array and linklist. fixes #12

omjego commented 7 years ago

@moghya if we do that we need to provide 2 implementation for union methods one with type as parameters and other with integers as parameters(union by index of object) , now this will create problems like ambiguous function call when we try to do union for type int itself. I was unable to figure out solution for this problem so I just tried to leave it as it is.

omjego commented 3 years ago

Closed. Obsolete.