looks like there is no testcase for empty list because of this my code was accepted which will throw" ZeroDivisionError: integer modulo by zero" exception in case of empty list in testcase we have to ...