Why is the best profit is 13

[1,4,6,2,8,3,10,14]
3
For this case, i thought the best profit is 12.
Buy at 1st and sell 5th(11).
But the system told me the best is 13.
Would someone please help me to figure out!?
Thanks

Comments (1)