摘要:
#取巧 ``` class Solution { public: const int INF=1e9; bool hasCycle(ListNode *head) { bool res=false; auto p=head; while(p) { if(p->val==INF) { res=true 阅读全文
posted @ 2023-06-30 16:41
穿过雾的阴霾
阅读(10)
评论(0)
推荐(0)
摘要:
``` class Solution { public: int singleNumber(vector& nums) { int res=0; for(auto i:nums) res^=i; return res; } }; ``` 阅读全文
posted @ 2023-06-30 16:09
穿过雾的阴霾
阅读(12)
评论(0)
推荐(0)

浙公网安备 33010602011771号