摘要:
Ugly NumberⅡWrite a program to find then-th ugly number.Ugly numbers are positive numbers whose prime factors only include2, 3, 5. For example,1, 2, 3... 阅读全文
摘要:
Implement Queue using Stacksclass MyQueue { Stack s1 = new Stack(); Stack s2 = new Stack(); // Push element x to the back of queue. ... 阅读全文