Problem

Return true if length-3 arr is non-decreasing.

Examples

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