[Leetcode] two sum decoratorsA decorator is just a callable that takes a function and returns a new one, often a wrapper, letting us extend behavior while keeping functions clean and following the Open–Closed Principle.2025-11-13Coding
[Leetcode] two sum type annotationSeveral examples are presented to clarify the definition and application of type annotations in Python.2025-11-10Coding
[Leetcode] two sumGiven an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.2025-11-07Coding
[Kelvin Wedge] Self Adjoint Operators The math is sound. The method is not. We consider the radial differential operator for a fixed angular mode \(n\), \[ L_n=\frac{d^2}{d r^2}+\frac{1}{r} \frac{d}{d r}-\frac{n^2}{r^2}, \quad r \in(0, \infty) \]2025-10-21Mathematics