Closed mohit-gogitter closed 1 month ago
Please put separate algorithms in separate classes with descriptive names and check if they are already implemented in the repository
@siriak As suggested, i have created separate classes for algorithms and removed redundant code
@siriak Moved to Algorithms project, Added Tests, fixed codacy and build issues. Kindly review
Attention: Patch coverage is 98.76543%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 95.04%. Comparing base (
cf19352
) to head (a6732f9
). Report is 1 commits behind head on master.
Files with missing lines | Patch % | Lines |
---|---|---|
Algorithms/Stack/BalancedParenthesesChecker.cs | 97.72% | 0 Missing and 1 partial :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
I have created stack-based utility classes in C# that can be used by other developers in their solutions. This utility provides commonly used operations related to stacks, which can be beneficial for solving various problems such as expression evaluations, balanced parentheses, or maintaining a history of operations.
These classes can be used to perform below stack-related operations: Next Greater Element: Given an array, find the next greater element for each element in the array. Balanced Parentheses Checker: A utility to check whether a given expression has balanced parentheses. Reverse a Stack: Function to reverse a stack.
CheckList: