摘要:
Reverse String 题目要求: Write a function that takes a string as input and returns the string reversed. Example: Given s = "hello", return "olleh". 题目大意: 阅读全文
摘要:
Nim Game 题目描述: You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to rem 阅读全文
摘要:
Add Digits 题目描述: Given a non-negative integer num, repeatedly add all its digits until the result has only one digit.For example:Given num = 38, the p 阅读全文