https://ideas.creativecasinoties.com/post/squares-of-a-sorted-array-fwtflu