Problem Solving using Python (Smallest Substring) Python code to find the smallest substring with maximum distinct characters Sample Input- abcda Sample output- 4 Output