18.2k 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
6.2k points