C語(yǔ)言算法排序問(wèn)題 - 免費(fèi)下載
源碼資源
文件大小:14 K
?? 溫馨提示:本資源由用戶 糖兒水嘻嘻 上傳分享,僅供學(xué)習(xí)交流使用。如有侵權(quán),請(qǐng)聯(lián)系我們刪除。
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.)