1.Describe a Θ(n lg n)-time algorithm that, given a set S of n integers and another integer x, determines whether or not there exist two elements in S whose sum is exactly x. (Implement exercise 2.3-7.)
关注B站账号,站内消息自动回复给您下载验证码。
前往 B站:半导体科技观察