educative.io

Educative

Quard Tree Replacement with Location ID pointers in Location ID details

Can we not simple replace the Quard tree by storing pointers to the next and previous Location ID along with the Location ID details. We would update the same in case of resharding/rebalancing when the limit of 500 is reached .