[HackerRank] Easy Staircase Scan the input (the height of the staircase) To count the space and hash As the stair goes down, minus the number of space As the stair goes down, plus the number of hash Mini-Max Sum Make the array to input the numbers Input the numbers to the array First let the max, min and sum to the z[0] Compare with next number, and if it is bigger than z[0] then change the max ..