Frage im Vorstellungsgespräch bei Salsita Software

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

Antwort im Vorstellungsgespräch

Anonym

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