2013年9月1日

word ladder

摘要: 1 class Solution { 2 public: 3 int ladderLength(string start, string end, unordered_set &dict) { 4 // Start typing your C/C++ solution below 5 // DO NOT write int main() function 6 if( dict.empty() ) return 0; 7 if( start == end ) return 0; 8 int len = ... 阅读全文

posted @ 2013-09-01 16:09 jumping_grass 阅读(169) 评论(0) 推荐(0)

导航