Write a program to check whether a given number is an ugly number.
Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. For example,……
Given a non-negative integer num, repeatedly add all its digits until the result has only one digit.
Given num = 38, the process is like: 3……
Given a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom.
Given two strings s and t, write a function to determine if t is an anagram of s.
s = "anagram", t = "nagaram", return true.
s = "rat", t = ……