← Back to problems
Anduril • onsite evolution
Context Replace → Merge
AeroSpace • Anduril onsite • 3-part evolution
Part 1: find replace matches. Part 2: expand each hit by k context words. Part 3: merge overlapping char intervals. Log redaction / downlink scrubbing flavor.
Find+expandO(n)
MergeO(m log m)
Part1/3
① Find matches
② ±k context words
③ Merge intervals
matches[ ]
expanded[ ]
merged[ ]
Ready
Press Play. Walk the Anduril-style evolution: replace → context → merge.