Smaller of Two Alternating Shift Totals in a Call Log

Company: Infosys_NITKurukshetra_19oct

Difficulty: easy