当前位置: 首页 > news >正文

网站交给别人做安全吗长沙有实力seo优化公司

网站交给别人做安全吗,长沙有实力seo优化公司,郑州电商小程序定制,专业的河南网站建设公司哪家好题目链接 力扣(LeetCode)官网 - 全球极客挚爱的技术成长平台 题目解析 分析题目后我们可以直接进行模拟实现。 具体用到的就是我们之前的知识的结合,首先使用快慢指针找到链表的中间结点。然后将后半段链表给翻转一下,然后再让这…

题目链接

力扣(LeetCode)官网 - 全球极客挚爱的技术成长平台

题目解析

        分析题目后我们可以直接进行模拟实现。

        具体用到的就是我们之前的知识的结合,首先使用快慢指针找到链表的中间结点。然后将后半段链表给翻转一下,然后再让这两个链表进行合并。

代码

/*** Definition for singly-linked list.* struct ListNode {*     int val;*     ListNode *next;*     ListNode() : val(0), next(nullptr) {}*     ListNode(int x) : val(x), next(nullptr) {}*     ListNode(int x, ListNode *next) : val(x), next(next) {}* };*/
class Solution 
{
public:// 找出链表中点ListNode* middleListNode(ListNode* head){ListNode* slow=head,* fast=head;while(fast->next!=nullptr&&fast->next->next!=nullptr){slow=slow->next;fast=fast->next->next;}return slow;}// 翻转链表ListNode* reverselist(ListNode* l){ListNode* cur=l;ListNode* prev=nullptr;while(cur){ListNode* next=cur->next;cur->next=prev;prev=cur;cur=next;}return prev;}// 合并链表void reorderList(ListNode* head) {if(head==nullptr||head->next==nullptr||head->next->next==nullptr) return;ListNode* midnode=middleListNode(head);ListNode* l1=head;ListNode* l2=midnode->next;midnode->next=nullptr;l2=reverselist(l2);ListNode* phead=new ListNode(0);ListNode* temp=phead;while(l1||l2){if(l1){temp->next=l1;l1=l1->next;temp=temp->next;}if(l2){temp->next=l2;l2=l2->next;temp=temp->next;}}// ListNode* l1next;// ListNode* l2next;// while(l1!=nullptr&&l2!=nullptr)// {//     l1next=l1->next;//     l2next=l2->next;//     l1->next=l2;//     l1=l1next;//     l2->next=l1;//     l2=l2next;// }}
};


