-->
当前位置:首页 > 题库 > 正文内容

FILL_IN_THE_BLANK:If the search is successful, the number of keyword comparisons is @ at most; When using the sentinel, if the search fails, the number of keyword comparisons is @ @ [] (1)

Luz3年前 (2021-05-10)题库220
In order to find the order table of n elements, if the search is successful, the most times to compare keywords is @ @ [n] (1); When using the sentinel, if the search fails, the number of keyword comparisons is @ @ [n + 1] (1).







answer:Empty 1: n||
The second empty: n + 1||

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。