Update longestincreasing.c