Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It appears that Leetcode updated this question where they removed the custom definitions for this problem. Before the definition was: """ class Interval (Object): def __init__ (self, start, end): self.start = start self.end = end def minMeetingRooms(self, intervals): start = sorted([i.start for i in intervals]) end = sorted([i.end for i in intervals]) """ Without the custom definition the current solution needs to be updated to use indexes as follows: """ start = sorted([i[0] for i in intervals]) end = sorted([i[1] for i in intervals]) """
- Loading branch information