摘要: A robot has to patrol around a rectangular area which is in a form of mxn grid (m rows and n columns). The rows are labeled from 1 to m. The colum... 阅读全文
posted @ 2014-12-11 18:26 Popco 阅读(141) 评论(0) 推荐(0) 编辑
摘要: Knight Moves A friend of you is doing research on the Traveling Knight Problem (TKP) where you are to find the shortest closed tour of ... 阅读全文
posted @ 2014-12-11 09:37 Popco 阅读(119) 评论(0) 推荐(0) 编辑
摘要: Tree Recovery Little Valentine liked playing with binary trees very much. Her favorite game was constructing randomly looking binary t... 阅读全文
posted @ 2014-12-11 08:23 Popco 阅读(141) 评论(0) 推荐(0) 编辑
摘要: S-Trees A Strange Tree (S-tree) over the variable set is a binary tree representing a Boolean function . Each path of the S-tree beg... 阅读全文
posted @ 2014-12-11 00:41 Popco 阅读(180) 评论(0) 推荐(0) 编辑