change string extraction for recursion, change base case to not return empty string
change string extraction for recursion, change base case to not return empty string

ThuyNT13/algorithm-practice,ThuyNT13/algorithm-practice