Skip to content

Commit

Permalink
Update Readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wisdompeak authored Nov 23, 2019
1 parent dc95656 commit c5c7651
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Math/1131.Maximum-of-Absolute-Value-Expression/Readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### 1131.Maximum-of-Absolute-Value-Expression

在二维平面中,设距离最远的两点坐标为 (a1,b1) (a2,b2)(a1,b1) (a2,b2) 则其曼哈顿距离为: |a1−a2|+|b1−b2||a1−a2|+|b1−b2|
在二维平面中,设距离最远的两点坐标为 (a1,b1) (a2,b2) 则其曼哈顿距离为: |a1−a2|+|b1−b2|

去掉绝对值便有四种形式:
```
Expand All @@ -9,7 +9,7 @@
(a2−a1)+(b1−b2),
(a2−a1)+(b2−b1),
```
我们需要注意到,|a1−a2|+|b1−b2||a1−a2|+|b1−b2|其实就是这四个式子中的最大值,即
我们需要注意到,|a1−a2|+|b1−b2|其实就是这四个式子中的最大值,即
```
max {
(a1−a2)+(b1−b2),
Expand Down

0 comments on commit c5c7651

Please sign in to comment.