Ex24: hasSubsequence
Ex25, 26. Tree size + max