public class Solution {

```
public List<Integer> findDisappearedNumbers(int[] nums) {
int[] temp = new int[nums.length];
List<Integer> result = new ArrayList<>();
for(int t : nums){
temp[t-1] = 1;
}
for(int i = 0; i < temp.length; i++){
if(temp[i] == 0) result.add(i+1);
}
return result;
}
```

}