leetcode-potd

264. Ugly Number II

leetcode-potd

An ugly number is a positive integer whose prime factors are limited to 2, 3, and 5. Given an integer n, return the nth ugly number. Example 1: Input:

40. Combination Sum II

leetcode-potd

Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candidates where the candidate numbers

Scroll to Top