Write a function that returns all the elements in an array that are strictly greater than their adjacent left and right neighbors.
mini_peaks([4, 5, 2, 1, 4, 9, 7, 2]) ➞ [5, 9]
mini_peaks([1, 2, 1, 1, 3, 2, 5, 4, 4]) ➞ [2, 3, 5]
mini_peaks([1, 2, 3, 4, 5, 6]) ➞ []
- Do not count boundary numbers, since they only have one left/right neighbor.
- If no such numbers exist, return an empty array.