相关疑难解决方法(0)

生成字谜的算法

什么是产生字谜的最佳策略.

An anagram is a type of word play, the result of rearranging the letters
of a word or phrase to produce a new  word or phrase, using all the original
letters exactly once; 
ex.
Run Code Online (Sandbox Code Playgroud)
  • 十一加二十二加一的字谜
  • 小数点我是一个圆点的字谜
  • 天文学家月球凝视者的字谜

起初它看起来很简单,只是混杂字母并生成所有可能的组合.但是,只生成字典中的单词的有效方法是什么呢?

我遇到了这个页面,在Ruby中解决了字谜.

但你有什么想法?

language-agnostic puzzle algorithm

51
推荐指数
5
解决办法
4万
查看次数

标签 统计

algorithm ×1

language-agnostic ×1

puzzle ×1