摘要: 题目 x 的平方根 【英文版】https://leetcode.com/problems/sqrtx/ 【中文版】https://leetcode cn.com/problems/sqrtx/ 实现 函数。计算并返回 x 的平方根,其中 x 是非负整数。由于返回类型是整数,结果只保留整数的部分,小数 阅读全文
posted @ 2019-08-25 16:37 维夏十四 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 题目 搜索插入位置 【英文版】https://leetcode.com/problems/search insert position/ 【中文版】https://leetcode cn.com/problems/search insert position/ 给定一个排序数组和一个目标值,在数组中 阅读全文
posted @ 2019-08-25 15:39 维夏十四 阅读(254) 评论(0) 推荐(0) 编辑