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

11 Solutions

6 Solvers

Last Solution submitted on Jul 24, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...