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
- Data Structures
- Stacks
- Equal Stacks
- Discussions
Equal Stacks
Equal Stacks
Sort by
recency
|
1140 Discussions
|
Please Login in order to post a comment
Python 3:
def equalStacks(h1, h2, h3): # Write your code here
Beat Google AI for this one :)
from itertools import accumulate
def equalStacks(h1, h2, h3): # Write your code here
Java8 with steams
C++ Solution with unlimited input stacks
C++ solution: