Constructor arguments of a tree: the comparator is optional only when the values are numbers, strings or bigints.
Constructor arguments of a tree: the comparator is optional only when the values are numbers, strings or bigints.