boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - [合集] 这个问题怎么做好?(word sqaure)
相关主题
问个面试题目
问两个算法题, 没什么头绪
编程题一道
想知道家在linux下都有什么c++ socket library
关于针对接口的unit test
现在来看backbone和angular哪个更有前途呢?
goodbug,给你一个NASDAQ的官方数据
用如下的framework开发手机游戏可行么
HTML+AJAX+JSON的话,前端用什么框架或者库比较好?
简单的web app用什么语言?
相关话题的讨论汇总
话题: words话题: word话题: sqaure话题: 5x5话题: dictionary
进入Programming版参与讨论
1 (共1页)
b***y
发帖数: 2799
1
☆─────────────────────────────────────☆
roadtrip (dream on) 于 (Fri Sep 16 11:30:36 2005) 提到:
A 'word square' is an NxN arrangement of letters which forms words
horizontally and vertically, such as these 5x5 examples:
heart
ember
abuse
resin
trend
Read a dictionary containing 5-letter words then print all
valid 5x5 word squares which can be made from those words.
A square is valid if it contains only words from the dictionary.
how to do it good? trie? graph?
any opinion? thx
☆───────────────
1 (共1页)
进入Programming版参与讨论
相关主题
简单的web app用什么语言?
发现angular没有任何优势啊
modular pattern已经在前端很普及了
Angular 秒杀 Backbone?
angular 的ui.router 配合REST 很强大,感觉
狗狗放弃Chrome跟Dart VM整合
Learning Ember.js
问个算法的问题
请教一个快速图像配准的问题
Workflow design请教
相关话题的讨论汇总
话题: words话题: word话题: sqaure话题: 5x5话题: dictionary