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.
如何在 javascript 中创建一个单词的所有可能字谜的列表?如果这个问题已经被问过,请指导我回答?
谢谢你
给你:javascript中的Anagrams finder
我不确定这是否与您的问题完全相同,但答案中似乎有一些好的解决方案。
编辑:实际上,这就是您需要的:是否有任何预先构建的方法可以在 JavaScript 中查找给定字符串的所有排列?