18.3k views
15 votes
Write a function that receives a StaticArray and returns an integer that describes whether the array is sorted. The method must return:

1 Answer

5 votes

Answer:

is_sorted(arr: StaticArray) -> int: Write a function that receives a StaticArray and returns an integer that describes whether the array is sorted. The method must return: 1

Step-by-step explanation:

User Dylan Lacey
by
9.4k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.