-
Notifications
You must be signed in to change notification settings - Fork 18.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sort stack using another stack #3348
Comments
Hi @kashish2909, Kindly assign this task to me. |
Created a code for stack sorting using another stack only. time complexity = O(n^2) space complexity = O(n) Issue Related - Sort stack using another stack TheAlgorithms#3348
Hi sir, |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Please reopen this issue once you add more information and updates here. If this is not the case and you need some help, feel free to seek help from our Gitter or ping one of the reviewers. Thank you for your contributions! |
I want to implement an algorithm to sort a stack using another stack and also add test case for that.
Time complexity: O(n^2)
Space complexity: O(n)
The text was updated successfully, but these errors were encountered: