@@ -0,0 +1,847 @@
+%22%22%22Leetcode 896. Monotonic Array%0AEasy%0A%0AURL: https://leetcode.com/problems/monotonic-array/%0A%0AAn array is monotonic if it is either monotone increasing or monotone decreasing.%0A%0A- An array A is monotone increasing if for all i %3C= j, A%5Bi%5D %3C= A%5Bj%5D.%0A- An array A is monotone decreasing if for all i %3C= j, A%5Bi%5D %3E= A%5Bj%5D.%0A%0AReturn true if and only if the given array A is monotonic.%0A%0AExample 1:%0AInput: %5B1,2,2,3%5D%0AOutput: true%0A%0AExample 2:%0AInput: %5B6,5,4,4%5D%0AOutput: true%0A%0AExample 3:%0AInput: %5B1,3,2%5D%0AOutput: false%0A%0AExample 4:%0AInput: %5B1,2,4,5%5D%0AOutput: true%0A%0AExample 5:%0AInput: %5B1,1,1%5D%0AOutput: true%0A%0ANote:%0A- 1 %3C= A.length %3C= 50000%0A- -100000 %3C= A%5Bi%5D %3C= 100000%0A%22%22%22%0A%0Aclass Solution(object):%0A    def isMonotonic(self, A):%0A        %22%22%22%0A        :type A: List%5Bint%5D%0A        :rtype: bool%0A        %22%22%22%0A        pass%0A%0A%0Adef main():%0A    pass%0A%0A%0Aif __name__ == '__main__':%0A    main()%0A

Add lc0896_monotonic_array.py