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
|
1123 Discussions
|
Please Login in order to post a comment
Java soloution
import java.io.; import java.util.; import java.util.stream.*;
import static java.util.stream.Collectors.toList;
class Result {
}
public class Solution { public static void main(String[] args) throws IOException { BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); BufferedWriter bufferedWriter = new BufferedWriter(new FileWriter(System.getenv("OUTPUT_PATH")));
}
Solution in C++:
Typescript/JavaScript solution
def equalStacks(h1, h2, h3):