Implement decay simulation and trailing-zero counting | Upstart Interview Question