Andy's Journal

  • Home
  • About me
  • Title Page
Andy's Journal

Month: October 2018

931 Minimum Falling Path Sum

andy October 30, 2018 0

Link 931.Minimum Falling Path Sum Thought DFS When first seeing this question, DFS prompt into my mind directly. Take Any node from first level as start, and search down stream. Until reach node in last level. For any path, it will have a value. Find the minimum value and it will be the answer However, for […]

Read More → 931 Minimum Falling Path Sum
leetcode contest, leetcode

929. Unique Email Addresses

andy October 29, 2018 0

Link: Unique Email Addresses Thought Brutal Force SolutionThis question is pretty simple (and it actually is an esay one). A naive approache is, split the name and domain. For the name, remove every thing after first ‘+’, and then replace all ‘.’ as empty. For the domain, just keep it is. Then, use a set […]

Read More → 929. Unique Email Addresses
leetcode contest, leetcode

Recent Posts

  • Interview preparation
  • 记一次大规模裁员事件
  • 写在2022的最后一天

Archives

  • August 2024 (1)
  • January 2023 (1)
  • December 2022 (1)
  • July 2022 (1)
  • February 2022 (1)
  • January 2022 (1)
  • October 2021 (1)
  • December 2020 (1)
  • November 2020 (1)
  • October 2020 (1)
  • March 2020 (1)
  • February 2020 (2)
  • November 2019 (2)
  • October 2019 (1)
  • September 2019 (3)
  • August 2019 (3)
  • July 2019 (1)
  • June 2019 (3)
  • May 2019 (9)
  • December 2018 (3)
  • November 2018 (10)
  • October 2018 (2)

Categories

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
© 2018 optimum. All rights reserved | Optimum by NetTantra