2015年12月15日

Ubuntu 14.04 安装gstreamer0.10-ffmpeg

摘要: sudoapt-add-repositoryppa:mc3man/trusty-mediasudoapt-getupdatesudoapt-getinstall-ygstreamer0.10-ffmpeg 阅读全文

posted @ 2015-12-15 13:56 tuituji 阅读(1017) 评论(0) 推荐(0) 编辑

2015年12月8日

Eudyptula Challenge

摘要: http://www.eudyptula-challenge.org/The Eudyptula ChallengeWhat is it?The Eudyptula Challenge is a series of programming exercises for the Linux kernel... 阅读全文

posted @ 2015-12-08 11:20 tuituji 阅读(237) 评论(0) 推荐(0) 编辑

Ubuntu 14.04开启ssh服务

摘要: sudo apt-get install openssh-serversudo apt-get install openssh-clientsudo service ssh restart 阅读全文

posted @ 2015-12-08 11:18 tuituji 阅读(236) 评论(0) 推荐(0) 编辑

Ubuntu 14.04 ThinkPad E431无线网卡驱动安装

摘要: Ubuntu 14.04下安装无线网卡驱动。sudo apt-get install linux-headers-generic build-essential dkms sudo apt-get install linux-source sudo apt-get install --reinsta... 阅读全文

posted @ 2015-12-08 11:17 tuituji 阅读(600) 评论(0) 推荐(0) 编辑

2015年10月3日

[Leetcode] - 96 Unique Binary Search Trees

摘要: Givenn, how many structurally uniqueBST's(binary search trees) that store values 1...n?For example,Givenn= 3, there are a total of 5 unique BST's. 1... 阅读全文

posted @ 2015-10-03 15:36 tuituji 阅读(153) 评论(0) 推荐(0) 编辑

[LeetCode] 116 - Populating Next Right Pointers in Each Node

摘要: Given a binary tree struct TreeLinkNode { TreeLinkNode *left; TreeLinkNode *right; TreeLinkNode *next; }Populate each next pointe... 阅读全文

posted @ 2015-10-03 11:35 tuituji 阅读(184) 评论(0) 推荐(0) 编辑

[LeetCode] 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?/** * Definition for singly-linked list. *... 阅读全文

posted @ 2015-10-03 11:13 tuituji 阅读(111) 评论(0) 推荐(0) 编辑

[LeetCode] 94 - Binary Tree Inorder Traversal

摘要: Given a binary tree, return theinordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[1,3,2].Note... 阅读全文

posted @ 2015-10-03 10:49 tuituji 阅读(175) 评论(0) 推荐(0) 编辑

2015年9月10日

[LeetCode] 122 - Best Time to Buy and Sell Stock II

摘要: Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a... 阅读全文

posted @ 2015-09-10 18:18 tuituji 阅读(129) 评论(0) 推荐(0) 编辑

[LeetCode] 121 - Best Time to Buy and Sell Stock

摘要: Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most one transaction (ie... 阅读全文

posted @ 2015-09-10 18:17 tuituji 阅读(130) 评论(0) 推荐(0) 编辑

导航