摘要: There is a building of n floors. If an egg drops from the k th floor or above, it will break. If it's dropped from any floor below, it will not break. 阅读全文
posted @ 2017-09-25 08:25 jasminemzy 阅读(356) 评论(0) 推荐(0) 编辑
摘要: There is a building of n floors. If an egg drops from the k th floor or above, it will break. If it's dropped from any floor below, it will not break. 阅读全文
posted @ 2017-09-25 08:12 jasminemzy 阅读(438) 评论(0) 推荐(0) 编辑
摘要: Given a target number and an integer array sorted in ascending order. Find the total number of occurrences of target in the array. Example Given [1, 3 阅读全文
posted @ 2017-09-25 04:58 jasminemzy 阅读(169) 评论(0) 推荐(0) 编辑