Skip to content

Commit c513a1c

Browse files
Removed redundant parenthesis from StackUtils.cs file and modified README.md file
1 parent ae19f20 commit c513a1c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DataStructures/Stack/StackUtils.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace DataStructures.Stack
1919
{
2020
public class StackUtils
2121
{
22-
private static readonly Dictionary<char, char> parenthesesMap = new Dictionary<char, char>()
22+
private static readonly Dictionary<char, char> parenthesesMap = new Dictionary<char, char>
2323
{
2424
{ '(', ')' },
2525
{ '{', '}' },
@@ -31,7 +31,6 @@ public class MinStack
3131
{
3232
private readonly Stack<int> mainStack;
3333
private readonly Stack<int> minStack;
34-
3534

3635

3736
public MinStack()

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ find more than one implementation for the same objective but using different alg
242242
* [Array-based Stack](./DataStructures/Stack/ArrayBasedStack.cs)
243243
* [List-based Stack](./DataStructures/Stack/ListBasedStack.cs)
244244
* [Queue-based Stack](./DataStructures/Stack/QueueBasedStack.cs)
245+
* [Stack Utils](./DataStructures/Stack/StackUtils.cs)
245246
* [Heap](./DataStructures/Heap)
246247
* [Min-Max Heap](./DataStructures/Heap/MinMaxHeap.cs)
247248
* [Binary Heap](./DataStructures/Heap/BinaryHeap.cs)

0 commit comments

Comments
 (0)