Ask whether string A appears, in order, inside string B. Two pointers scan from the left and both only move forward: i over A, j over B. Nothing is modified — this is a read-only scan.
Is A a subsequence of B?—
▼ i pointer into A▲ j pointer into B comparing matched letter