From cfd0bd68d17a0b414cc5b87b3bdc4ecb21c0148f Mon Sep 17 00:00:00 2001 From: shellhub Date: Sat, 24 Oct 2020 16:09:37 +0800 Subject: [PATCH] remove invalid file --- ...on of array without using extra space.java | 75 ------------------- Others/{3 sum.java => ThreeSum.java} | 2 +- 2 files changed, 1 insertion(+), 76 deletions(-) delete mode 100644 Others/Rotation of array without using extra space.java rename Others/{3 sum.java => ThreeSum.java} (98%) diff --git a/Others/Rotation of array without using extra space.java b/Others/Rotation of array without using extra space.java deleted file mode 100644 index 76380be3..00000000 --- a/Others/Rotation of array without using extra space.java +++ /dev/null @@ -1,75 +0,0 @@ -package Others; - -import java.util.*; - -/** - * Rotation of array without using extra space - * - * - * @author Ujjawal Joshi - * @date 2020.05.18 - * - * Test Cases: - - Input: - 2 //Size of matrix - 1 2 - 3 4 - Output: - 3 1 - 4 2 - ------------------------------ - Input: - 3 //Size of matrix - 1 2 3 - 4 5 6 - 7 8 9 - Output: - 7 4 1 - 8 5 2 - 9 6 3 - * - */ - -class main{ - public static void main(String[] args) - { - Scanner sc=new Scanner(System.in); - int n=sc.nextInt(); - int a[][]=new int[n][n]; - - for(int i=0;i