Leetcode 896: Monotonic Array
An array is called monotonic if the index of each element increases from the first to the last or decreases from the first to the last.
This lesson will teach you how to find the duplicate element using a hashing algorithm.