原题链接在这里:https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string-ii/ 题目: Given a string s, a k duplicate removal consists of choosing k ...
分类:
其他好文 时间:
2020-02-18 09:50:48
阅读次数:
75
原题链接在这里:https://leetcode.com/problems/all-paths-from-source-to-target/ 题目: Given a directed, acyclic graph of N nodes. Find all possible paths from no ...
分类:
其他好文 时间:
2020-02-18 09:41:25
阅读次数:
63
Given a collection of intervals, merge all overlapping intervals. Example 1: Input: [[1,3],[2,6],[8,10],[15,18]] Output: [[1,6],[8,10],[15,18]] Explan ...
分类:
其他好文 时间:
2020-02-17 22:31:56
阅读次数:
92
import os,timepath = r"D:\重命名图片"# files = os.listdir(path)list_url = ["Mainpage","New Products All products(Most Popular)","New Products All products( ...
分类:
其他好文 时间:
2020-02-17 20:16:57
阅读次数:
114
一、英文换行Div p{ word-break:break-all; width:150px;}/*只对英文起作用,以字母作为换行依据*/Div p{ word-wrap:break-word; width:150px;}/*--只对英文起作用,以单词作为换行依据*/注意:有的时候英文单词是一个整体 ...
分类:
其他好文 时间:
2020-02-17 20:03:50
阅读次数:
85
Summation of primes The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below two million. 素数的和 所有小于10的素数的和是2 + 3 + 5 ...
分类:
其他好文 时间:
2020-02-17 20:02:02
阅读次数:
77
1.什么是并查集 并查集是用来管理元素分组的数据结构。可以高效进行如下操作: 查询元素a、b十是否在同一组 合并a、b所在的组 并查集可以进行合并操作但不能进行分割操作。 2.并查集的结构 并查集采用多叉树形结构实现,每个元素对应一个结点,每个组对应一棵树。重点关注结整体形成一个树形结构,而不是树的 ...
分类:
编程语言 时间:
2020-02-17 19:25:41
阅读次数:
106
Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s. Example: I ...
分类:
其他好文 时间:
2020-02-17 12:18:03
阅读次数:
62
1.题目描述 英文版: Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which ...
分类:
其他好文 时间:
2020-02-17 00:47:28
阅读次数:
51
Simple step for EMC NW & NMM (1) disable WINDOWS UAC (reboot)(2) SET windows domain user AS sysadmin(3) modify hosts(4) install software (NW , NMM) (r ...
分类:
数据库 时间:
2020-02-16 20:54:09
阅读次数:
86