No of strings of length 0 = 1
No of strings of length 1 = 41 = 4
No of strings of length 2 = 42 = 16
No of strings of length 3 = 43 = 64
Hence total no of strings of length 3 at most = 1 + 4 + 16 + 64
= 85
64.3k questions
77.9k answers
244k comments
80.0k users