Difference between Subarray, Subsequence and Subset
In this post, we will discuss the difference between a subarray/substring, a subsequence and a subset.
Coding made easy
In this post, we will discuss the difference between a subarray/substring, a subsequence and a subset.
In Activity Selection Problem, we’re given a set of activities and the starting & finishing time of each activity, we need to find the maximum number of activities that can be performed by a single person assuming that a person can only work on a single activity at a time.