deno.land / x / masx200_leetcode_test@10.6.5 / zi-fu-chuan-de-pai-lie-lcof / index.ts
1234567import { permutations } from "https://deno.land/x/combinatorics@1.1.2/permutations.ts";
function permutation(s: string): string[] { return [...new Set([...permutations(s)].map((a) => a.join("")))];}export default permutation;
Version Info