# Local peaks Puzzle from the [rendezvous with cassidoo](https://buttondown.email/cassidoo/archive/we-cannot-direct-the-wind-but-we-can-adjust-the/) newsletter from November 8th, 2021. > Given an array of integers, return the index of each local peak in the array. A "peak" element is an element that is greater than its neighbors. Solution posted at https://gist.github.com/zoeisnowooze/f8f8829283fff597dd5607cb6f432127