Need Help! Google Interview Question
Anonymous User
262

We model a LEGO structure in code and write a method which can compare whether 2 LEGO structures are the same.
All bricks have the same height
All bricks are rectangular with width and depth as integers.
Bricks come in different colors
Follow up: What if horizontal-plane rotations are also equal?

We have to come up with a data structure to model the lego structures and using that we have to write a method that can compare two lego structures

Comments (1)