Find the length of the longest increasing subsequence using only one auxiliary recursion function
问题 I need to find the length of the longest monotonically increasing subsequence using only a single recursion function. For example given an arr={45 1 21 3 33 6 53 9 18} it need to give back 5. I have started to write the code but i'm stuck, and i don't know how to find out which of the calls gives the maximum length. The function longestSet is my auxiliary function i can use any variables i want but it have to be called from the function max_set . void question3(int question) { int *arr, size;