Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
bit.lyやgoo.glなどのURL短縮サイトはどのように機能しますか?誰かが彼らが使用する技術やアルゴリズムを知っていますか?
URLを保存し、URLの一意のキーを生成して、DBに保存します。このキーを使用して、URLに移動します。
これには複雑なアルゴリズムが必要ですか?:-)
複雑にしたい場合。
などなど