Amazon interview question

Min Cost Climbin Stairs(Available on neetcode 150)