自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

一万小时的专栏

据说努力一万小时之后会有质的变化,尝试了一下果然是真的,发现自己老了416天

  • 博客(18)
  • 收藏
  • 关注

原创 学习笔记3-跟踪分析Linux内核的启动过程

跟踪分析Linux内核的启动过程        本周孟老师以自己的一个简单操作系统menuOS为例,介绍了linux内核的目录结构、如何调试linux内核。由于自己虚拟机上加载debug信息(file vmlinux)时加载不进去,因此使用实验楼的虚拟机。         试验开始:1、进入目录,执行:         qemu -kernel linux-3.18.6/a

2015-03-21 23:52:09 628

原创 学习笔记1

第一课  汇编代码的工作过程         源文件main.c代码如下:int g(int x){ return x + 7;}int f(int x){ return g(x);}int main(void){ return f(5) + 3;}        执行gcc -S main.c -m32后,生成main.s,即汇编指令。去除以"."开头

2015-03-05 21:36:12 393

原创 Search a 2D Matrix

Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:Integers in each row are sorted from left to right.The first integer of each

2014-12-26 00:05:19 298

原创 Simplify Path

Given an absolute path for a file (Unix-style), simplify it.For example,path = "/home/", => "/home"path = "/a/./b/../../c/", => "/c"click to show corner cases.Corner Cases:Did

2014-12-22 23:36:12 314

原创 Length of Last Word

Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string.If the last word does not exist, return 0.Note: A word is

2014-12-22 22:38:30 270

原创 Single Number

Given an array of integers, every element appears twice except for one. Find that single one.Note:Your algorithm should have a linear runtime complexity. Could you implement it without using e

2014-12-22 22:23:38 286

原创 leetcode->Reverse Integer

/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */package Reverse

2014-12-12 00:07:40 301

转载 plsql 创建语句笔记

---------------------------------------------------------- DDL for Table TEST-------------------------------------------------------- CREATE TABLE "STAR"."CASTARPRF" ( "AIRLINE_CODE" VARCHAR

2014-09-04 11:11:12 753

原创 leetcode->Remove Duplicates from Sorted Array

Remove Duplicates from Sorted Array Total Accepted: 21252 Total Submissions: 65986My SubmissionsGiven a sorted array, remove the duplicates in place such that each element appear only on

2014-08-07 15:59:20 281

原创 leetcode->Candy

每日一刷,强迫学习

2014-08-06 16:08:26 296

原创 leetCode->Climbing Stairs

每天一刷,强迫学习You are climbing a stair case. It takes n steps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?很经典的面试题,斐波那契求

2014-07-25 15:29:48 326

原创 leetCode->Spiral Matrix II

Given an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order.For example,Given n = 3,You should return the following matrix:[ [ 1, 2, 3 ], [ 8, 9, 4 ], [

2014-07-24 20:52:17 404

原创 leetCode->Search Insert Position

每天一刷 ,强迫学习Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.You may assume no dupl

2014-07-24 10:38:52 302

原创 leetCode->Single Number

每天一刷,强迫学习Given an array of integers, every element appears twice except for one. Find that single one.Note:Your algorithm should have a linear runtime complexity. Could you implement it with

2014-07-23 21:48:41 289

原创 leetCode->Add Binary

mGiven two binary strings, return their sum (also a binary string).For example,a = "11"b = "1"Return "100".

2014-07-23 20:36:51 363

原创 leecode->Max Points on a Line

Given n points on a 2D plane, find the maximum number of points that lie on the same straight line.

2014-07-23 11:23:03 518

原创 leetcode->Evaluate Reverse Polish Notation

每天一刷,强迫学习

2014-07-23 10:43:23 354

原创 leetcode->Reverse Words in a String

每天一刷,强迫学习Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".click to show clarification.Clarification:

2014-07-23 10:21:57 498 1

空空如也

空空如也

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

TA关注的人

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