Chinaunix首页 | 论坛 | 博客
  • 博客访问: 120606
  • 博文数量: 53
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 620
  • 用 户 组: 普通用户
  • 注册时间: 2014-08-24 16:22
文章存档

2014年(53)

我的朋友

发布时间:2014-09-22 18:21:15

Given two words (start and end), and a dictionary, find the length of shortest transformation sequence from start to end, such that:Only one letter can be changed at a timeEach intermediate word must.........【阅读全文】

阅读(866) | 评论(0) | 转发(0)

发布时间:2014-09-22 18:14:57

Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words.For example, givens = "leetcode",dict = ["leet", "code"]..........【阅读全文】

阅读(977) | 评论(0) | 转发(0)

发布时间:2014-09-22 18:06:45

Given a string s and a dictionary of words dict, add spaces in s to construct a sentence where each word is a valid dictionary word.Return all such possible sentences.For example, givens = "catsanddo.........【阅读全文】

阅读(856) | 评论(0) | 转发(0)

发布时间:2014-09-22 17:46:06

Given a 2D board containing 'X' and 'O', capture all regions surrounded by 'X'.A region is captured by flipping all 'O's into 'X's in that surrounded region.For example,X X X XX O O XX X O XX O X.........【阅读全文】

阅读(917) | 评论(0) | 转发(0)

发布时间:2014-09-20 16:31:27

Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character '.'.You may assume that there will be only one unique solution.A sudoku puzzle............【阅读全文】

阅读(847) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册