Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Added sort a stack problem and solution. #85

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

Merged
TheSTL merged 17 commits into knaxus:master from SumeetHaryani:master
Oct 14, 2019
Merged

Conversation

Copy link
Contributor

@SumeetHaryani SumeetHaryani commented Oct 13, 2019

Sort a stack with the help of a temporary stack.
Input:[1,10,21,3,9,-11,32]
Output:[32,21,10,9,3,1,-11]

Add Reverse first k elements of queue problem and solution
Copy link
Member

TheSTL commented Oct 13, 2019

@SumeetHaryani can you add time complexity for this problem?

ashokdey reacted with thumbs up emoji

Copy link
Contributor Author

@TheSTL I have added the time complexity #85

@TheSTL TheSTL merged commit 41fef14 into knaxus:master Oct 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@TheSTL TheSTL TheSTL approved these changes

@ashokdey ashokdey Awaiting requested review from ashokdey

Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /