Input String
$ str = " AABBBCBB " ; $ len = smallesteSubstr_maxDistictChar ( $ str ) ; echo " ▁ The ▁ length ▁ of ▁ the ▁ smallest ▁ substring " . " ▁ consisting ▁ of ▁ maximum ▁ distinct ▁ characters ▁ : ▁ " . $ len ; ? >