Problem

Return true if each element > previous.

Examples

  • isStrictlySorted([1, 2, 3]) -> true
  • isStrictlySorted([1, 2, 2]) -> false
Compile and test (Ctrl+Enter)