[Community Puzzle] |Build A Bookcase|πŸ”¨

Coding Games and Programming Challenges to Code Better

Send your feedback or ask for help here!

Created by @Lisa-Has-Ideas,validated by @Hawat_MH,@Eulero314 and @FredericLocquet.
If you have any issues, feel free to ping them.

Hi Lisa-Has-Ideas, I enjoyed doing your puzzle, but even if my code passes all the tests in the IDE, it fails at validators 3 and 4 after submission.
I cannot find what’s wrong with my code. How can I fix this without seeing the validators 3 and 4 ?
Thank you.

Thanks for playing my puzzle and thanks for the feedback.

Sorry for the trouble.

Do you want to send me your code, and I’ll have a look

And/or

I could send you one of those Validators.

It’s a challenge to solve this puzzle in O(1) space somplexity. Need some mathematical tricks to judge whether line x is a bookcase (horizontal platform) or not. :smile: