Question 61
HardWhat is the output of this code?
a = [-1, 0, 1, 2, -, -]
a.sort()
res = ()
i ((a) - ):
l, r = i + , (a) -
l < r:
s = a[i] + a[l] + a[r]
s == :
res.add((a[i], a[l], a[r])); l += ; r -=
s < :
l +=
:
r -=
((res))