InterviewBit Problems   Best Time to Buy and Sell Stocks II : Unsolved

About the Best Time to Buy and Sell Stocks II : Unsolved category (1)
How is this a dynamic programming problem? (8)
Easy ans [C++] but stupid testcase made me lose 25 points (2)
DP vs Greedy testing? (1)
Easy Solution C++ O(n) time (1)
Simplest solution ever in O(n) time and O(1) space complexity (3)
len(A) == 0 is considered in test case even though not mentioned in constraints (1)
As it is easy question we can do it without DP but when I tried it using DP I am getting wrong answer please someone can tell error in solution (4)
Wrong Constraint (1)
Not worth 225 pts (1)
Tag should be array instead of DP (1)
My code gives error for 307 7551982 8124939 4023780 (2)
My solution is showing WA, but it is getting accepted on other OJs (2)
Title of your commentbest time to buy stock (1)
Think as Beginner! (1)
Problem in java test case ,help (1)
Incorrect constraints (1)
Wrong constraints (1)
You can buy and sell on the same day (3)
Easiest Solution Ever! (1)
Is 2 pointer solution possible? (1)
Java seems to be broken, TLE (1)
Question should be made more clear (1)
Help with runtime error (4)
I don't think this is a correct statement.... "If A[i] A[0] (4)
This submissions is broken or what? (1)
Getting correct answer for A : [ 5030607, 3485715, 2500526, 676233, 7968122, 7455 (3)