摘要:
class Solution { public: bool isPopOrder(vector<int> pushV,vector<int> popV) { stack<int> st; int n=pushV.size(),m=popV.size(); if(n!=m) return false; 阅读全文
posted @ 2023-03-30 13:40
穿过雾的阴霾
阅读(15)
评论(0)
推荐(0)
摘要:
class Solution { public: ListNode* deleteDuplicates(ListNode* head) { ListNode* dummy=new ListNode(-1,nullptr); if(!head||!head->next) return head; Li 阅读全文
posted @ 2023-03-30 13:32
穿过雾的阴霾
阅读(14)
评论(0)
推荐(0)