摘要:
Problem: 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 inser 阅读全文
摘要:
problem: Given an array nums containing n + 1 integers where each integer is between 1 and n (inclusive), prove that at least one duplicate number mus 阅读全文
摘要:
problem: Given an array of numbers nums, in which exactly two elements appear only once and all the other elements appear exactly twice. Find the two 阅读全文