How can the Google short URL cater for so many URLs in web with just four character, even though alphabets are case sensitive?
Say fn(some url)-> four letter for url, how can they suddenly use the same function which gives five letter for url after sometime? How will they know whether it is in four letter or five letter url from url?
26 letters * 2 (upper/lowercase) = 52 ^ 4 (to the power of 4) = 7311616 urls
if they add digits, it would be 62^4 = 14776336 urls.
so they have some time to go before adding a 5th letter/digit