自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(24)
  • 收藏
  • 关注

原创 dict

dict  1. 从list 建, a = dict.fromkeys([1,2,3], [4,5,6])

2014-08-31 10:17:48 435

原创 Merge k Sorted Lists

看了网上的讲解 一开始想一个一个去合并,复杂度是fa

2014-08-26 07:17:09 452

原创 Reverse Linked List II

看了网上才想到 分析: 刚开始想

2014-08-26 06:05:07 403

原创 二叉树的遍历

二叉树的遍历有三种方式: 中

2014-08-25 15:06:30 402

原创

堆是由二叉树表示的, 最常用的cun

2014-08-25 13:23:44 444

原创 各种排序算法

1. 插入排序  时间复杂度o

2014-08-25 09:28:00 374

原创 Merge Sorted Array

这题开始的思路时错的,后来看了

2014-08-25 07:39:21 457

原创 Partition List

自己做出来的,还可以 f

2014-08-24 12:17:46 390

原创 Remove Nth Node From End of List

自己原来想到了双指针法,后来看了下网上的解答,证明是对的。

2014-08-24 11:09:40 434

原创 Rotate List

Given a list, rotate the list to the right by k places, where k is non-negative. For example: Given 1->2->3->4->5->NULL and k = 2, return 4->5->1->2->3->NULL.

2014-08-24 10:41:04 352

原创 Merge Two Sorted Lists

比较简单,自己搞定 Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. 分析:

2014-08-23 22:51:04 414

原创 Remove Duplicates from Sorted List II

这道题刚开始感觉有点复杂,后面还是做出来了。 不过看了网上的答案,有更易于思考的角度 Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. For example, Giv

2014-08-23 12:09:36 403

原创 Remove Duplicates from Sorted List

算是第一次一次AC的题 Given a sorted linked list, delete all duplicates such that each element appear only once. For example, Given 1->1->2, return 1->2. Given 1->1->2->3->3, return 1->2->3. 分析: 1

2014-08-23 08:48:16 368

原创 Linked List Cycle II

Given a linked list, return the node where the cycle begins. If there is no cycle, return null. Follow up: Can you solve it without using extra space?

2014-08-23 08:23:13 388

原创 Linked List Cycle

# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: # @param head, a ListNode # @return a boo

2014-08-23 06:35:00 612

原创 Layers

Vision_layers.hpp  (和视觉有关的layers) ConvolutionLayer,

2014-08-22 06:07:14 2568

原创 装饰器 decorator (python)

装饰器, 根据名字理解就是给函数的功能

2014-08-19 04:01:23 525

原创 shell 命令快捷键

移动 Ctrl-A  光标移动到最前 Ctrl-E 广播

2014-08-17 02:54:05 440

原创 ssh 只需登陆一次

在linux 中,登陆一次ssh后,就不需要再用密码了 具体bu

2014-08-16 08:01:59 729

原创 安装软件 到自己用户目录下

./configure --prefix=/SOME/FOLDER make make inst

2014-08-15 03:59:47 1285

原创 vimrc 的配置

在自己的文件目录下打开编写 .vimrc set number set

2014-08-14 05:50:51 463

原创 PBS 命令

PBS 查考: 1. http://lynn56.blog.163.com/blog/static/138187862010104113934423/

2014-08-13 08:12:38 1287

原创 net.cpp (init)

net 这个class 定义了包含其中的各个layer,

2014-08-12 08:38:54 2618

原创 protobuf

以下的文字基本基于这p http://blog.csdn.net/flyan338/article/details/8448518

2014-08-11 07:04:22 1434

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除