Pregunta de entrevista de Salsita Software

Technical screening coding task. You have an empty function definition isSorted(arr: number[]); Implement this function.

Respuesta de la entrevista

Anónimo

12 de jun de 2023

You're expected to ask some questions, like what this function should return, should it return true when array is sorted in ascending or descending order. Then you need to implement the function.