skills/smithery.ai/algorithm-pattern-reference

algorithm-pattern-reference

Installation
SKILL.md

Algorithm Pattern Reference

Quick reference for common coding patterns and their templates.

Array & String Patterns

Two Pointers

When to use:

  • Sorted arrays
  • Finding pairs or triplets
  • Palindrome checks
  • Removing duplicates
  • Partitioning arrays

Template (opposite ends):

def two_pointers_opposite(arr):
    left, right = 0, len(arr) - 1
Installs
1
First Seen
Apr 2, 2026
algorithm-pattern-reference from smithery.ai