WaymoSoftware Engineer · Take-home ProjectCodemia practiceCount longest subsequence in interval list
Given a list of intervals, your task is to count the number of longest subsequences that can be formed where each interval in the subsequence does not overlap with the others. An interval is represented as a pair of integers [start, end], and you should return the count of such longest non-overlapping subsequences.
Medium
Coding & Algorithms