This function mainly returns LCS ( str , str ) with a condition that same characters at same index are not considered .
def findLongestRepeatingSubSeq ( str ) : NEW_LINE INDENT n = len ( str ) NEW_LINE DEDENT