STOCK PRICE FLUCTUATION | LEETCODE # 2034 | PYTHON HEAP SOLUTION

Share
Embed
  • Loading...
  • Published on:  Sunday, June 5, 2022
  • In this video we are solving a popular Google interview question: Stock Price Fluctuation (Leetcode # 2034). This question seems straightforward on the surface but when you realize that the prices given can be out of order or wrong, then you realize that we need to use some clever tricks to solve this question.

    We'll be solving this using heaps so stay tuned to figure out how!
  • Source: https://youtu.be/eDRrjGphRgI
Loading...

Comment