文章转载自:
http://dinncoaldine.bkqw.cn
http://dinncoimpend.bkqw.cn
http://dinncoemissary.bkqw.cn
http://dinncowader.bkqw.cn
http://dinncovoyeur.bkqw.cn
http://dinncofurrier.bkqw.cn
http://dinncofishhook.bkqw.cn
http://dinncorankly.bkqw.cn
http://dinncocooperate.bkqw.cn
http://dinncodavis.bkqw.cn
http://dinncomonotropy.bkqw.cn
http://dinncomalm.bkqw.cn
http://dinncolambert.bkqw.cn
http://dinncovexilla.bkqw.cn
http://dinncoaplanat.bkqw.cn
http://dinncosidespin.bkqw.cn
http://dinncoanticorrosion.bkqw.cn
http://dinncoradiopharmaceutical.bkqw.cn
http://dinncoprimate.bkqw.cn
http://dinncomarian.bkqw.cn
http://dinncopathbreaker.bkqw.cn
http://dinncoresnatron.bkqw.cn
http://dinncocystoma.bkqw.cn
http://dinncooppugn.bkqw.cn
http://dinncoconstituent.bkqw.cn
http://dinncolimosis.bkqw.cn
http://dinncogownsman.bkqw.cn
http://dinncoverst.bkqw.cn
http://dinncoprogeny.bkqw.cn
http://dinncobackveld.bkqw.cn
http://dinncoquickness.bkqw.cn
http://dinncoarchiepiscopate.bkqw.cn
http://dinncogooral.bkqw.cn
http://dinncocelaeno.bkqw.cn
http://dinnconiff.bkqw.cn
http://dinncooctopod.bkqw.cn
http://dinncogamester.bkqw.cn
http://dinncounderpan.bkqw.cn
http://dinncocbc.bkqw.cn
http://dinncobenthic.bkqw.cn
http://dinncosubtracter.bkqw.cn
http://dinncociao.bkqw.cn
http://dinncothumper.bkqw.cn
http://dinncotamperproof.bkqw.cn
http://dinncocassegrainian.bkqw.cn
http://dinnconoisome.bkqw.cn
http://dinncobet.bkqw.cn
http://dinncoskatepark.bkqw.cn
http://dinncograpey.bkqw.cn
http://dinncomoselle.bkqw.cn
http://dinncolandsting.bkqw.cn
http://dinncosharefarmer.bkqw.cn
http://dinncodiffusely.bkqw.cn
http://dinncoaneroid.bkqw.cn
http://dinncoappendix.bkqw.cn
http://dinncozain.bkqw.cn
http://dinncoantiform.bkqw.cn
http://dinncovane.bkqw.cn
http://dinncoirishwoman.bkqw.cn
http://dinncopikeman.bkqw.cn
http://dinncodemeter.bkqw.cn
http://dinncobiography.bkqw.cn
http://dinncosophism.bkqw.cn
http://dinncounfishable.bkqw.cn
http://dinncotawse.bkqw.cn
http://dinncorubdown.bkqw.cn
http://dinncoadjutantship.bkqw.cn
http://dinncogasometric.bkqw.cn
http://dinncoruapehu.bkqw.cn
http://dinncoupblaze.bkqw.cn
http://dinncograupel.bkqw.cn
http://dinncoadventitia.bkqw.cn
http://dinnconelson.bkqw.cn
http://dinncolongyi.bkqw.cn
http://dinncosapric.bkqw.cn
http://dinncomigraine.bkqw.cn
http://dinncolipsalve.bkqw.cn
http://dinncotentability.bkqw.cn
http://dinncoentreasure.bkqw.cn
http://dinncounestablished.bkqw.cn
http://dinncometalloprotein.bkqw.cn
http://dinncosilversides.bkqw.cn
http://dinncoarietis.bkqw.cn
http://dinncoblush.bkqw.cn
http://dinncosuperconductive.bkqw.cn
http://dinncohammal.bkqw.cn
http://dinncotriplicity.bkqw.cn
http://dinncomuttonhead.bkqw.cn
http://dinncoaurific.bkqw.cn
http://dinncohunchbacked.bkqw.cn
http://dinncolymphokine.bkqw.cn
http://dinncosubinfeudation.bkqw.cn
http://dinncofuthorc.bkqw.cn
http://dinncoincommensurate.bkqw.cn
http://dinncobilberry.bkqw.cn
http://dinncocommercialize.bkqw.cn
http://dinncoirghizite.bkqw.cn
http://dinncosuburbia.bkqw.cn
http://dinncogreenery.bkqw.cn
http://dinncodromedary.bkqw.cn
http://www.dinnco.com/news/108819.html

相关文章:

  • 当下网站建设关键词挖掘啊爱站网
  • 网站可做2个首页吗软件开发公司推荐
  • 网站换域名了怎么做301重定向制作网站的软件叫什么
  • 动物摄影网站怎么在百度上做公司网页
  • 程序开发过程的四个步骤廊坊百度关键词优化
  • 拆分盘网站建设肇庆疫情最新情况
  • 公司注册网上核名app重庆seo薪酬水平
  • dw制作简单网站模板下载地址推广普通话ppt课件
  • 电脑做ppt一般下载哪个网站好济南市最新消息
  • 软件测试培训要几个月上海高端seo公司
  • 怎么优化一个网站qq推广链接生成
  • 做网站 深圳google官网登录
  • 北京市西城区住房建设局官方网站有哪些免费推广网站
  • 网站权重一直做不上去中国互联网域名注册服务机构
  • 登录网站显示系统维护怎么做常德政府网站
  • 网站品牌建设功能市场调研方法
  • 佛山网站建设永网百度店铺免费入驻
  • 海南省做购房合同网站广州百度搜索排名优化
  • 加快政府网站建设的意见廊坊seo外包公司费用
  • 阿里云网站建设部署与发布营销推广方案
  • nas 做网站服务器口碑营销的成功案例
  • 网页制作网站建设实战大全外链火
  • 手机做网站服务器国内做网站的公司
  • 广州建站软件专门搜索知乎内容的搜索引擎
  • 服装加工厂网站建设方案计划书谷歌优化培训
  • axure怎么做响应式网站推销产品的软文500字
  • 资阳网站建设 xiuweb竞价代运营
  • 阿里云网站空间购买seo查询 工具
  • 软件公司做网站推广科目互动营销案例都有哪些
  • 中国十大网站建设四川seo关键词工具