Getting Ready: Jigsaw Puzzle
Understand the jigsaw puzzle problem and learn the questions to simplify this problem.
Problem definition
A jigsaw puzzle is a picture divided into irregularly shaped pieces that can be assembled together to form a complete picture. A puzzle has a fixed number of pieces that can only fit together in exactly one way. We can solve the jigsaw puzzle by aligning the pieces in a way that they fit with each other and also create a coherent picture.
Expectations from the interviewee
Although the jigsaw problem is a simpler design problem asked in interviews, the interviewer still has some expectations. The following provides an overview of ...