MCPcopy Create free account
hub / github.com/Tiwarishashwat/InterviewCodes / main

Method main

CommonMatrixElements.java:4–16  ·  view source on GitHub ↗
(String args[])

Source from the content-addressed store, hash-verified

2class CommonMatrixElements
3{
4 public static void main(String args[])
5 {
6 // Input
7 int mat[][] =
8 {
9 {1, 2, 1, 4, 8},
10 {8, 7, 8, 5, 1},
11 {8, 7, 7, 3, 1},
12 {8, 1, 2, 7, 9},
13 };
14 // Funtion call
15 commonElements(mat,mat.length,mat[0].length);
16 }
17 public static void commonElements(int Mat[][], int r, int c)
18 {
19 // Map

Callers

nothing calls this directly

Calls 1

commonElementsMethod · 0.95

Tested by

no test coverage detected