โ† Mentor Graphics questions
CodingReported in a candidate post, Jan 2019

Modified String Subsequence Check

Filed under Mentor Graphics

The question

Given two strings, determine if the second string is a subsequence of the first, allowing up to a maximum of 2 elements to be out of order that can be corrected with a swap.

No write-up yet. Related questions below have one.

Related Mentor Graphics questions

Collected from public candidate posts and coding forums. Updated Nov 2026.