摘要: Given a list of sorted characters letterscontaining only lowercase letters, and given a target letter target, find the smallest element in the list th 阅读全文
posted @ 2018-10-17 21:40 杜王町上班族 阅读(162) 评论(0) 推荐(0) 编辑
摘要: Given a sorted (in ascending order) integer array nums of n elements and a target value, write a function to search target in nums. If targetexists, t 阅读全文
posted @ 2018-10-17 17:08 杜王町上班族 阅读(113) 评论(0) 推荐(0) 编辑
摘要: You have a total of n coins that you want to form in a staircase shape, where every k-th row must have exactly k coins. Given n, find the total number 阅读全文
posted @ 2018-10-17 00:00 杜王町上班族 阅读(139) 评论(0) 推荐(0) 编辑