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 ...
If you’ve ever searched for ways to practice coding or prep for tech interviews, you’ve probably seen LeetCode mentioned ...
The code run in python and vs code gives the right answer(case2,2.5) but in leetcode always wrong(2.0).