Driver Code
public static void Main ( String [ ] args ) { String str = " ABCABD " ; if ( check ( str ) ) Console . WriteLine ( " Repeated ▁ Subsequence ▁ Exists " ) ; else Console . WriteLine ( " Repeated ▁ Subsequence " + " ▁ Doesn ' t ▁ Exists " ) ; } }