Company: OPTUM
Difficulty: medium
Project Launch Coding Test Question 1 Project Launch Maya runs a small bakery and has developed X distinct flavor extracts for her signature pastries. She wants to know how many unique blends she could create by mixing together any group of at most Y extracts at a time, while still counting each extract on its own as a valid single-flavor choice. Write a function that reports the overall count of flavor selections available to Maya, covering every group size from one extract up through Y extracts combined, and return this count as an integer. Note: Return answer modulo 10000. Input Specification: input1: An integer value X, giving the count of flavor extracts Maya has on hand. input2: An integer value Y, giving the largest group size she is willing to combine into one blend. int numberOfIdeas(int input1, int input2) Output Specification: Return an integer equal to the number of distinct flavor selections Maya can form, counting single extracts along with every larger grouping up to siz