Skip to content
#

computer-science

Here are 1,837 public repositories matching this topic...

developer-roadmap
ifndefdeadmau5
ifndefdeadmau5 commented Sep 25, 2019

From react docs

Note:
We recommend using React Testing Library which is designed to enable and encourage writing tests that use your components as the end users do.
Alternatively, Airbnb has released a testing utility called Enzyme, which makes it easy to assert, manipulate, and traverse your React Components’ output.

javascript-algorithms
hanjiexi
hanjiexi commented Nov 5, 2018

A minor shortcoming of the structure of the OSSU CS crepository is that we are basically using one big page for the entire curriculum, and all secondary resources have to go in extras. This means that valuable secondary materials are kept separate from the primary resources that we recommend unless we add a footnote. It also discourages us from adding more narrative to the curriculum to explain wh

azl397985856
azl397985856 commented Nov 11, 2019

给定两个由小写字母构成的字符串 A 和 B ,只要我们可以通过交换 A 中的两个字母得到与 B 相等的结果,就返回 true ;否则返回 false 。

 

示例 1:

输入: A = "ab", B = "ba"
输出: true
示例 2:

输入: A = "ab", B = "ab"
输出: false
示例 3:

输入: A = "aa", B = "aa"
输出: true
示例 4:

输入: A = "aaaaaaabc", B = "aaaaaaacb"
输出: true
示例 5:

输入: A = "", B = "aa"
输出: false
 

提示:

0 <= A.length <= 20000
0 <= B.length <= 20000
A 和 B 仅由小写字母构成。

来源:力扣(L

Mind-Expanding-Books

Improve this page

Add a description, image, and links to the computer-science topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the computer-science topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.