Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8926e7e

Browse files
committed
Fix lint errors
1 parent 0b18ef6 commit 8926e7e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,7 +1235,7 @@ You are given an array `prices` where `prices[i]` is the price of a given stock
12351235

12361236
Example 1:
12371237

1238-
```
1238+
```shell
12391239
Input: prices = [7,1,5,3,6,4]
12401240
Output: 5
12411241
Explanation: Buy on day 2 (price = 1) and sell on day 5 (price = 6), profit = 6-1 = 5.
@@ -1244,7 +1244,7 @@ Note that buying on day 2 and selling on day 1 is not allowed because you must b
12441244

12451245
Example 2:
12461246

1247-
```
1247+
```shell
12481248
Input: prices = [7,6,4,3,1]
12491249
Output: 0
12501250
Explanation: In this case, no transactions are done and the max profit = 0.
@@ -1446,7 +1446,7 @@ const removeDuplicates = nums => {
14461446
Given an array `candies` where `candies[i]` represents the number of candies that the `i`th kid has, and an integer `extraCandies`, write a function that for each kid checks if he/she would have the greatest number of candies in the group if they were given `extraCandies`. Note that multiple kids can have the greatest number of candies.
14471447
For example,
14481448

1449-
```
1449+
```shell
14501450
Input: candies = [2,3,5,1,3], extraCandies = 3
14511451
Output: [true,true,true,false,true]
14521452

@@ -1517,7 +1517,7 @@ const rot13 = str => {
15171517
15181518
You are given an `m x n` integer grid `accounts`, where `accounts[i][j]` is the amount of money the `i`​​​​​​​​​​​th​​​​ customer has in the `j`​​​​​​​​​​​th​​​​ bank. Return the wealth that the richest customer has. A customer's wealth is the amount of money they have in all their bank accounts. The richest customer is the customer that has the maximum wealth. For example:
15191519
1520-
```
1520+
```shell
15211521
Input: accounts = [[1,5],[7,3],[3,5]]
15221522
Output: 10
15231523
Explanation:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /