Moved StackPostfixNotation.java from the Others section to the Stack section (#4372)

* Moved StackPostfixNotation.java from the Others section to the Stack section

* Put all stack related algo in a separate stack directory in the algorithms directory. The stack directory under data-structures now only contains various implementations of the stack data structure.

* formatted files
This commit is contained in:
Subhradeep Bera
2023-09-19 00:57:36 +05:30
committed by GitHub
parent a1844840fd
commit 26c2465328
13 changed files with 21 additions and 23 deletions

View File

@ -1,4 +1,4 @@
package com.thealgorithms.datastructures.stacks;
package com.thealgorithms.stacks;
import java.util.Stack;

View File

@ -7,7 +7,7 @@
* Program description - Given an integer array. The task is to find the maximum of the minimum of
* the array
*/
package com.thealgorithms.datastructures.stacks;
package com.thealgorithms.stacks;
import java.util.*;

View File

@ -1,4 +1,4 @@
package com.thealgorithms.datastructures.stacks;
package com.thealgorithms.stacks;
import java.util.Stack;

View File

@ -1,4 +1,4 @@
package com.thealgorithms.datastructures.stacks;
package com.thealgorithms.stacks;
// 1. You are given a string exp representing an expression.
// 2. Assume that the expression is balanced i.e. the opening and closing brackets match with each

View File

@ -1,4 +1,4 @@
package com.thealgorithms.datastructures.stacks;
package com.thealgorithms.stacks;
import java.util.Stack;

View File

@ -1,4 +1,4 @@
package com.thealgorithms.datastructures.stacks;
package com.thealgorithms.stacks;
import java.util.Stack;

View File

@ -1,4 +1,4 @@
package com.thealgorithms.datastructures.stacks;
package com.thealgorithms.stacks;
import java.util.Arrays;
import java.util.Stack;

View File

@ -1,4 +1,4 @@
package com.thealgorithms.datastructures.stacks;
package com.thealgorithms.stacks;
import java.util.Arrays;
import java.util.Stack;

View File

@ -1,4 +1,4 @@
package com.thealgorithms.datastructures.stacks;
package com.thealgorithms.stacks;
import java.util.Arrays;
import java.util.Stack;

View File

@ -1,4 +1,4 @@
package com.thealgorithms.datastructures.stacks;
package com.thealgorithms.stacks;
import java.util.Stack;

View File

@ -1,4 +1,4 @@
package com.thealgorithms.others;
package com.thealgorithms.stacks;
import java.util.Scanner;
import java.util.Stack;