Question d’entretien chez Salsita Software

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

Réponse à la question d'entretien

Utilisateur anonyme

12 juin 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.