mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-27 06:23:08 +08:00
Format code with prettier (#3375)
This commit is contained in:
@ -33,8 +33,7 @@ public class ReverseStackUsingRecursion {
|
||||
|
||||
// Function Used to reverse Stack Using Recursion
|
||||
private static void reverseUsingRecursion(Stack<Integer> stack) {
|
||||
if (stack.isEmpty()) // If stack is empty then return
|
||||
{
|
||||
if (stack.isEmpty()) { // If stack is empty then return
|
||||
return;
|
||||
}
|
||||
/* All items are stored in call stack until we reach the end*/
|
||||
|
Reference in New Issue
Block a user