单选题

 假设给定链表为: ,若调用 searchValue(head, 5) ,函数返回值为( )。

A.

 返回 1

B.

 返回 0

C.

  死循环,无法返回

D.

 返回 -1

发表评论

请 登录 后再回复