摘要:
class Solution { public: int NumberOf1(int n) { int res=0; for (int i = 0; i < 32; i ++ ) res+=(n>>i)&1; return res; } }; 阅读全文
posted @ 2023-03-19 11:20
穿过雾的阴霾
阅读(12)
评论(0)
推荐(0)
摘要:
class Solution { public: ListNode* reverseKGroup(ListNode* head, int k) { ListNode* dummy=new ListNode(-1,head),*tail=dummy; while(tail) { ListNode* t 阅读全文
posted @ 2023-03-19 10:31
穿过雾的阴霾
阅读(21)
评论(0)
推荐(0)

浙公网安备 33010602011771号