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.
- Simple Text Editor
- Discussions
Simple Text Editor
Simple Text Editor
Sort by
recency
|
262 Discussions
|
Please Login in order to post a comment
Using stack DS
static StringBuilder res = new StringBuilder(); static StackstringStack = new Stack<>(); public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int q = scanner.nextInt();
My C# solution