Closed azl397985856 closed 3 years ago
-1 取反为0,其他取反均不为0,因此只有返回-1为0,即不存在这个元素。!!转为boolean
@Gentlemancj 正解
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
该题目由 qq 群友贡献。
PS: 如上代码截取自某开源库。