Pergunta de entrevista da empresa Amazon

Make tower height consecutively increasing or decreasing with minimum moves. Move: adding one to any one tower at a time. Output: How many moves 1,4,3,2 - 4 moves Add 4 to 1st tower to make it consecutively decreasing 5,4,3,2