Locate the given pentominoes (tetrominoes for the example) in the grid without overlapping each other. Pieces may be rotated and/or mirrored. All circles in the grid represent the dead ends of the given pieces. Some cells may remain empty.