Amazon Interview Question

debugging 7 different code segments in 20 mins