摘要: leetcode algorithms 10 Regular Expression Matching Given an input string (s) and a pattern (p), implement regular expression matching with support for 阅读全文
posted @ 2018-11-22 15:58 mathli 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 本文是leetcode上算法题自己写的算法的目录.所有算法都是以C++实现,在leetcode上执行通过.持续更新中... ... 阅读全文
posted @ 2018-11-22 10:53 mathli 阅读(186) 评论(0) 推荐(0) 编辑
摘要: leetcode algorithms 8 String to Integer (atoi) Implement atoi which converts a string to an integer. The function first discards as many whitespace ch 阅读全文
posted @ 2018-11-22 10:29 mathli 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2018-11-22 10:27 mathli 阅读(73) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2018-11-22 10:26 mathli 阅读(86) 评论(0) 推荐(0) 编辑
摘要: leetcode algorithms 5 Longest Palindromic Substring Given a string s, find the longest palindromic substring in s. You may assume that the maximum len 阅读全文
posted @ 2018-11-22 08:47 mathli 阅读(156) 评论(0) 推荐(0) 编辑