Skip to content

Instantly share code, notes, and snippets.

@zedbeit
zedbeit / Question.txt
Created July 19, 2022 09:59
Monotonic Array
Write a function that takes in an array of integers and returns a boolean representing whether the array is monotonic.
An array is said to be monotonic if its elements, left to right , are entirely non-increasing or entirely non-decreasing.
Non-increasing elements aren't neccessarily exclusively decreasing; they simply don't increase. Similarly, non-decreasing elements aren't exclusively increasing; they simply don't decrease.
Note that empty arrays and arrays of one element are monotonic.
Input:
@zedbeit
zedbeit / GSoC22_Final_Report.md
Created September 9, 2022 14:02
GSoC 2022 Final Report

Google Summer of Code 2022 Final Report

GSoC logo

Organization: JBoss

Mentors:

  • Max Rydahl Andersen
  • Lukas Krejci