Problem 45330. Castling-02
This is a follow up of problem
https://www.mathworks.com/matlabcentral/cody/groups/1/problems/45329-castling-01
Given the position of only one player's chess pieces(some of them) on the chessboard, figure out whether castling is valid or not.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers7
Suggested Problems
-
2220 Solvers
-
471 Solvers
-
139 Solvers
-
Find the sum of the elements in the "second" diagonal
1133 Solvers
-
Output any real number that is neither positive nor negative
388 Solvers
More from this Author165
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!