Amazon Interview Question

Write a program to find the longest increasing subsequence