static void Main(string[] args) { Solution s = new Solution(); s.LengthOfLIS(new int[] { 10, 9, 2, 5, 3, 7, 101, 18 }); }