Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NEW ALGORITHM] Add Interesting DP probelm : Domino and Tromino Tiling #1202

Closed
2 tasks done
SimranShaikh20 opened this issue Oct 24, 2024 · 2 comments
Closed
2 tasks done

Comments

@SimranShaikh20
Copy link
Contributor

SimranShaikh20 commented Oct 24, 2024


Name:

Dynamic Programming

Problem Statments is here :

You have two types of tiles: a 2 x 1 domino shape and a tromino shape. You may rotate these shapes.
Given an integer n, return the number of ways to tile an 2 x n board. Since the answer may be very large, return it modulo 109 + 7.

In a tiling, every square must be covered by a tile. Two tilings are different if and only if there are two 4-directionally adjacent cells on the board such that exactly one of the tilings has both squares occupied by a tile.

About:

Propose a new algorithm to be added to the repository


Labels:

new algorithm, gssoc-ext, hacktoberfest, level2


@pankaj-bind assign me this issue!

Assignees:

  • Contributor in GSSoC-ext
  • Want to work on it
Copy link

👋 Thank you for raising an issue! We appreciate your effort in helping us improve. Our team will review it shortly. Stay tuned!

@pankaj-bind
Copy link
Collaborator

@SimranShaikh20 assigned

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants