摘要:
leetcode algorithms 10 Regular Expression Matching Given an input string (s) and a pattern (p), implement regular expression matching with support for 阅读全文
摘要:
本文是leetcode上算法题自己写的算法的目录.所有算法都是以C++实现,在leetcode上执行通过.持续更新中... ... 阅读全文
摘要:
leetcode algorithms 8 String to Integer (atoi) Implement atoi which converts a string to an integer. The function first discards as many whitespace ch 阅读全文
摘要:
leetcode algorithms 6 ZigZag Conversion The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want 阅读全文
摘要:
leetcode algorithms 13 Roman to Integer Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. For example, two is written 阅读全文
摘要:
leetcode algorithms 5 Longest Palindromic Substring Given a string s, find the longest palindromic substring in s. You may assume that the maximum len 阅读全文