Problem 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.

https://en.wikipedia.org/wiki/Castling

Solution Stats

44.44% Correct | 55.56% Incorrect
Last Solution submitted on Nov 22, 2025

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers15

Suggested Problems

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!