Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear first.
So if z is
z = [-4 6 3+4i 1+i 0]
then the output zSorted would be
zSorted = [6 3+4i -4 1+i 0]
1205 Solvers
Number of 1s in the Binary Representation of a Number
290 Solvers
297 Solvers
219 Solvers
310 Solvers
Opportunities for recent engineering grads.
Apply Today