Meera is a home maker and wants to try her hand at stock market. She has set a few days aside for this challenge. And has made up her mind that she will learn to buy and sell the shares. She is given the past share prices of the company GOOGL , for S days by her friend and she is now to find the max profit that one can make. Initially, it is assumed that she has zero shares. We need to help Meera in making the maximum profit that is possible. Let us say the share prices are for D days ( array A ), where the jth element denotes the price of the jth day.
Answers
Answered by
1
hello buddy sivnckgzaufsmhjfsussfsusisamuzfasfsuis
Answered by
0
Answer:hello i dont no what is the answer
Explanation:
Similar questions