I want to create a binary tree out of 2d points. What should be the key to be compared for the binary tree?
-
don't use tags merely to attract users. When I get attracted to a question by a tag just to find that nothing in the question needs the tag my first reflex is to downvote. And the second to edit ;)463035818_is_not_an_ai– 463035818_is_not_an_ai2024-08-30 08:21:38 +00:00Commented Aug 30, 2024 at 8:21
-
coordinates maybe?Prango– Prango2024-08-30 08:34:58 +00:00Commented Aug 30, 2024 at 8:34
-
When you have two dimensions, you would not use a plain binary tree, but a k-d tree, with k=2, or a quadtreetrincot– trincot2024-08-30 08:35:32 +00:00Commented Aug 30, 2024 at 8:35
Add a comment
|