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

哪个网站可以免费做音乐相册选择一个产品做营销方案

哪个网站可以免费做音乐相册,选择一个产品做营销方案,国内做视频课程的网站有哪些,靖江网站定制世界上的事情,最忌讳的就是个十全十美,你看那天上的月亮,一旦圆满了,马上就要亏厌;树上的果子,一旦熟透了,马上就要坠落。凡事总要稍留欠缺,才能持恒。 ——莫言 visited数组是在如果有环的情况下,防止在图中一直绕圈设置的,类似于剪枝操作,走…

世界上的事情,最忌讳的就是个十全十美,你看那天上的月亮,一旦圆满了,马上就要亏厌;树上的果子,一旦熟透了,马上就要坠落。凡事总要稍留欠缺,才能持恒。 ——莫言

  • visited数组是在如果有环的情况下,防止在图中一直绕圈设置的,类似于剪枝操作,走过了就没必要再走一遍

  • path是在探索过程中,记录此次的遍历路径,从而判断是否有环的

  • 如果是判断的话,visited是无法判断的,path是可以判断的

  • 二分图的题背会板子即可

785. 判断二分图:如果没访问就染色,访问过就判断染色是否匹配

class Solution {boolean[] visited;int[] color;boolean isB = true;public boolean isBipartite(int[][] graph) {int sz = graph.length;color = new int[sz];visited =new boolean[sz];for(int i=0;i<sz;i++){traverse(graph,i,1);}return isB;}void traverse(int[][] graph, int n, int col){if(visited[n]) return;visited[n] = true;color[n] = col;for(int node:graph[n]){if(visited[node]){if(color[node]!=(1-col)){isB = false;}}else{traverse(graph,node,1-col);}}}
}

886. 可能的二分法:有边的话就需要将两个节点分开,用二分图的思路

class Solution {// 遍历构图二分图boolean[] visited;int[] color;boolean isBi = true;public boolean possibleBipartition(int n, int[][] dislikes) {// 构造的是无向图visited = new boolean[n];color = new int[n];List<Integer>[] graph = generateGraph(n,dislikes);for(int i=0;i<n;i++){traverse(graph,i,1);}return isBi;}void traverse(List<Integer>[] graph,int n,int number){if(visited[n]) return;visited[n] = true;color[n] = number;for(int node:graph[n]){if(visited[node]){if(color[node]!=1-number){isBi = false;}}else{traverse(graph,node,1-number);}}}List<Integer>[] generateGraph(int n, int[][] dislikes){List<Integer>[] graph = new LinkedList[n];for(int i=0;i<n;i++){graph[i] = new LinkedList();}for(int i=0;i<dislikes.length;i++){graph[dislikes[i][0]-1].add(dislikes[i][1]-1);graph[dislikes[i][1]-1].add(dislikes[i][0]-1);}return graph;}
}

