From 5d0c0d7ee4a4b1241fbfe5b08d10063b7c1b3b60 Mon Sep 17 00:00:00 2001 From: Gulshan Kumar <74947700+gulshank99@users.noreply.github.com> Date: Sun, 7 Aug 2022 16:30:51 +0530 Subject: [PATCH] Delete CommonMatrixElements.java 4 1 2 1 2 2 2 2 1 2 1 2 2 2 1 1 1 YOUR CODE DOESNOT WORK FOR THISS --- CommonMatrixElements.java | 113 -------------------------------------- 1 file changed, 113 deletions(-) delete mode 100644 CommonMatrixElements.java diff --git a/CommonMatrixElements.java b/CommonMatrixElements.java deleted file mode 100644 index d3899bc..0000000 --- a/CommonMatrixElements.java +++ /dev/null @@ -1,113 +0,0 @@ -import java.util.*; -class CommonMatrixElements -{ - public static void main(String args[]) - { - // Input - int mat[][] = - { - {1, 2, 1, 4, 8}, - {8, 7, 8, 5, 1}, - {8, 7, 7, 3, 1}, - {8, 1, 2, 7, 9}, - }; - // Funtion call - commonElements(mat,mat.length,mat[0].length); - } - public static void commonElements(int Mat[][], int r, int c) - { - // Map - HashMap map = new HashMap<>(); - - for(int i=0;i