Coding Challenge · BEGINNER
A port worker is stacking shipping containers, where each container has a unique weight. The worker wants to know the total weight of all containers in the stack. Given an array of positive integers representing the weights of the containers, calculate the total weight using recursion.