From bf613b6dbac2646bfa66b64ed241f80331d672b6 Mon Sep 17 00:00:00 2001 From: Tanmay-312 Date: Sun, 7 Apr 2024 09:37:22 +0530 Subject: [PATCH] Added codes for 7 April --- GeeksForGeeks/April/07-4-24/GFG.java | 49 +++++++++++++++++++++++++++ GeeksForGeeks/April/07-4-24/README.md | 2 ++ LeetCode/April/07-4-24/README.md | 2 ++ LeetCode/April/07-4-24/Solution.java | 32 +++++++++++++++++ 4 files changed, 85 insertions(+) create mode 100644 GeeksForGeeks/April/07-4-24/GFG.java create mode 100644 GeeksForGeeks/April/07-4-24/README.md create mode 100644 LeetCode/April/07-4-24/README.md create mode 100644 LeetCode/April/07-4-24/Solution.java diff --git a/GeeksForGeeks/April/07-4-24/GFG.java b/GeeksForGeeks/April/07-4-24/GFG.java new file mode 100644 index 0000000..75730ea --- /dev/null +++ b/GeeksForGeeks/April/07-4-24/GFG.java @@ -0,0 +1,49 @@ +//{ Driver Code Starts +//Initial Template for Java + +import java.io.*; +import java.util.*; +class GfG +{ + public static void main(String args[]) + { + Scanner sc = new Scanner(System.in); + int t = sc.nextInt(); + while(t-->0) + { + int n = sc.nextInt(); + int m = sc.nextInt(); + int a[] = new int[n]; + int b[] = new int[m]; + for(int i = 0;i