Skip to main content
Go to Latest
function encode
import { encode } from "https://deno.land/x/masx200_leetcode_test@8.0.0/encode-and-decode-tinyurl/index.ts";

Encodes a URL to a shortened URL.

Parameters

longUrl: string

Returns

string