• Work
  • Blog
  • About
  • Cooking
Menu

Sarah Meng Li

  • Work
  • Blog
  • About
  • Cooking

Arrays & Strings

 

Longest Substring without Repeating Characters

  • Mind Map

  • Solution 1 & Solution2

  • Code


Container with Most Water

  • Mind Map

  • Solution 1 & Solution 2


Next Permutation

  • Mind Map

  • The Non-bruteforece Solution


Read N Characters Given Read4 II - Call multiple times

  • Solution


Next Closest Time

  • Algorithm

  • Solution


  • Solution1 (Quadratic time complexity)

  • Solution2 (Linear time complexity)

Maximize Distance to Closest Person

Powered by Squarespace