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.
Unless I'm missing something, I think the instructions need to be fixed. The instructions say it's a square, word 3, line 1. But it's not. Even if you filter for what should be considered "bad input" (input that isn't a square) and return "NO" it doesn't work. It's expected that rectangles are accepted as valid input.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Grid Challenge
You are viewing a single comment's thread. Return to all comments →
Unless I'm missing something, I think the instructions need to be fixed. The instructions say it's a square, word 3, line 1. But it's not. Even if you filter for what should be considered "bad input" (input that isn't a square) and return "NO" it doesn't work. It's expected that rectangles are accepted as valid input.