July 算法习题 - 字符串 3 + Leetcode - Add Binary,Palindromic Substring

2015-04-26
阅读 4 分钟
3.2k
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring.

Leetcode12 Integer to Roman

2015-04-17
阅读 1 分钟
2.9k
Given an integer, convert it to a roman numeral. Input is guaranteed to be within the range from 1 to 3999.

LeetCode13 - Roman to Integer

2015-04-17
阅读 2 分钟
6.1k
Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999.

leetcode2 - Add Two Numbers

2015-04-15
阅读 4 分钟
2.4k
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a linked list.

leetcode 1 Two Sum

2015-03-08
阅读 4 分钟
2.1k
Given an array of integers, find two numbers such that they add up to a specific target number.