Google Interview Question
1,220 Interview Reviews |
Back to all Google Interview Questions & Reviews
Interview questions and reviews posted anonymously by interview candidates
Interview Question for Software Engineer at Google:
A quad tree is used to represent a black/white image. If you are provided with two such image representations, write a function to create a third tree that represents the merged image. (Black overrides white, mixed; mixed overrides white)
Helpful Question?
Yes |
No
Inappropriate?
0 of 0 people found this helpful
by Luc:
Not exactly sure how to do this but would think something like representing the node as 4 bits then or'ing the bits together would do the job.