• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






sfzyk

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2018年7月8日

leetcode 843. Guess the Word
摘要: 我做过的第一个 interactive problem 给一个候选词列表,每次猜测可以猜里面的词,会返回猜中匹配的个数, 可以猜10次, 加上随机化策略之后几乎可以一定通过测试(尽管不是100%) 阅读全文
posted @ 2018-07-08 19:53 sfzyk 阅读(711) 评论(0) 推荐(0)
 
leetcode 839 Similar String Groups
摘要: 题目 Two strings X and Y are similar if we can swap two letters (in different positions) of X, so that it equals Y. We are given a list A of strings. Ev 阅读全文
posted @ 2018-07-08 18:48 sfzyk 阅读(373) 评论(0) 推荐(0)