摘要: 题目: Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted i 阅读全文
posted @ 2017-03-31 17:54 程序媛家 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 题目: Given an array of integers sorted in ascending order, find the starting and ending position of a given target value. Your algorithm's runtime comp 阅读全文
posted @ 2017-03-31 17:19 程序媛家 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 题目: Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). Y 阅读全文
posted @ 2017-03-31 16:28 程序媛家 阅读(187) 评论(0) 推荐(1) 编辑
摘要: 题目: Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). W 阅读全文
posted @ 2017-03-31 15:44 程序媛家 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 题目: You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version of your product fails the quali 阅读全文
posted @ 2017-03-30 17:15 程序媛家 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 题目: A peak element is an element that is greater than its neighbors. Given an input array where num[i] ≠ num[i+1], find a peak element and return its 阅读全文
posted @ 2017-03-30 17:05 程序媛家 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 题目: Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). F 阅读全文
posted @ 2017-03-30 16:18 程序媛家 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 题目: Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). F 阅读全文
posted @ 2017-03-30 16:05 程序媛家 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 任务目的 任务描述 任务注意事项 参考资料 正则表达式之入门总结 1、Input Text value Property value属性设置或返回文本框value属性的值。 value属性包括默认值或用户输入内容或script设置的内容。 语法: 返回value属性: textObject.valu 阅读全文
posted @ 2017-03-24 10:50 程序媛家 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 任务目的 任务描述 任务注意事项 参考资料 MDN Adjacent sibling selectors: 了解CSS中的兄弟相邻选择器 使用CSS实现折叠面板总结 1、CSS3 :target Selector 当浏览器地址里的hash(地址里#号后面的部分)和:target伪选择器指定的ID匹配 阅读全文
posted @ 2017-03-23 15:20 程序媛家 阅读(6693) 评论(0) 推荐(0) 编辑