摘要:
ubuntu repository: https://launchpad.net/~mmk2410/+archive/ubuntu/intellij-idea To use it just run the following commands: 1.sudo apt-add-repository p 阅读全文
摘要:
给定 n 和 k,求123..n组成的排列中的第 k 个排列。 注意事项 1 ≤ n ≤ 9 样例 对于 n = 3, 所有的排列如下: 123 132 213 231 312 321 如果 k = 4, 第4个排列为,231. 1 public class PaiLieK 2 { 3 public 阅读全文
摘要:
给定两个二进制字符串,返回他们的和(用二进制表示)。 样例 a = 11 b = 1 返回 100 1 public class Solution { 2 /** 3 * @param a a number 4 * @param b a number 5 * @return the result 6 阅读全文