← 返回 amazon 的题目列表Check if DNA Sequence Forms Palindromic Subsequences Pair
类型:online_judge
amazon
Create a program that identifies palindromic sequences in DNA sequences. A DNA string is special if it can be split into two identical subsequences that are each other's reverse by removing zero or more characters. Given a string dna_sequence, determine if it is a special sequence. Return YES or NO.
Example
Input
abaac