Skip to content

Commit ca57205

Browse files
authored
Update #264 Ugly Number II.java
1 parent ac965f9 commit ca57205

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

#264 Ugly Number II.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
public class Solution {
22
public int nthUglyNumber(int n) {
33
//1, 2, 3.
4+
//l1, l2, l3 储存新乘因子分别为2, 3, 5的有序链表
5+
6+
47
int res = 0;
58

69
LinkedList<Integer> l1 = new LinkedList();

0 commit comments

Comments
 (0)