Pergunta de entrevista da empresa Ikigai Labs

Given an input of nums in an array, determine if the array is strictly increasing or decreasing