码迷,mamicode.com
首页 >  
搜索关键字:up    ( 7825个结果)
141. Linked List Cycle
Given a linked list, determine if it has a cycle in it. Follow up:Can you solve it without using extra space? Solution1: 思路:有cycle:1.循环退不出来2.有个节点被指两次。 ...
分类:其他好文   时间:2016-09-12 06:15:35    阅读次数:141
112. Path Sum
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. F ...
分类:其他好文   时间:2016-09-12 00:44:02    阅读次数:102
80. Remove Duplicates from Sorted Array II
Follow up for "Remove Duplicates":What if duplicates are allowed at most twice? For example,Given sorted array nums = [1,1,1,2,2,3], Your function sho ...
分类:其他好文   时间:2016-09-11 17:07:11    阅读次数:121
基于verilog的SDRAM初始化
目录 1、SDRAM初始化的内容(结合英文数据手册) 2、SDRAM初始化的时序 3、代码的编写 4、modesim的仿真 SDRAM初始化的内容 SDRAMs must be powered up and initialized in a predefined manner. The 64M SD ...
分类:其他好文   时间:2016-09-10 23:58:47    阅读次数:754
Latex 编译错误: ! pdfTeX error (ext4): \pdfendlink ended up in different nesting level than \pd fstartlink. 解决方法
最近写 AAAI 的文章,下载了其模板,但是蛋疼的是,总是提示错误,加上参考文献总是出错: 如下: ! pdfTeX error (ext4): \pdfendlink ended up in different nesting level than \pd fstartlink. \AtBegSh ...
分类:其他好文   时间:2016-09-10 22:11:47    阅读次数:1026
vagrant初始登录失败的一般性解决方案
如果是下载的box文件,vagrant box add和init之后进行up,可能出现长时间无法通过vagrant ssh登陆的问题 这时有两种可能 一是虚拟机确实启动失败,由于vagrant默认不显示虚机启动界面,所以不太好判断。因此需要在Vagrantfile配置中增加vb.gui = true ...
分类:其他好文   时间:2016-09-10 19:15:05    阅读次数:1072
转: 如何用linux命令修改linux主机ip网关子网掩码
linux一般使用ifconfig命令修改linux主机的ip、网关或子网掩码。 1.命令格式: ifconfig [网络设备] [参数] 2.命令功能: ifconfig 命令用来查看和配置网络设备。当网络环境发生改变时可通过此命令对网络进行相应的配置。 3.命令参数: up 启动指定网络设备/网 ...
分类:系统相关   时间:2016-09-10 14:31:24    阅读次数:301
206. Reverse Linked List
Reverse a singly linked list. Solution 1: 思路:null的使用。用一个null node来承接,一个一个接上去即可。一刷的时候还觉得这node转化好麻烦好神奇,熟悉之后其实做起来很快。 Solution 2: follow up : Use Recursio ...
分类:其他好文   时间:2016-09-10 08:59:11    阅读次数:146
Mac安装docker
brew update brew tap phinze/homebrew-cask brew install brew-cask brew cask install virtualbox brew install boot2docker boot2docker init boot2docker up ...
分类:系统相关   时间:2016-09-10 00:05:26    阅读次数:334
LeetCode52 N-Queens II
题目: Follow up for N-Queens problem. Now, instead outputting board configurations, return the total number of distinct solutions.(Hard) 分析: 跟昨天的题目一样的思路 ...
分类:其他好文   时间:2016-09-09 23:51:58    阅读次数:151
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!