摘要: Implement pow(x, n). // /**// * @param {number} x// * @param {number} n// * @return {number}// */// var myPow = function (x, n) {// return Math.pow(x, n);// };/** * @param {number} x * @param ... 阅读全文
posted @ 2017-12-29 22:55 xiejunzhao 阅读(240) 评论(0) 推荐(0)
摘要: In English, we have a concept called root, which can be followed by some other words to form another longer word - let's call this word successor. For example, the root an, followed by other, which c... 阅读全文
posted @ 2017-12-29 22:55 xiejunzhao 阅读(206) 评论(0) 推荐(0)
摘要: Given a circular array (the next element of the last element is the first element of the array), print the Next Greater Number for every element. The Next Greater Number of a number x is the first ... 阅读全文
posted @ 2017-12-29 22:55 xiejunzhao 阅读(209) 评论(0) 推荐(0)