Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c015e16

Browse files
author
Ram swaroop
committed
added one more example
1 parent 34bfb56 commit c015e16

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/me/ramswaroop/arrays/NextGreaterElement.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,8 @@ public static void main(String a[]) {
5656
System.out.println("=========");
5757
ar = new int[]{1, 5, 3, 4, 2, 0, 11};
5858
nextGreaterElements(ar);
59+
System.out.println("=========");
60+
ar = new int[]{3, 6, 8, 2 , 1, 5, 12, 4, 9};
61+
nextGreaterElements(ar);
5962
}
6063
}

0 commit comments

Comments
 (0)