InterviewBit Problems   Best Time to Buy and Sell Stock atmost : Unsolved


About the Best Time to Buy and Sell Stock atmost : Unsolved category (1)
Why is the giving Time limit, its O(n*k) Time complexity (2)
C++ solution throws bad alloc (5)
Tle due to max func (1)
What's wrong with this approach? (Own intuition) (1)
O(n2*k) or worst case O(n3) (As k can reach 10^9) but still TLE (1)
Wrong test case for this problem (1)
Can you find the error. Working absolutely fine for the stock 3 problem. here runtime error (1)
The problem is pretty tough! (3)
CPP one test case not accepting (5)
Can someone clarify where am I going wrong? (1)
Intuition for this problem (1)