Unequal Elements A test needs to be prepared on the HackerRank platform with questions from different sets of skills to assess candidates. Given an array, skills, of size n, where skills[i] denotes the skill type of the ith question, select skills for the questions on the test. The skills should be grouped together as much as possible. The goal is to find the maximum length of a subsequence of skills such that there are no more than k unequal adjacent elements in the subsequence. Formally, find a subsequence of skills, call it x, of length m such that there are at most k indices where x/i]!= x/i+1] for all o≤i < m. Note: A subsequence of an array is obtained by deleting several elements of the array (possibly zero or all) without changing the order of the remaining elements. For example, [1, 3, 4], [3] are subsequences of [1, 2, 3, 4] whereas [1, 5], [4, 3] are not. Example skills = [1, 1, 2, 3, 2, 11, k = 2. The longest possible subsequence is x = [1, 1, 2, 2, 1]. There are only two indices where x[1]!= [2] and x[3]!= x[4]. Return its length, 5. Function Description Complete the function findMaxLength in the editor below. findMaxLength has the following parameters): int skills[n]: the different skill types int k: the maximum count of unequal adjacent elements Returns int: the maximum value of m Constraints * 15n52 * 103 * 1 sk≤n * * 1 ≤ skills[i] ≤ 2 * 103 Sample Input 0 STDIN FUNCTION 4 n = 4 skills = [1, 1, 2, 3] 11231 k = 1 * Input Format for Custom Testing * Sample Case 0 Sample Output 0 3 Explanation [1, 1, 2] and [1, 1, 3] are the longest possible subsequences with a maximum of 1 adjacent unequal element. End 3 Maximum Order Volume During the day, a supermarket will receive calls from customers who want to place orders. The supermarket manager knows in advance the number of calls that will be attempted, the start time, duration, and order volume for each call. Only one call can be in progress at any one time, and if a call is not answered, the caller will not call back. The manager must choose which calls to service in order to maximize order volume. Determine the maximum order volume. Example start = [10, 5, 15, 18, 30] duration = [30, 12, 20, 35, 35] volume = [50, 51, 20, 25, 10] The above data as a table. phoneCalls (vector