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

2014年(53)

我的朋友

发布时间:2014-09-24 22:51:04

Implement regular expression matching with support for '.' and '*'.'.' Matches any single character.'*' Matches zero or more of the preceding element.The matching should cover the entire input string (not partial).The function prototype should be.........【阅读全文】

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

发布时间:2014-09-23 18:05:57

Given a string s, partition s such that every substring of the partition is a palindrome.Return the minimum cuts needed for a palindrome partitioning of s.For example, given s = "aab",Return 1&n.........【阅读全文】

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

发布时间:2014-09-22 18:48:33

Given two words (start and end), and a dictionary, find all shortest transformation sequence(s) from start to end, such that:Only one letter can be changed at a timeEach intermediate word must exist in the dictionaryFor example,Given:start =&n.........【阅读全文】

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

发布时间: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)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册