Dynamic programmig ( LIS )