LeetCode 123 | Best Time to Buy and Sell Stock III | Solution Explained (Java + Whiteboard)

Поділитися
Вставка
  • Опубліковано 11 жов 2024
  • Running Time: O(N)
    Space Complexity: O(1)
    Always be pluggin:
    Slack Channel: join.slack.com...
    Github: github.com/xav...
    Facebook: / xavier.hollingsworth.3
    Instagram: / xavierelon
    LinkedIn: / xavier-hollingsworth-5...
    Twitter: / elon_xavier

КОМЕНТАРІ • 6

  • @abdokotbi6733
    @abdokotbi6733 3 роки тому +1

    The most outstanding solution I have seen out there for this problem. Bro I can't even imagine myself get to find this one even in a month of working!!!!

  • @HenggaoCai
    @HenggaoCai 3 роки тому +3

    I like your solution. Keep up the good work!

  • @RuichenZhao
    @RuichenZhao Місяць тому

    Four lines of code makes this hard question looks surprisingly easy

    • @xavierelon
      @xavierelon  Місяць тому

      The hard part is coming up with those 4 lines on the spot

  • @seanlaflam1502
    @seanlaflam1502 3 роки тому +1

    Hey man great video and solution.
    I actually have a question about your iPad/GoodNotes though lol. How did you get GoodNotes to display in real time on your laptop screen?
    I always try to do that when I'm screen sharing and want to draw something on my iPad, but I usually have to wait for the GoodNotes app on my Macbook to sync with the one on my iPad. Thanks!

    • @xavierelon
      @xavierelon  3 роки тому +1

      I just mirror my iPad through quick time player