码迷,mamicode.com
首页 >  
搜索关键字:up    ( 7825个结果)
Post Advice of GM MDI diagnostic tool for sharing
Having read thousands of posts about GM MDI diagnostic tool, and finally get some useful tips .I need some things cleared up before I purchase an MDI ...
分类:其他好文   时间:2015-08-04 11:00:53    阅读次数:156
【LeetCode-面试算法经典-Java实现】【081-Search in Rotated Sorted Array II(搜索旋转的排序数组)】
【081-Search in Rotated Sorted Array II(搜索旋转的排序数组)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Follow up for “Search in Rotated Sorted Array”:   What if duplicates are allowed?   Would this affect the run-t...
分类:编程语言   时间:2015-08-04 08:16:20    阅读次数:154
8.2 leetcode 102,107. binary tree level order traversal I & II:(up-down & bottom-up)
1 public class Solution { 2 public List> levelOrder(TreeNode root) { 3 List> res = new ArrayList>(); 4 if(root == null) return ...
分类:其他好文   时间:2015-08-04 07:04:20    阅读次数:131
交换机的端口状态是UP,但是查询该端口下的MAC地址为空
(电脑已关机)电脑与交换机直连的端口状态还是 UP ,但是查询该端口下的 MAC地址为空。初步怀疑原因:Wake-on-LAN(电脑关机,网卡还在工作)Wake-On-LAN简称WOL,是一种电源管理功能;如果存在网络活动,则允许设备将操作系统从待机或休眠模式中唤醒。许多主板厂商支持IBM提出的网络...
分类:系统相关   时间:2015-08-03 22:15:42    阅读次数:367
DFS POJ 3087 Shuffle'm Up
题目传送门 1 /* 2 题意:两块扑克牌按照顺序叠起来后,把下半部分给第一块,上半部给第二块,一直持续下去,直到叠成指定的样子 3 DFS:直接模拟搜索,用map记录该字符串是否被搜过。读懂题目是关键。 4 */ 5 /*******************************...
分类:其他好文   时间:2015-08-03 22:12:49    阅读次数:117
CodeForces 486C Palindrome Transformation
题目:戳我 题意:给定长度为n的字符串,给定初始光标位置p,支持4种操作,left,right移动光标指向,up,down,改变当前光标指向的字符,输出最少的操作使得字符串为回文。 分析:只关注字符串n/2长度,up,down操作是固定不变的,也就是不能优化了,剩下就是left,down的操...
分类:其他好文   时间:2015-08-03 20:39:34    阅读次数:116
ZOJ2913Bus Pass(BFS+set)
Bus PassTime Limit: 5 Seconds Memory Limit: 32768 KBYou travel a lot by bus and the costs of all the seperate tickets are starting to add up.Theref...
分类:其他好文   时间:2015-08-03 20:36:58    阅读次数:127
uva 270 Lining Up(暴力)
这道题目我是暴力做出来的,复杂度是n^3,因为数组做多有700组,大约可以用这个复杂度,虽然严格来说500多才 是正常的,每次都是选择两个坐标然后确定一条直线,然后遍历一下其他点,用叉积形式判一下是否在一条直线上就ok 啦,网上说可以用极角排序来解,复杂度是n^2logn然而我看了看并没有想学的欲望。。。以后再学吧,,,还用到了 sscanf函数,看别人这样用的,就是在一个数组里匹配想要的类...
分类:其他好文   时间:2015-08-03 19:19:43    阅读次数:121
远程调试
1、adb shell netcfg guoqifa@guoqifa:~$ adb shell netcfg wlan0 UP 172.29.107.21/21 0x00001043 00:08:22:7e:a1:fe tunl0 DOWN 0.0.0...
分类:其他好文   时间:2015-08-03 19:14:03    阅读次数:151
Leetcode-107(Java) Binary Tree Level Order Traversal II
Given a binary tree, return thebottom-up level ordertraversal of its nodes' values. (ie, from left to right, level by level from leaf to root).For exa...
分类:编程语言   时间:2015-08-03 16:44:18    阅读次数:162
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!