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.
- Equal Stacks
- Discussions
Equal Stacks
Equal Stacks
Sort by
recency
|
95 Discussions
|
Please Login in order to post a comment
JavaScript Soution:
It's readable
def equalStacks(h1, h2, h3):
Java 8 - Based on all way subtracting a cylinder from the highest stack. This naturally protects from indexing exceptions and negative values since 0,0,0 is always true.