摘要:
lc 263 Ugly Number [lc 263 Ugly Number][1] Write a program to check whether a given number is an ugly number. Ugly numbers are positive numbers whose 阅读全文
摘要:
lc 258 Add Digits [lc 258 Add Digits][1] Given a non negative integer num, repeatedly add all its digits until the result has only one digit. For exam 阅读全文
摘要:
lc 292 Nim Game [292 Nim Game][1] You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of yo 阅读全文