l / r [terminology]
Terminology¶
Usage¶
- Use for moving left and right indices or pointers.
- Common uses include:
- Two-pointer scans
- Sliding windows
- Binary search over sequence positions
- Recursive boundaries that move inward
- Prefer
leftandrightwhen several directional concepts coexist or the scope is large.