Skip to content

Interview Problem #1

@kpderoshAptiv

Description

@kpderoshAptiv

Problem

Given a grid of numbers X

1231802461010273
1023971023710461
1481027310236012
1023917204671230

Test to check if a subgrid pattern Y exists as a subgrid in X.

12318024
10239710

constraints

1 < X.width <= 100
1 < X.height <= 100

1 < Y.width <= 100
1 < Y.height <= 100

Output

Output a true or false if Y exists as a subgrid to X. Throw Exception where acceptable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions