Write a function that returns the input with the sign of every element reversed.
The input may be a scalar, vector, or matrix.
Some built-in functions and signs are forbidden.

Solution Stats

21 Solutions

11 Solvers

Last Solution submitted on Sep 27, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...