Beginner friendly, beats 100% speed
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```python3 []\nclass Solution:\n    def numberOfRounds(self, loginTime: str, logoutTime: str) -> int:\n        curr=0\n        starth=int(loginTime[:2])\n        endh=int(logoutTime[:2])\n        full_hours=endh-starth-1\n        startm=int(loginTime[3:])\n        endm=int(logoutTime[3:])\n        if full_hours<-1 or full_hours==-1 and endm<startm: full_hours+=24\n        res=full_hours*4\n        res+=(60-startm)//15+endm//15\n        return res if res>0 else 0\n        \n\n```
['Python3']