摘要:
题目: Equations are given in the format A / B = k, where A and B are variables represented as strings, and k is a real number (floating point number). G 阅读全文
摘要:
题目: Given an encoded string, return it's decoded string. The encoding rule is: k[encoded_string], where the encoded_string inside the square brackets 阅读全文
摘要:
题目: Write a function that takes a string as input and reverse only the vowels of a string. Example 1:Given s = "hello", return "holle". Example 2:Give 阅读全文
摘要:
题目: Write a function that takes a string as input and returns the string reversed. Example:Given s = "hello", return "olleh". 阅读全文
摘要:
题目: The thief has found himself a new place for his thievery again. There is only one entrance to this area, called the "root." Besides the root, each 阅读全文
摘要:
题目: Given a nested list of integers, implement an iterator to flatten it. Each element is either an integer, or a list -- whose elements may also be i 阅读全文
摘要:
题目: Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calculate the number of 1's in their binary representation a 阅读全文
摘要:
题目: Given an integer (signed 32 bits), write a function to check whether it is a power of 4. Example:Given num = 16, return true. Given num = 5, retur 阅读全文
摘要:
题目:Given a positive integer n, break it into the sum of at least two positive integers and maximize the product of those integers. Return the maximum 阅读全文
摘要:
Ubuntu虚拟机下安装reviewboard参考许多资料以及实际操作后,写下如下较为完整的reviewboard安装过程。1.安装virtualbox2.新建64位Ubuntu系统,并安装Ubuntu系统,注意,不要勾选下载时更新选项,否则会安装失败。3.安装Python setuptools ... 阅读全文