深度优先搜索(DFS,Depth-First Search)是搜索手段之一。它从某个状态开始,不断的转移状态知道无法转移,然后退回到前一步的状态,继续转移到其他状态,如此不断重复,直到找到最终的解。 问题给定整数a1,a2...an,判断是否可以从中选出若干数,使它们的和恰好为k。 1<=n<=20 ...
分类:
其他好文 时间:
2016-11-09 21:55:37
阅读次数:
176
vcf-query: 通过 vcf-query 提取DP (reads depth). ...
分类:
其他好文 时间:
2016-11-08 08:04:19
阅读次数:
709
删除聚集索引 DROP INDEX CIX_Employee001_Id ON Employee001 索引情况 SELECT database_id, index_id, index_type_desc, index_depth, index_level, page_count FROM sys. ...
分类:
其他好文 时间:
2016-11-06 17:01:02
阅读次数:
204
This article is an in-depth tutorial for using Kafka to move data from PostgreSQL to Hadoop HDFS via JDBC connections. Read this eGuide to discover th ...
分类:
数据库 时间:
2016-11-06 16:48:20
阅读次数:
268
最近做的题记录下。 258. Add Digits Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. For example: Given num ...
分类:
其他好文 时间:
2016-11-06 13:54:12
阅读次数:
283
Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest l ...
分类:
其他好文 时间:
2016-11-05 17:28:13
阅读次数:
147
Problem: Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the f ...
分类:
其他好文 时间:
2016-11-03 09:30:34
阅读次数:
171
Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest l ...
分类:
其他好文 时间:
2016-10-31 00:43:28
阅读次数:
212
Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path from the root node down to the nearest l ...
分类:
编程语言 时间:
2016-10-29 18:35:35
阅读次数:
217
重启 1、shutdown -r now 立刻重启(root用户使用) 2、shutdown -r 10 过10分钟自动重启(root用户使用) 查看磁盘空间1:用du命令查看文件或文件夹的磁盘使用空间 $ du -h --max-depth=12:用df命令查看分区情况 $ df -h vi命令 ...
分类:
系统相关 时间:
2016-10-26 19:55:20
阅读次数:
170