https://dev.to/simongreennet/weekly-challenge-the-maximum-difference-2bnm