add 'find longest increasing sequence'