Create your own GitHub profile
Sign up for your own profile on GitHub, the best place to host code, manage projects, and build software alongside 28 million developers.Sign up
Convert a hierarchy from flat to nested representation.
Sort an array using the merge-sort algorithm.
Find the index to insert an element in array keeping the sort order.
Convert a hierarchy from nested to flat representation.