-
-
Notifications
You must be signed in to change notification settings - Fork 699
Add solution for Challenge 27 by kiramux #712
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
Conversation
WalkthroughAdds a new generics utilities library in Changes
Sequence Diagram(s)sequenceDiagram
participant C as Caller
participant G as generics package
participant S as internal slice/map
rect rgba(0,128,0,0.05)
C->>G: NewStack[T]()
G->>S: create internal []T
end
C->>G: Push(value)
G->>S: append value
C->>G: Pop()
alt not empty
G->>S: remove last, return value
G-->>C: value
else empty
G-->>C: ErrEmptyCollection
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes
Possibly related PRs
Pre-merge checks✅ Passed checks (3 passed)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Challenge 27 Solution
Submitted by: @kiramux
Challenge: Challenge 27
Description
This PR contains my solution for Challenge 27.
Changes
challenge-27/submissions/kiramux/solution-template.goTesting
Thank you for reviewing my submission! 🚀