As per question char that are not in order can appear in any order then why below is flagged

Input: "kqep"
"pekeq"
Output: "kqepe" // why this is wrong, when question says char that are not in order can appear in any place
Expected: "kqeep"

Comments (0)