Menu
Algorithm
Challenges
Courses
Subject
Tool Box
Login
Get Started
Algorithm
Challenges
Courses
Subject
Tool Box
Login
Get Started
Problems Outline
Subject:
Data Structure and Algorithm
Reverse a String using a Stack
Write a program to reverse a string using a stack.
C
C++
PHP
Python
JavaScript
Console
Console
Input
Editor Settings
Theme
Try different styles and syntax highlighting
Textmate
Chrome
Tomorrow
Dracula
Twilight
Monokai
Font Size
Choose your preferred font size for the editor
-
+
Problem: Data Structure and Algorithm
Stack
Implement a Stack using an Array
Implement a Stack using a Linked List
Reverse a String using a Stack
Check for Balanced Parentheses
Convert Infix Expression to Postfix Expression
Evaluate a Postfix Expression
Find the Next Greater Element
Implement Two Stacks in One Array
Design a Stack that Supports getMin() in O(1) Time
Sort a Stack using Recursion
Queue
Implement Linear Queue using Arrays
Simulate a real-life Queue System
Please login to Continue
Login
Login
Sign Up
Sign Up
Google
GitHub
OR
Keep me Login
Forgot Password?
Loading
Login
Google
GitHub
OR
By registering you agree to our
Terms & Conditions
Agree and Sign Up