摘要: 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 in or 阅读全文
posted @ 2019-09-11 11:44 Schwifty 阅读(119) 评论(0) 推荐(0)
摘要: Given an unsorted array, find the maximum difference between the successive elements in its sorted form. Return 0 if the array contains less than 2 el 阅读全文
posted @ 2019-09-11 03:03 Schwifty 阅读(180) 评论(0) 推荐(0)