最新 最热

Leetcode 题目解析之 Generate Parentheses

Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.

2022-02-13
1

Leetcode 题目解析之 Fraction to Recurring Decimal

Given two integers representing the numerator and denominator of a fraction, return the fraction in string format.

2022-01-15
1

Leetcode 题目解析之 Fraction to Recurring Decimal

Given two integers representing the numerator and denominator of a fraction, return the fraction in string format.

2022-01-10
1

LeetCode 0166 - Fraction to Recurring Decimal

Given two integers representing the numerator and denominator of a fraction, return the fraction in string format.

2021-08-11
1

LeetCode 0241 - Different Ways to Add Parentheses

Given a string of numbers and operators, return all possible results from computing all the different possible ways to group numbers and operators. The valid op...

2021-08-11
1

LeetCode 0022 - Generate Parentheses

Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.

2021-08-11
1

parentheses - 22. Generate Parentheses

Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.

2020-09-23
1

Python3使用speech库-常见问题原因及解决方法

speech是从python2系列就开始支持的,对应python3的版本没有适配好,存在一些兼容性的问题。

2020-09-23
1

弱校联盟10.3

n对括号最多需要1+2+..+n次交换,当它是)))..(((的形式时,)))(((需要6次,然后把中间两个交换一下,))()((就还需要5次,再交换一次靠近左边的)(,变成了)())((就需要4次,而3次,只要2对括号。...

2020-06-02
0

C++核心准则ES.41: 如果对操作符的优先级有疑问,使用括号明确运算次序

Avoid errors. Readability. Not everyone has the operator table memorized.

2020-05-20
1