Given an array `cost` where cost[i] is the cost of stepping on stair i, you may start at index 0 or 1 and from a stair climb one or two steps. Return the minimum total cost to reach the top (just past the last stair).