https://leetcode.com/problems/determine-if-two-events-have-conflict


Success 


```python
from datetime import datetime

class Solution:
    def haveConflict(self, event1: List[str], event2: List[str]) -> bool:
        a1 = datetime.strptime(event1[0], '%H:%M')
        a2 = datetime.strptime(event1[1], '%H:%M')
        b1 = datetime.strptime(event2[0], '%H:%M')
        b2 = datetime.strptime(event2[1], '%H:%M')
        if b1 >= a1 and b1 <= a2: 
            # has conflicts
            return not False
        elif b2 >= a2 and b2 <= a1: 
            # has conflicts
            return not False
        elif a1 >= b1 and a1 <= b2: 
            # has conflicts
            return not False
        elif a2 >= b1 and a2 <= b2: 
            # has conflicts
            return not False
        return not True
```

