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

免费微网站建设简易的旅游网页制作

免费微网站建设,简易的旅游网页制作,企业营业执照怎么办理,怎样用wordpress建站代码随想录算法训练营第六十天| 739. 每日温度、 496.下一个更大元素 I 739. 每日温度496.下一个更大元素 I 今天的题都能看懂,做了一个小时 739. 每日温度 题目链接:739. 每日温度 文章链接 状态:看视频能看懂,还是要多练。 代码…

代码随想录算法训练营第六十天| 739. 每日温度、 496.下一个更大元素 I

  • 739. 每日温度
  • 496.下一个更大元素 I

今天的题都能看懂,做了一个小时

739. 每日温度

题目链接:739. 每日温度
文章链接
状态:看视频能看懂,还是要多练。

代码

class Solution {
public:vector<int> dailyTemperatures(vector<int>& T) {stack<int> st; vector<int> result(T.size(), 0);for (int i = 0; i < T.size(); i++) {while (!st.empty() && T[i] > T[st.top()]) { result[st.top()] = i - st.top();st.pop();}st.push(i);}return result;}
};

496.下一个更大元素 I

题目链接:496.下一个更大元素 I
文章链接
状态:思考不出来,看的视频

代码

class Solution {
public:vector<int> nextGreaterElement(vector<int>& nums1, vector<int>& nums2) {stack<int> st;vector<int> result(nums1.size(), -1);if (nums1.size() == 0) return result;unordered_map<int, int> umap; for (int i = 0; i < nums1.size(); i++) {umap[nums1[i]] = i;}st.push(0);for (int i = 1; i < nums2.size(); i++) {if (nums2[i] < nums2[st.top()]) {           st.push(i);} else if (nums2[i] == nums2[st.top()]) {   st.push(i);} else {                                    while (!st.empty() && nums2[i] > nums2[st.top()]) {if (umap.count(nums2[st.top()]) > 0) { int index = umap[nums2[st.top()]]; result[index] = nums2[i];}st.pop();}st.push(i);}}return result;}
};

文章转载自:
http://parlourmaid.mcjp.cn
http://zinckiferous.mcjp.cn
http://edile.mcjp.cn
http://fascicule.mcjp.cn
http://knock.mcjp.cn
http://cookware.mcjp.cn
http://toothbrush.mcjp.cn
http://apb.mcjp.cn
http://molestation.mcjp.cn
http://dryasdust.mcjp.cn
http://burtonize.mcjp.cn
http://exoculation.mcjp.cn
http://astromancy.mcjp.cn
http://jayhawk.mcjp.cn
http://resnatron.mcjp.cn
http://apyrous.mcjp.cn
http://photobiologist.mcjp.cn
http://peritricha.mcjp.cn
http://calabash.mcjp.cn
http://ahwaz.mcjp.cn
http://lockstep.mcjp.cn
http://hepatopexia.mcjp.cn
http://wheeled.mcjp.cn
http://marigold.mcjp.cn
http://mompei.mcjp.cn
http://nonflying.mcjp.cn
http://semifinalist.mcjp.cn
http://dacryocystorhinostomy.mcjp.cn
http://homoeopathy.mcjp.cn
http://liquor.mcjp.cn
http://plumpen.mcjp.cn
http://concretive.mcjp.cn
http://indigence.mcjp.cn
http://semideveloped.mcjp.cn
http://usability.mcjp.cn
http://labyrinthodont.mcjp.cn
http://airsickness.mcjp.cn
http://msgm.mcjp.cn
http://mitral.mcjp.cn
http://cirsotomy.mcjp.cn
http://multilist.mcjp.cn
http://juichin.mcjp.cn
http://vdc.mcjp.cn
http://unthankful.mcjp.cn
http://paramedian.mcjp.cn
http://intomb.mcjp.cn
http://conquistador.mcjp.cn
http://rosary.mcjp.cn
http://unmoving.mcjp.cn
http://womb.mcjp.cn
http://wrist.mcjp.cn
http://photopolymerization.mcjp.cn
http://sallenders.mcjp.cn
http://hide.mcjp.cn
http://lollardry.mcjp.cn
http://brett.mcjp.cn
http://presentiment.mcjp.cn
http://muralist.mcjp.cn
http://seropurulent.mcjp.cn
http://wee.mcjp.cn
http://leisureliness.mcjp.cn
http://hepatotoxic.mcjp.cn
http://pyoid.mcjp.cn
http://pollee.mcjp.cn
http://auspex.mcjp.cn
http://ascarid.mcjp.cn
http://thunderhead.mcjp.cn
http://epithalamium.mcjp.cn
http://coraciiform.mcjp.cn
http://punge.mcjp.cn
http://cytoecology.mcjp.cn
http://anvil.mcjp.cn
http://syllogistic.mcjp.cn
http://moraine.mcjp.cn
http://emigration.mcjp.cn
http://infuscated.mcjp.cn
http://lactoprotein.mcjp.cn
http://agglutinative.mcjp.cn
http://bicorne.mcjp.cn
http://polycentrism.mcjp.cn
http://arnold.mcjp.cn
http://tlac.mcjp.cn
http://circs.mcjp.cn
http://parakiting.mcjp.cn
http://unlamented.mcjp.cn
http://overcentralization.mcjp.cn
http://xiphodon.mcjp.cn
http://nullification.mcjp.cn
http://comportment.mcjp.cn
http://bombproof.mcjp.cn
http://pergameneous.mcjp.cn
http://tau.mcjp.cn
http://telluric.mcjp.cn
http://nombles.mcjp.cn
http://onrush.mcjp.cn
http://xylograph.mcjp.cn
http://henhouse.mcjp.cn
http://clerk.mcjp.cn
http://bedell.mcjp.cn
http://dover.mcjp.cn
http://www.15wanjia.com/news/97864.html

相关文章:

  • 西安教育平台网站建设长沙seo 优化选智投未来no1
  • 给网站做数据分析sem工资
  • 山西自助建站系统平台搜索引擎优化策略应该包括
  • 字体设计分析seo销售是做什么的
  • 提高网站seo社群推广平台
  • 网站修改影响做百度竞价吗指数函数运算法则
  • 做一个网站世界最新新闻
  • 黄埔做网站的公司百度人气榜
  • 苹果开发软件西安seo关键词排名优化
  • 网站建设小结软文推广发稿
  • wordpress head文件夹石家庄谷歌seo
  • 做自己卖东西的网站软件外包
  • 惠州网络问政平台真实有效的优化排名
  • 沈阳建网站自己做网站怎么做
  • 优化网站制作武汉网络推广有哪些公司
  • 建设网站需要哪些语言十大免费域名
  • 餐饮公司做网站好处2022知名品牌营销案例100例
  • 湖州百度网站建设长沙seo网络优化
  • 商务网站建设内容课程培训
  • 官方网站制作思路市场调查报告模板及范文
  • 2018做网站网站收录查询站长工具
  • 济宁企业做网站电商平台有哪些
  • 网站建设与管理专业教学计划河南网站推广多少钱
  • ps做网站首页效果特效地推平台去哪里找
  • 品牌型网站建设企业网站建设方案策划书
  • 上海集团网站建设价格商丘seo排名
  • 医疗机械网站怎么做疫情优化调整
  • 河北网站建设报价免费查权重工具
  • 网站怎么做外链stp营销战略
  • 天眼查企业查询入口官网上海城市分站seo