Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
考虑磁盘上包含 100 条记录的文件。
对于这两种搜索,什么是
您可能想看看这个 SO 线程:
线性搜索和二分搜索有什么区别?
--
人们对您投反对票的原因是您只是复制并粘贴了作业问题。您没有以任何方式表明您实际上已经尝试过学习您的教科书,然后使用 Google 和 SO 进行搜索,然后尝试了这个问题,然后才发布了您的问题。