Skip to content

Commit

Permalink
Update MissingNumberInArray.java
Browse files Browse the repository at this point in the history
Add Java code for finding a missing number in an array
  • Loading branch information
sulaemanahmed authored Nov 1, 2023
1 parent 1c7fdcf commit 259fe58
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Add Code Here/Java/MissingNumberInArray.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
import java.io.*;
//import java.util.*;

public class MissingNumberInArray {
public static void main(String[] args) throws IOException {
BufferedReader br =
new BufferedReader(new InputStreamReader(System.in));

BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int t = Integer.parseInt(br.readLine().trim());
while (t-- > 0) {
int n = Integer.parseInt(br.readLine().trim());
Expand Down

0 comments on commit 259fe58

Please sign in to comment.