Facebook Coding Interview Question - sortedSquaredArray