We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac965f9 commit ca57205Copy full SHA for ca57205
#264 Ugly Number II.java
@@ -1,6 +1,9 @@
1
public class Solution {
2
public int nthUglyNumber(int n) {
3
//1, 2, 3.
4
+ //l1, l2, l3 储存新乘因子分别为2, 3, 5的有序链表
5
+
6
7
int res = 0;
8
9
LinkedList<Integer> l1 = new LinkedList();
0 commit comments