Suppose you are given the following dataset containing closing prices of a stock across a number of days:
| day | price | |
|---|---|---|
| 0 | 1 | 119 |
| 1 | 2 | 146 |
| 2 | 3 | 147 |
| 3 | 4 | 119 |
| 4 | 5 | 102 |
New to InterviewQs? Sign up now.
By proceeding, you agree to our Terms and Conditions and Privacy Policy.
Loading editor...