NOTE: If the Sub-sequence length is greater than or equal to 2 return 1, else return 0.
1 <= |A| <= 100
The first and only argument of input contains a string A.
Return an integer, 0 or 1:
=> 0 : Length of Repeating subsequence is less than 2 => 1 : Length of Repeating subsequence is greater than or equal to 2
A = "abab"
A = "abba"
"ab" is repeated.
There is no repeating subsequence.
NOTE: You only need to implement the given function. Do not read input, instead use the arguments to the function. Do not print the output, instead return values as specified. Still have a question? Checkout Sample Codes for more details.