摘要:
https://leetcode.com/problems/integer-break/ Given a positive integer n, break it into the sum of at least two positive integers and maximize the prod 阅读全文
摘要:
https://leetcode.com/problems/nim-game/ You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one 阅读全文
摘要:
https://leetcode.com/problems/counting-bits/ Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calculate the numbe 阅读全文
摘要:
https://leetcode.com/problems/reverse-string/ Write a function that takes a string as input and returns the string reversed. Example:Given s = "hello" 阅读全文
摘要:
Linux Shellhttp://baike.baidu.com/link?url=2LxUhKzlh5xBUgQrS0JEc61xi761nvCS7SHJsa1U1SkVbw3CC869AoUCyKT0zxIM# Sample.sh# 判断参数个数和第2/3个参数,括号要留空格 1 if ( ... 阅读全文