Stylumia interview question

1) Armstrong Number Code 2) Longest Increasing Subsequence Length.