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 Solvers9
Suggested Problems
-
Swap the first and last columns
22430 Solvers
-
899 Solvers
-
Is this triangle right-angled?
6363 Solvers
-
8238 Solvers
-
Double all elements in the array
2124 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!