Problem 3988 · Medium

Create Grid With Exactly K Paths I

Build an m by n grid of free and blocked cells with exactly k right-and-down routes from the top-left corner to the bottom-right corner, or return an empty list if no such grid exists.

Open the interactive visualisation