Fan’s Blog
  • AIML Wizard
  • System Design
  • Algorithms Handbook
  • Coding
  • Index
AIML Wizard
System Design
Algorithms Handbook
Coding
Index

Tag

Two-pointers

Language
  • Oct 23, 2024

    Solving Problems with the Two-Pointers Technique

    The two-pointer technique is essential for optimizing operations on arrays, strings, and lists, often reducing time complexity from O(n²) to O(n). Common patterns include opposing pointers, sliding windows, fast–slow pointers, and dual-input pointers—each suited to different problem types such as finding pairs, subarrays, or merging sorted lists.

    #TwoPointers
  • Nov 5, 2025

    [Leetcode 44] 通配符匹配

    匹配字符串 (s) 和字符模式 (p), 支持 '?' 和 '*' 

    #字符串#动态规划#双指针#贪心
Fan Luo

Fan’s Blog

Fan Luo
Info
About
Contact
Links
GitHub
LinkedIn
More
Lighting
© 2025 Fan Luo. All rights reserved.