[LeetCode] Ugly Number

263. Ugly Number

An ugly number is a positive integer whose prime factors are limited to 2, 3, and 5.

Given an integer n, return true if n is an ugly number.

Read more
[CodeChef] Distinct ElementsRead more
[CodeChef] Crossing BlocksRead more
[CodeChef] Distribute idlis EquallyRead more
[CodeChef] Breaking Into AtomsRead more
[CodeChef] BinodRead more
[Codeforces] Round #553 (Div. 2) B. Dima and a Bad XORRead more
[Codeforces] Round #553 (Div. 2) D. Stas and the Queue at the BuffetRead more
[Codeforces] Round #560 (Div. 3) D. Almost All DivisorsRead more
[Codeforces] Round #560 (Div. 3) E. Two Arrays and Sum of FunctionsRead more