Pergunta de entrevista da empresa Zaber Technologies

- write a function to check if array is in sorted order