MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / main

Method main

Java/Leetcode/Leetcode645.java:7–13  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

5
6public class Leetcode645 {
7 public static void main(String[] args) {
8 int[] arr={1,2,2,4};
9 int[] ans=disappear(arr);
10 System.out.println("Repeated:"+ans[0]);
11 System.out.println("Missing:"+ans[1]);
12
13 }
14
15 static int[] disappear(int[] arr) {
16 int i = 0;

Callers

nothing calls this directly

Calls 1

disappearMethod · 0.95

Tested by

no test coverage detected