Smooth Stack Coding Challenge