- position of knight = k
- position of pawns = p
can the knight take out those pawns?
- k='Nf4'
- p={'g6','g7'}
then output should be [1,0]
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers15
Suggested Problems
-
Back to basics 3 - Temp Directory
386 Solvers
-
Backslang, odds are you used it at some point in time...
83 Solvers
-
5925 Solvers
-
7302 Solvers
-
2523 Solvers
More from this Author174
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!