We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I final got the correct solution for all test cases. It is really rediculous. In traditional chess, win in 3 moves means white's 3 moves where as here, win in 3 moves means white, black , white. I spent unnecessarily long time why my program was not working.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Simplified Chess Engine
You are viewing a single comment's thread. Return to all comments →
I final got the correct solution for all test cases. It is really rediculous. In traditional chess, win in 3 moves means white's 3 moves where as here, win in 3 moves means white, black , white. I spent unnecessarily long time why my program was not working.