Skip to content

Feat: Stack Implementation Using Queue - #14

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

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

Conversation

@Utkarshalways

Copy link
Copy Markdown
Owner

Push Operation: Time Complexity 𝑂 ( 𝑛 )

Pop Operation: Time Complexity 𝑂 ( 1 )

Peek Operation: Time Complexity 𝑂 ( 1 )

isEmpty Operation: Time Complexity 𝑂 ( 1 )

isFull Operation: Time Complexity 𝑂 ( 1 )

Size Operation: Time Complexity 𝑂 ( 1 )

Space Complexity: 𝑂 ( 𝑛 )

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