Nice Video. Probably the below changes might be useful 1. In the stack implementation class top method could use an isEmpty check to avoid the List index out-of-bounds exception. 2. In the second Leetcode instead of doing a forloop to join the result string could use String.Join method.