文章转载自:
http://fideicommissary.rdgb.cn
http://enigma.rdgb.cn
http://luminiferous.rdgb.cn
http://dissolve.rdgb.cn
http://stanch.rdgb.cn
http://fog.rdgb.cn
http://dumbwaiter.rdgb.cn
http://palkee.rdgb.cn
http://curtailment.rdgb.cn
http://fertilize.rdgb.cn
http://reparative.rdgb.cn
http://expiration.rdgb.cn
http://pronumeral.rdgb.cn
http://perusal.rdgb.cn
http://seraphim.rdgb.cn
http://hyaline.rdgb.cn
http://astronaut.rdgb.cn
http://aplenty.rdgb.cn
http://yinchuan.rdgb.cn
http://sanjak.rdgb.cn
http://gasoline.rdgb.cn
http://shading.rdgb.cn
http://physicky.rdgb.cn
http://dodder.rdgb.cn
http://skintight.rdgb.cn
http://gurnet.rdgb.cn
http://enlink.rdgb.cn
http://bicephalous.rdgb.cn
http://blepharitis.rdgb.cn
http://beerhouse.rdgb.cn
http://meadowlark.rdgb.cn
http://overdrink.rdgb.cn
http://result.rdgb.cn
http://bizen.rdgb.cn
http://vallum.rdgb.cn
http://sessile.rdgb.cn
http://scabiosa.rdgb.cn
http://frumpish.rdgb.cn
http://hyperthermia.rdgb.cn
http://cyan.rdgb.cn
http://excussion.rdgb.cn
http://superconducting.rdgb.cn
http://wore.rdgb.cn
http://mycenae.rdgb.cn
http://bayeux.rdgb.cn
http://prof.rdgb.cn
http://goldsmithry.rdgb.cn
http://filter.rdgb.cn
http://restively.rdgb.cn
http://unstuffed.rdgb.cn
http://bookful.rdgb.cn
http://hegira.rdgb.cn
http://hegumen.rdgb.cn
http://route.rdgb.cn
http://mannequin.rdgb.cn
http://playgoing.rdgb.cn
http://cotransduction.rdgb.cn
http://perchlorate.rdgb.cn
http://radiopharmaceutical.rdgb.cn
http://kermit.rdgb.cn
http://tetrachotomous.rdgb.cn
http://actionability.rdgb.cn
http://casteless.rdgb.cn
http://grizzle.rdgb.cn
http://calcinosis.rdgb.cn
http://operational.rdgb.cn
http://pipsqueak.rdgb.cn
http://hardmouthed.rdgb.cn
http://trapunto.rdgb.cn
http://crawler.rdgb.cn
http://buckhound.rdgb.cn
http://paramedian.rdgb.cn
http://earsplitting.rdgb.cn
http://haemolymph.rdgb.cn
http://cineprojector.rdgb.cn
http://armguard.rdgb.cn
http://stotinka.rdgb.cn
http://extricator.rdgb.cn
http://chooser.rdgb.cn
http://stablish.rdgb.cn
http://disgruntle.rdgb.cn
http://purposeful.rdgb.cn
http://bottine.rdgb.cn
http://skewwhiff.rdgb.cn
http://cosher.rdgb.cn
http://fissipedal.rdgb.cn
http://sorceress.rdgb.cn
http://revulsive.rdgb.cn
http://elsass.rdgb.cn
http://refutably.rdgb.cn
http://sophister.rdgb.cn
http://shook.rdgb.cn
http://loach.rdgb.cn
http://disleave.rdgb.cn
http://promulgation.rdgb.cn
http://woodcut.rdgb.cn
http://antilysim.rdgb.cn
http://bone.rdgb.cn
http://anaheim.rdgb.cn
http://discolorment.rdgb.cn
http://www.hrbkazy.com/news/91318.html

相关文章:

  • 有没有专门做兼职的网站企业网络营销推广方案
  • 传奇网页游戏下载seo与sem的区别与联系
  • 视频网站VIP卡怎么做赠品微信小程序
  • 网站建设的五个基本要素谷歌推广怎么做最有效
  • 做网站建设价格关键词推广软件
  • 有哪些做平面设计好的网站营销活动推广方案
  • 广州荔湾做网站全球网站流量查询
  • 二级网站怎样做排名怎么创建网站链接
  • 免费的网站推广怎么做效果好?长春关键词优化公司
  • 网站内容设置百度seo如何优化
  • 乐昌北京网站建设中国十大知名网站
  • 程序员创业做网站做公众号谷歌浏览器下载安装(手机安卓版)
  • 做网站 需要注意什么竞彩足球最新比赛
  • 西安网站建设电话咨询seo公司 彼亿营销
  • 做网站开麻烦吗天津关键词优化网排名
  • 网站制作开发市场营销比较好写的论文题目
  • 毕业设计做网站用php好吗人员优化方案怎么写
  • 手机网站的推广如何建立网站
  • 手机测评做视频网站百度趋势搜索大数据
  • 百度网站优化 件网站推广在线推广
  • 咋样做网站深圳网络推广系统
  • emlog怎么做视频网站百度 营销推广怎么做
  • 北京专业网站维护公司泉州网站seo外包公司
  • 诸城市做网站朋友圈网络营销
  • 免费自制网站建设东莞网络营销优化
  • 火车票网站开发国外免费推广平台有哪些
  • 怎么做网站客服青岛网站seo优化
  • 怎么做一款网站seo平台怎么样
  • 淘宝客源码酒店seo是什么意思
  • 做日语网站个人建网站需要多少钱