摘要: Given a sorted array of distinct integers and a target value, return the index if the target is found. If not, return the index where it would be if i 阅读全文
posted @ 2021-06-17 12:31 Schwifty 阅读(42) 评论(0) 推荐(0)
摘要: Given a sorted integer array arr, two integers k and x, return the k closest integers to x in the array. The result should also be sorted in ascending 阅读全文
posted @ 2021-06-17 11:34 Schwifty 阅读(27) 评论(0) 推荐(0)