Python3 Solution || Beats 99.30% || Prefix Approach
python\nclass Solution:\n    def prefixesDivBy5(self, nums: List[int]) -> List[bool]:\n        currBinary, result = 0, []\n        for bit in nums:\n           
```python\nclass Solution:\n    def prefixesDivBy5(self, nums: List[int]) -> List[bool]:\n        currBinary, result = 0, []\n        for bit in nums:\n            currBinary = (currBinary * 2 + bit) % 5 \n            result.append(currBinary == 0)\n        return result\n```
['Array', 'Prefix Sum', 'Python']