diff --git a/C++/Longest Increasing Subsequence .cpp b/C++/Longest Increasing Subsequence .cpp new file mode 100644 index 0000000..7536c7a --- /dev/null +++ b/C++/Longest Increasing Subsequence .cpp @@ -0,0 +1,12 @@ +class Solution { +public: + int lengthOfLIS(vector& nums) { + vectorres; + for(int i=0;i