码迷,mamicode.com
首页 >  
搜索关键字:linux运维 面试 应用软件    ( 23027个结果
LFS,编译自己的Linux系统 - 前言
近期工作计划:1. 上班时,用Django编写一个网站;2. 下班时,用C#、WPF编写一个单机版应用软件;3. 其他时间,根据LFS编译自己的Linux系统。 LFS是一本书,书中列出了从零开始编译一个Linux系统的步骤和资源,我看的是最新的7.5版本,更新日期是2014年3月2日。 LFS官方...
分类:系统相关   时间:2014-05-25 22:51:57    阅读次数:390
Android面试复习
1、Activity的生命周期2、Service的生命周期3、Service和Activity在同一个线程吗默认情况下是在同一个主线程中。但可以通过清单中android:process属性配置不同的进程。4、java中的soft reference是个什么东西 如果一个对象只具有软引用,则内存空间....
分类:移动开发   时间:2014-05-25 19:17:40    阅读次数:336
【leetcode】Multiply Strings
题目:给定两个表示大数的字符串,求乘积,这里只针对正数。 分析:开始的时候打算一位一位的算,按着笔算的形式,但是写着写着发现太麻烦,后来在网上找到计算乘法的令一种技巧,感觉简洁多了。 先看代码,再分析。 string multiply(string num1, string num2) { if(num1 == "0" || num2 == "0") return "0"; //...
分类:其他好文   时间:2014-05-25 18:24:31    阅读次数:195
LeetCode: Rotate List [060]
【题目】 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. 【题意】 给定一个链表L,和非负数K,要求把链表的后k个节点移到链表前 【思路】 先将指针指向指向倒数第K个节点,然后...
分类:其他好文   时间:2014-05-25 18:20:06    阅读次数:252
LeetCode: Insert Interval [056]
【题目】 Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary). You may assume that the intervals were initially sorted according to their start times. Example 1: Given intervals [1,3],[6,9], insert and mer...
分类:其他好文   时间:2014-05-25 12:56:43    阅读次数:271
LeetCode: Spiral Matrix II [058]
【题目】 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 ], [ 7, 6, 5 ] ] 【题意】 给定整数n, 将1,2,3...nxn个数按螺旋旋转的方式填入n...
分类:其他好文   时间:2014-05-25 07:08:17    阅读次数:235
LeetCode: Permutation Sequence [059]
【题目】 The set [1,2,3,…,n] contains a total of n! unique permutations. By listing and labeling all of the permutations in order, We get the following sequence (ie, for n = 3): "123" "132" "213" "231" "312" "321" Given n and k, return the kth permutation ...
分类:其他好文   时间:2014-05-25 06:13:37    阅读次数:276
Python中的一些面试题(2)
python有什么工具可以找程序的bug,和分析程序的错误?PyChecker: PyChecker是一个python脚本分析工具,它可以发现python脚本中的bugs Pylint: ylint是一个Python代码分析工具,它分析Python代码中的错误,查找不符合代码风格标准和有潜在问题的代码。 Pylint是一 个Python工具,..
分类:编程语言   时间:2014-05-25 05:09:46    阅读次数:311
Linux在应用层读写寄存器的方法
可以通过操作/dev/mem设备文件,以及mmap函数,将寄存器的地址映射到用户空间,直接在应用层对寄存器进行操作,示例如下:...
分类:系统相关   时间:2014-05-24 22:10:07    阅读次数:454
Linux运维基本知识与命令
1,Linux系统管理员账户?root2,[root@svr5~]#解释每一个部分的意思root帐户svr5主机名~所在目录/root3,Linux系统有哪几个TTY控制台TTY1-6字符界面TTY7图形界面4,如何查看内核,并解释每一个部分的意思#uname-r2.6.18-371.el5主版本号2次版本号6修订版本号18红帽修订3715,..
分类:系统相关   时间:2014-05-24 15:53:17    阅读次数:508
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!