摘要:
https://leetcode.com/problems/valid-parentheses/description/ Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine 阅读全文
摘要:
https://leetcode.com/problems/longest-common-prefix/description/ Write a function to find the longest common prefix string amongst an array of strings 阅读全文
摘要:
https://leetcode.com/problems/roman-to-integer/description/ Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. For exa 阅读全文
摘要:
https://leetcode.com/problems/palindrome-number/description/ Determine whether an integer is a palindrome. An integer is a palindrome when it reads th 阅读全文
摘要:
https://leetcode.com/problems/reverse-integer/description/ Given a 32-bit signed integer, reverse digits of an integer. Example 1: Example 2: Example 阅读全文
摘要:
http://poj.org/problem?id=3660 N (1 ≤ N ≤ 100) cows, conveniently numbered 1..N, are participating in a programming contest. As we all know, some cows 阅读全文
摘要:
https://leetcode.com/problems/two-sum/description/ Given an array of integers, return indices of the two numbers such that they add up to a specific t 阅读全文
摘要:
http://poj.org/problem?id=3734 Description Panda has received an assignment of painting a line of blocks. Since Panda is such an intelligent boy, he s 阅读全文
摘要:
http://poj.org/problem?id=3268 Description One cow from each of N farms (1 ≤ N ≤ 1000) conveniently numbered 1..N is going to attend the big cow party 阅读全文
摘要:
http://poj.org/problem?id=2253 Description Freddy Frog is sitting on a stone in the middle of a lake. Suddenly he notices Fiona Frog who is sitting on 阅读全文