Skip to content

Feat: Queue Using One Stack - #18

Open
Utkarshalways wants to merge 1 commit into
Assignment-7from
QueueUsingOneStack
Open

Utkarshalways wants to merge 1 commit into
Assignment-7from
QueueUsingOneStack

Conversation

@Utkarshalways

Copy link
Copy Markdown
Owner

The time complexity for both enqueue and dequeue operations is 𝑂 ( 𝑛 ) in the worst case, and the space complexity is 𝑂 ( 𝑛 ).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant