Here's the input:
{"XXXX....",
"...X.XXX",
"XXX..X..",
"......X.",
"XXXXXXXX"}
coin_row = 2 (these are 1-indexed)
coin_col = 4
|
Here's a what a solution looks like with a ladder of size 2:
Your goal is to solve the problem with the minimum size ladder.
![]() |
![]() |
![]() |
![]() |