Intersection of Two Quadtrees | tech::interview
- Please build a quadtree to represent a 0-1 matrix, assume the matrix is a square and the dimension is power of 2.
- Given two such quadtrees with same depth, please write a function to calculate how many 1s are overlapped.
Read full article from Intersection of Two Quadtrees | tech::interview
No comments:
Post a Comment