Pergunta de entrevista da empresa Salsita Software

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

Resposta da entrevista

Sigiloso

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.