字符串匹配

正则表达式匹配‘.’ Matches any single character. ‘*’ Matches zero or more of the preceding element. The matching should cover the entire input string (not partial). The function prototype should be:     阅读全文
vhyz's avatar
vhyz 3月 31, 2018

LeetCode:括号匹配问题

简单括号的匹配Given a string containing just the characters ‘(‘, ‘)’, ‘{‘, ‘}’, ‘[‘ and ‘]’, determine if the input string is valid. The brackets must close in the correct order, “()” and “()[]{}” are all valid but...     阅读全文
vhyz's avatar
vhyz 3月 31, 2018

Python爬取小说网站下载小说

前言这个小程序是用来爬取小说网站的小说的,一般的盗版小说网站都是很好爬取的 因为这种网站基本没有反爬虫机制的,所以可以直接爬取 该小程序以该网站http://www.126shu.com/15/下载全职法师为例     阅读全文
vhyz's avatar
vhyz 3月 30, 2018