1304. Find N Unique Integers Sum up to Zero
https://leetcode.com/problems/find-n-unique-integers-sum-up-to-zero
Description
Given an integer n
, return any array containing n
unique integers such that they add up to 0
.
Example 1:
Example 2:
Example 3:
Constraints:
1 <= n <= 1000
ac
Last updated