摘要:
原题俩接在这里:https://leetcode.com/problems/ugly-number-ii/ 题目: Write a program to find the n-th ugly number. Ugly numbers are positive numbers whose prime 阅读全文
摘要:
原题链接在这里:https://leetcode.com/problems/ugly-number/ 题目: Write a program to check whether a given number is an ugly number. Ugly numbers are positive nu 阅读全文
摘要:
原题链接在这里:https://leetcode.com/problems/powx-n/ 题目: Implement pow(x, n), which calculates x raised to the power n (xn). Example 1: Input: 2.00000, 10 Ou 阅读全文
摘要:
原题链接在这里:https://leetcode.com/problems/perfect-squares/ 题目: Given a positive integer n, find the least number of perfect square numbers (for example, 1 阅读全文
摘要:
原题链接在这里:https://leetcode.com/problems/sqrtx/ 题目: Implement int sqrt(int x). Compute and return the square root of x, where x is guaranteed to be a non 阅读全文