Problem

Return true if n is odd or n < 0.

Examples

  • oddOrNegative(3) -> true
  • oddOrNegative(2) -> false
Compile and test (Ctrl+Enter)