摘要: Valid Perfect Square (E) 题目 Given a positive integer num, write a function which returns True if num is a perfect square else False. Follow up: Do not 阅读全文
posted @ 2020-07-05 03:56 墨云黑 阅读(129) 评论(0) 推荐(0) 编辑
摘要: Insert Interval (H) 题目 Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary). You may assume that th 阅读全文
posted @ 2020-07-05 03:33 墨云黑 阅读(179) 评论(0) 推荐(0) 编辑
摘要: Ugly Number II (M) 题目 Write a program to find the n-th ugly number. Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. Exampl 阅读全文
posted @ 2020-07-05 02:09 墨云黑 阅读(215) 评论(0) 推荐(0) 编辑