0
点赞
收藏
分享

微信扫一扫

leetcode-35-Search Insert Position

玉字璧 2023-08-23 阅读 10


Instead of return -1 and index, we just need to output left since the left pointer always point to the first index which not less than target. However, I do not know the mechanism behind it. Magic.


举报

相关推荐

0 条评论