WillowAndrew

↗ HN profile [ 22.9 ms ] full profile
Karma
0
Created
()
Submissions
217,980,912
  1. Let's say you want to union two intervals. The code could look like this: ``` def union(self, other): # Capture special cases if self.is_empty(): return other elif other.is_empty(): return self # Standardize - after…