How can we a Generate Random Integer Array with N distinct integers where 1 <= N <= 100 that sum up to 0
example N = 4 array can be [ 15, -5, -10, 0] or[ 1, 0, -3, 2]
Aucun commentaire:
Enregistrer un commentaire