摘要:
Regular Expression Matching (H) Given an input string (s) and a pattern (p), implement regular expression matching with support for '.' and '*'. '.' M 阅读全文
摘要:
Integer to Roman (M) 题目 Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. Symbol Value I 1 V 5 X 10 L 50 C 100 D 500 阅读全文
摘要:
Bulls and Cows (E) 题目 You are playing the following Bulls and Cows game with your friend: You write down a number and ask your friend to guess what th 阅读全文
摘要:
H-Index (M) 题目 Given an array of citations (each citation is a non-negative integer) of a researcher, write a function to compute the researcher's h-i 阅读全文
摘要:
Missing Number (E) 题目 Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array. Example 1: 阅读全文
摘要:
Palindrome Number (E) 题目 Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example 阅读全文
摘要:
String to Integer (atoi) (M) 题目 Implement atoi which converts a string to an integer. The function first discards as many whitespace characters as nec 阅读全文
摘要:
House Robber II (M) 题目 You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed. All hous 阅读全文
摘要:
House Robber (E) 题目 You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only co 阅读全文
摘要:
Repeated DNA Sequences (M) 题目 All DNA is composed of a series of nucleotides abbreviated as A, C, G, and T, for example: "ACGAATTCCG". When studying D 阅读全文