Another solution could be to append the user id (which should be unique) to the input URL. However, if the user has not signed in, we would have to ask the user to choose a uniqueness key. Even after this, if we have a conflict, we have to keep generating a key until we get a unique one.
In this chapter, I saw the above info but I don’t quite understand it. if the user has not signed in, should we just not provide shorten URL service? For the uniqueness key, what case would cause the conflict?
Type your question above this line.