Given an integer n
, return any array containing n
unique integers such that they add up to 0
.
This is a companion discussion topic for the original entry at https://algo.monster/problems/unique_integers_that_sum_up_to_0/
Given an integer n
, return any array containing n
unique integers such that they add up to 0
.