08 2016 档案

摘要:1、IP地址、子网掩码、默认网关、DNS 2、Ubuntu配置静态IP 阅读全文
posted @ 2016-08-19 16:12 西小贝 阅读(135) 评论(0) 推荐(0)
摘要:1、磁盘管理中,选择一块剩余空间较大的分区,压缩卷; (50G即可,压缩后出现50G的可用空间(绿色)(未分区磁盘),到此为止,不必新建卷) 2、官网下载ubuntu镜像; 3、用软碟通将镜像写入U盘; (进入、选择Ubuntu镜像、菜单栏启动-写入磁盘镜像、确认U盘、确认镜像文件、格式化、写入、完 阅读全文
posted @ 2016-08-19 14:24 西小贝 阅读(2209) 评论(0) 推荐(0)
摘要:You are given coins of different denominations and a total amount of money amount. Write a function to compute the fewest number of coins that you nee 阅读全文
posted @ 2016-08-17 21:09 西小贝 阅读(450) 评论(0) 推荐(0)
摘要:There are n bulbs that are initially off. You first turn on all the bulbs. Then, you turn off every second bulb. On the third round, you toggle every 阅读全文
posted @ 2016-08-16 21:26 西小贝 阅读(164) 评论(0) 推荐(0)
摘要:Given a string array words, find the maximum value of length(word[i]) * length(word[j]) where the two words do not share common letters. You may assum 阅读全文
posted @ 2016-08-16 20:51 西小贝 阅读(137) 评论(0) 推荐(0)
摘要:转:链接: Python:显示程序运行进度条 1、\r 2、tqdm 阅读全文
posted @ 2016-08-15 15:42 西小贝 阅读(885) 评论(0) 推荐(0)
摘要:转:链接: Hadoop安装教程_单机/伪分布式配置_Hadoop2.6.0/Ubuntu14.04 Hadoop集群安装配置教程_Hadoop2.6.0_Ubuntu/CentOS 阅读全文
posted @ 2016-08-14 17:04 西小贝 阅读(91) 评论(0) 推荐(0)
摘要:转:链接: http://www.techug.com/linux-shell-bash-zsh 阅读全文
posted @ 2016-08-14 16:51 西小贝 阅读(124) 评论(0) 推荐(0)
摘要:For a undirected graph with tree characteristics, we can choose any node as the root. The result graph is then a rooted tree. Among all possible roote 阅读全文
posted @ 2016-08-14 14:52 西小贝 阅读(185) 评论(0) 推荐(0)
摘要:121. Best Time to Buy and Sell Stock Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitte 阅读全文
posted @ 2016-08-12 15:36 西小贝 阅读(145) 评论(0) 推荐(0)
摘要:转载请注明来自 老D,本文标题:2017 Google hosts 持续更新, 转载请保留本声明! 标签:2017 hosts,Google hosts,host,hosts,最新hosts 标签:2017 hosts,Google hosts,host,hosts,最新hosts 针对谷歌搜索、谷 阅读全文
posted @ 2016-08-12 09:12 西小贝 阅读(550) 评论(0) 推荐(0)
摘要:Given a 2D matrix matrix, find the sum of the elements inside the rectangle defined by its upper left corner (row1, col1) and lower right corner (row2 阅读全文
posted @ 2016-08-11 10:03 西小贝 阅读(135) 评论(0) 推荐(0)
摘要:Given a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to n. For example, given n = 12, 阅读全文
posted @ 2016-08-09 19:59 西小贝 阅读(132) 评论(0) 推荐(0)
摘要:Write a program to find the n-th ugly number. Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. For example, 1, 2, 3, 4, 5, 阅读全文
posted @ 2016-08-09 10:54 西小贝 阅读(196) 评论(0) 推荐(0)
摘要:Given an array of numbers nums, in which exactly two elements appear only once and all the other elements appear exactly twice. Find the two elements 阅读全文
posted @ 2016-08-08 14:58 西小贝 阅读(112) 评论(0) 推荐(0)
摘要:Given a string of numbers and operators, return all possible results from computing all the different possible ways to group numbers and operators. Th 阅读全文
posted @ 2016-08-08 10:34 西小贝 阅读(115) 评论(0) 推荐(0)
摘要:Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree. According to the definition of LCA on Wikipedia: “The lowes 阅读全文
posted @ 2016-08-07 16:53 西小贝 阅读(125) 评论(0) 推荐(0)