Skip to content

Commit bdf176e

Browse files
refactor 1304
1 parent 1e4b7e1 commit bdf176e

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/main/java/com/fishercoder/solutions/_1304.java

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,5 @@
11
package com.fishercoder.solutions;
22

3-
/**
4-
* 1304. Find N Unique Integers Sum up to Zero
5-
*
6-
* Given an integer n, return any array containing n unique integers such that they add up to 0.
7-
*
8-
* Example 1:
9-
* Input: n = 5
10-
* Output: [-7,-1,1,3,4]
11-
* Explanation: These arrays also are accepted [-5,-1,1,2,3] , [-3,-1,2,-2,4].
12-
*
13-
* Example 2:
14-
* Input: n = 3
15-
* Output: [-1,0,1]
16-
*
17-
* Example 3:
18-
* Input: n = 1
19-
* Output: [0]
20-
* */
213
public class _1304 {
224
public static class Solution1 {
235
public int[] sumZero(int n) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy