So I'm making a binary search tree implemented through arrays (if parent's index is i, then left child's index is (i * 2 + 1), and right child's index is (i * 2 + 2).So I'm making a binary search tree implemented
So I'm making a binary search tree implemented through arrays (if parent's index is i, then left child's index is (i * 2 + 1), and right child's index is (i * 2 + 2).So I'm making a binary search tree implemented