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.
- Prepare
- Algorithms
- Strings
- Game of Thrones - I
- Discussions
Game of Thrones - I
Game of Thrones - I
Sort by
recency
|
1080 Discussions
|
Please Login in order to post a comment
Here is my c++ solution : explanation here : https://youtu.be/yhSaL48IHds
solution 1 :
solution 2 :
My answer with Typescript, noted
Perl:
The odd even check is actually unnecessary I've just figured. You can skip that part but the logic is pretty much the same. Java: