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.
- Lego Blocks
- Discussions
Lego Blocks
Lego Blocks
Sort by
recency
|
16 Discussions
|
Please Login in order to post a comment
I wasn't happy with any of the discriptions of solutions for this problem I'd seen, so I wrote my own: http://blog.5digits.org/2025/01/25/how-to-solve-lego-blocks-on-hackerrank/
Here is Hackerrank Lego Blocks problem solution in Python, Java, C++, C and javascript
My Java solution:
in javascript: