Java:实现TinyURL服务的编码和解码算法 public class EncodeAndDecodeTinyURL { HashMap<String, String> map = new HashMap<String