2015年5月6日

摘要: 题目:Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest... 阅读全文
posted @ 2015-05-06 16:03 承续缘 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 题目:Given two binary strings, return their sum (also a binary string).For example,a ="11"b ="1"Return"100".代码:class Solution {public: string addBina... 阅读全文
posted @ 2015-05-06 10:05 承续缘 阅读(204) 评论(0) 推荐(0) 编辑

导航