diff --git a/45. Jump Game II.cpp b/45. Jump Game II.cpp new file mode 100644 index 0000000..8ae7acf --- /dev/null +++ b/45. Jump Game II.cpp @@ -0,0 +1,19 @@ +class Solution { +public: + int jump(vector& nums) + { + int n=nums.size(); + long long int dp[n]; + for(int i=0;i