Cody

Problem 1943. Signed Magnitude

For a given input vector, return the value that is furthest from zero.

For example, if

x = [1 2 -12]

return -12.

Solution Stats

67.03% Correct | 32.97% Incorrect
Last Solution submitted on Jul 08, 2020

Problem Comments

Solution Comments

Problem Recent Solvers124

Suggested Problems

Problem Tags