摘要: Note: end should apply end of left to right order using i index start is right to left using length - i - 1 index. Set end to be -2 since result is en 阅读全文
posted @ 2017-09-20 15:30 keepshuatishuati 阅读(128) 评论(0) 推荐(0) 编辑
摘要: Almost same as Longest Common SubString 阅读全文
posted @ 2017-09-20 14:50 keepshuatishuati 阅读(80) 评论(0) 推荐(0) 编辑
摘要: Since it required exactly one modification, it is better to use following solution. Other ise, the Trie solution can work. (At least one modify). 阅读全文
posted @ 2017-09-20 14:37 keepshuatishuati 阅读(135) 评论(0) 推荐(0) 编辑