|
1 | 1 | # `Today Update`
|
2 | 2 | (Notes: "♥" Welcome!)
|
3 | 3 | ## Math
|
4 | | -### 263 Ugly Number |
5 | | -* [Github:#263 Ugly Number](/Math/Math.Lib/UglyNumberSln.cs) |
6 | | -* [CSDN:#263 Ugly Number](http://blog.csdn.net/daigualu/article/details/72765438) |
7 | | - ```C# |
8 | | - public bool IsUgly(int num) |
9 | | - { |
10 | | - if (num <= 0) return false; |
11 | | - if (num == 1) return true; |
12 | | - while (num >1) |
13 | | - { |
14 | | - if(num%2==0) |
15 | | - num /= 2; |
16 | | - else if (num%3 == 0) |
17 | | - num /= 3; |
18 | | - else if (num%5 == 0) |
19 | | - num /= 5; |
20 | | - else return false; |
21 | | - } |
22 | | - return true; |
23 | | - } |
24 | | - ``` |
25 | | --- |
| 4 | +### 326 Power of Three |
| 5 | +* [Github:#326 Power of Three](/Math/Math.Lib/PowerOfThreeSln.cs) |
| 6 | +* [CSDN:#326 Power of Three](http://blog.csdn.net/daigualu/article/details/72780560) |
26 | 7 | ---
|
27 | 8 |
|
28 | 9 |
|
@@ -219,7 +200,9 @@ Tags are following:
|
219 | 200 | * https://en.wikipedia.org/wiki/Vedic_square
|
220 | 201 | * In Indian mathematics, a Vedic square is a variation on a typical 9 ×ばつ 9 multiplication table where the entry in each cell is the digital root of the product of the column and row headings i.e. the remainder when the product of the row and column headings is divided by 9 (with remainder 0 represented by 9). Numerous geometric patterns and symmetries can be observed in a Vedic square some of which can be found in traditional Islamic art.
|
221 | 202 | 
|
222 | | - |
| 203 | +### 263 Ugly Number |
| 204 | +* [Github:#263 Ugly Number](/Math/Math.Lib/UglyNumberSln.cs) |
| 205 | +* [CSDN:#263 Ugly Number](http://blog.csdn.net/daigualu/article/details/72765438) |
223 | 206 |
|
224 | 207 | ## Two Pointers
|
225 | 208 | * [#345 Reverse Vowels of a String](http://blog.csdn.net/daigualu/article/details/69257693)
|
|
0 commit comments