File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/java/com/fishercoder/solutions Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -271,7 +271,7 @@ Your ideas/fixes/algorithms are more than welcome!
271
271
| 267| [ Palindrome Permutation II] ( https://leetcode.com/problems/palindrome-permutation-ii/ ) | [ Solution] ( ../master/src/main/java/com/fishercoder/solutions/PalindromePermutationII.java ) | O(n* n!)| O(n) | Medium|
272
272
| 266| [ Palindrome Permutation] ( https://leetcode.com/problems/palindrome-permutation/ ) | [ Solution] ( ../master/src/main/java/com/fishercoder/solutions/PalindromePermutation.java ) | O(n)| O(1) | Easy|
273
273
| 265| [ Paint House II] ( https://leetcode.com/problems/paint-house-ii/ ) | [ Solution] ( ../master/src/main/java/com/fishercoder/solutions/PaintHouseII.java ) | ?| ? | Hard|
274
- | 263| [ Ugly Number] ( https://leetcode.com/problems/ugly-number/ ) | [ Solution] ( ../master/src/main/java/com/fishercoder/solutions/UglyNumber .java ) | O(n)| O(1) | Easy|
274
+ | 263| [ Ugly Number] ( https://leetcode.com/problems/ugly-number/ ) | [ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_263 .java ) | O(n)| O(1) | Easy|
275
275
| 261| [ Graph Valid Tree] ( https://leetcode.com/problems/graph-valid-tree/ ) | [ Solution] ( ../master/src/main/java/com/fishercoder/solutions/GraphValidTree.java ) | O(V+E)| O(V+E) | Medium|
276
276
| 259| [ 3Sum Smaller] ( https://leetcode.com/problems/3sum-smaller/ ) | [ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_259.java ) | O(n^2)| O(1) | Medium|
277
277
| 258| [ Add Digits] ( https://leetcode.com/problems/add-digits/ ) | [ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_258.java ) | O(1)| O(1) | Easy|
Original file line number Diff line number Diff line change 6
6
7
7
Note that 1 is typically treated as an ugly number.*/
8
8
9
- public class UglyNumber {
9
+ public class _263 {
10
10
11
11
public boolean isUgly (int num ) {
12
12
if (num == 0 ) return false ;
You can’t perform that action at this time.
0 commit comments