摘要: 地址:https://leetcode-cn.com/problems/number-of-steps-to-reduce-a-number-to-zero/ <?php /** 给你一个非负整数 num ,请你返回将它变成 0 所需要的步数。 如果当前数字是偶数,你需要把它除以 2 ;否则,减去 阅读全文
posted @ 2020-03-23 17:45 花花妹子。 阅读(411) 评论(0) 推荐(0) 编辑
摘要: 地址:https://leetcode-cn.com/problems/rotate-array/ <?php /** * Created by PhpStorm. * User: huahua * Date: 2020/3/18 * Time: 下午6:23 */ /** 给定一个数组,将数组中的 阅读全文
posted @ 2020-03-23 16:31 花花妹子。 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 地址:https://leetcode-cn.com/problems/second-highest-salary/solution/di-er-gao-de-xin-shui-by-leetcode/ ## 编写一个 SQL 查询,获取 Employee 表中第二高的薪水(Salary) 。 示例 阅读全文
posted @ 2020-03-23 15:31 花花妹子。 阅读(290) 评论(0) 推荐(0) 编辑