-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
12 lines (12 loc) · 10.4 KB
/
index.html
File metadata and controls
12 lines (12 loc) · 10.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html><html lang="zh-CN"><head><meta http-equiv="content-type" content="text/html; charset=utf-8"><meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"><meta content="yes" name="apple-mobile-web-app-capable"><meta content="black-translucent" name="apple-mobile-web-app-status-bar-style"><meta content="telephone=no" name="format-detection"><meta name="description"><title>美漂的野指针 | Make a difference</title><link rel="stylesheet" type="text/css" href="/css/style.css?v=0.0.0"><link rel="stylesheet" type="text/css" href="//cdn.bootcss.com/normalize/7.0.0/normalize.min.css"><link rel="stylesheet" type="text/css" href="//cdn.bootcss.com/pure/1.0.0/pure-min.css"><link rel="stylesheet" type="text/css" href="//cdn.bootcss.com/pure/1.0.0/grids-responsive-min.css"><link rel="stylesheet" href="//cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css"><script type="text/javascript" src="//cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script><link rel="Shortcut Icon" type="image/x-icon" href="/favicon.ico"><link rel="apple-touch-icon" href="/apple-touch-icon.png"><link rel="apple-touch-icon-precomposed" href="/apple-touch-icon.png"></head><body><div class="body_container"><div id="header"><div class="site-name"><h1 class="hidden">美漂的野指针</h1><a id="logo" href="/.">美漂的野指针</a><p class="description">Make a difference</p></div><div id="nav-menu"><a class="current" href="/."><i class="fa fa-home"> 主页</i></a><a href="/archives/"><i class="fa fa-archive"> 归档</i></a><a href="/about/"><i class="fa fa-user"> 关于</i></a></div></div><div class="pure-g" id="layout"><div class="pure-u-1 pure-u-md-3-4"><div class="content_container"><div class="post"><h1 class="post-title"><a href="/2016/10/27/算法基础/">算法基础</a></h1><div class="post-meta">2016-10-27</div><div class="post-content"><p>这些题目是2016年找全职工作时做的,大部分题目来自于一亩三分地上的面经。</p>
<h3 id="1-对角线打印矩阵"><a href="#1-对角线打印矩阵" class="headerlink" title="1. 对角线打印矩阵"></a>1. 对角线打印矩阵</h3><p>题目描述:输入为一个数字矩阵,对角线遍历输出矩阵内容。<br>Input:<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">{{1,2,3,4}, {5,6,7,8}, {9,10,11,12}, {13,14,15,16}, {17,18,19,20}}</span><br></pre></td></tr></table></figure></p></div><p class="readmore"><a href="/2016/10/27/算法基础/">阅读全文</a></p></div><div class="post"><h1 class="post-title"><a href="/2016/05/07/IOS开发中的四大对象及程序启动过程混讲/">iOS开发中的四大对象及程序启动过程混讲</a></h1><div class="post-meta">2016-05-07</div><div class="post-content"><p>IOS中的四大对象即UIApplication, appDelegate, UIWindow, UIViewController,之所以和程序启动过程混讲,是因为程序启动和它们密不可分。</p>
<p>UIApplication对象是应用程序的象征,每个App只有一个该对象,即UIApplication是单例,且是IOS程序启动创建的第一个对象,可以通过如下方法获得该对象:<br><figure class="highlight swift"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">let</span> application = <span class="type">UIApplication</span>.sharedApplication()</span><br></pre></td></tr></table></figure></p></div><p class="readmore"><a href="/2016/05/07/IOS开发中的四大对象及程序启动过程混讲/">阅读全文</a></p></div><div class="post"><h1 class="post-title"><a href="/2016/03/09/IOS沙盒简介/">iOS沙盒简介</a></h1><div class="post-meta">2016-03-09</div><div class="post-content"><h3 id="简介"><a href="#简介" class="headerlink" title="简介"></a>简介</h3><p>沙盒(sandbox)实际上是一个文件目录,其下的子目录用于存放不同的数据,本质上沙盒是对应用程序执行不同操作的权限限制。每个程序有一个沙盒。</p>
<p>默认情况下,一个沙盒下有三个文件:Document, Library, tmp。</p></div><p class="readmore"><a href="/2016/03/09/IOS沙盒简介/">阅读全文</a></p></div><div class="post"><h1 class="post-title"><a href="/2016/02/18/Java基础/">Java基础</a></h1><div class="post-meta">2016-02-18</div><div class="post-content"><h3 id="ArrayList排序"><a href="#ArrayList排序" class="headerlink" title="ArrayList排序"></a>ArrayList排序</h3><p>在Java中,如果需要将一个arrayList排序,我们需要利用Collections类。首先先游离一下主题,先简要介绍一下Collections,Collections不同于Collection,后者(java.util.Collection)是一个集合接口,它提供的是对集合对象进行基本操作的通用接口方法,而前者(java.util.Collections)是一个包装类,它包含有各种有关集合操作的静态多态方法,此类不能被实例化,就像一个工具类,服务于Java的Collection框架。</p></div><p class="readmore"><a href="/2016/02/18/Java基础/">阅读全文</a></p></div><div class="post"><h1 class="post-title"><a href="/2016/02/13/算法进阶/">算法进阶</a></h1><div class="post-meta">2016-02-13</div><div class="post-content"><h3 id="1-Sweep-Line-算法"><a href="#1-Sweep-Line-算法" class="headerlink" title="1. Sweep-Line 算法"></a>1. Sweep-Line 算法</h3><h4 id="背景"><a href="#背景" class="headerlink" title="背景"></a>背景</h4><p>最近发现了一种非常有意思的算法,叫做Sweep Line,但是该算法问题界定的范围不像DP, Greedy那么明确,所以暂称类Sweep Line问题吧。下面就通过实际问题来阐述。</p></div><p class="readmore"><a href="/2016/02/13/算法进阶/">阅读全文</a></p></div><div class="post"><h1 class="post-title"><a href="/2016/01/08/新浪微博Apple Watch客户端/">新浪微博Apple Watch客户端</a></h1><div class="post-meta">2016-01-08</div><div class="post-content"><p>Nowadays, the best Sina Microblog app for Apple Watch is designed by Weico Co. which is a third-party app development company. However, this app can just allows users to read the 20 newest statuses which makes it impossible to read older statuses via the microblog app. Thus, based on the situation, I designed and implemented a totally new Apple Watch app that has the following breakthrough new features:</p></div><p class="readmore"><a href="/2016/01/08/新浪微博Apple Watch客户端/">阅读全文</a></p></div><div class="post"><h1 class="post-title"><a href="/2015/11/23/Uschedule项目日志/">Uschedule 项目日志</a></h1><div class="post-meta">2015-11-23</div><div class="post-content"><p><strong>Demo Presentation:</strong></p>
<p>URL is: <a href="https://www.youtube.com/watch?v=z_Sufm9xeMw&feature=youtu.be" target="_blank" rel="noopener">https://www.youtube.com/watch?v=z_Sufm9xeMw&feature=youtu.be</a></p></div><p class="readmore"><a href="/2015/11/23/Uschedule项目日志/">阅读全文</a></p></div></div></div><div class="pure-u-1-4 hidden_mid_and_down"><div id="sidebar"><div class="widget"><form class="search-form" action="//www.google.com/search" method="get" accept-charset="utf-8" target="_blank"><input type="text" name="q" maxlength="20" placeholder="Search"/><input type="hidden" name="sitesearch" value="http://pengfeixing.com"/></form></div><div class="widget"><div class="widget-title"><i class="fa fa-folder-o"> 分类</i></div><ul class="category-list"><li class="category-list-item"><a class="category-list-link" href="/categories/iOS/">iOS</a><span class="category-list-count">4</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Algorithm/">算法</a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Java/">编程基础</a><span class="category-list-count">1</span></li></ul></div><div class="widget"><div class="widget-title"><i class="fa fa-star-o"> 标签</i></div><div class="tagcloud"><a href="/tags/iOS/" style="font-size: 15px;">iOS</a> <a href="/tags/Java/" style="font-size: 15px;">Java</a> <a href="/tags/Algorithm/" style="font-size: 15px;">Algorithm</a></div></div><div class="widget"><div class="widget-title"><i class="fa fa-file-o"> 最近文章</i></div><ul class="post-list"><li class="post-list-item"><a class="post-list-link" href="/2016/10/27/算法基础/">算法基础</a></li><li class="post-list-item"><a class="post-list-link" href="/2016/05/07/IOS开发中的四大对象及程序启动过程混讲/">iOS开发中的四大对象及程序启动过程混讲</a></li><li class="post-list-item"><a class="post-list-link" href="/2016/03/09/IOS沙盒简介/">iOS沙盒简介</a></li><li class="post-list-item"><a class="post-list-link" href="/2016/02/18/Java基础/">Java基础</a></li><li class="post-list-item"><a class="post-list-link" href="/2016/02/13/算法进阶/">算法进阶</a></li><li class="post-list-item"><a class="post-list-link" href="/2016/01/08/新浪微博Apple Watch客户端/">新浪微博Apple Watch客户端</a></li><li class="post-list-item"><a class="post-list-link" href="/2015/11/23/Uschedule项目日志/">Uschedule 项目日志</a></li></ul></div></div></div><div class="pure-u-1 pure-u-md-3-4"><div id="footer">Copyright © 2018 <a href="/." rel="nofollow">美漂的野指针.</a> Powered by<a rel="nofollow" target="_blank" href="https://hexo.io"> Hexo.</a><a rel="nofollow" target="_blank" href="https://github.com/tufu9441/maupassant-hexo"> Theme</a> by<a rel="nofollow" target="_blank" href="https://github.com/pagecho"> Cho.</a></div></div></div><a class="show" id="rocket" href="#top"></a><script type="text/javascript" src="/js/totop.js?v=0.0.0" async></script><script type="text/javascript" src="//cdn.bootcss.com/fancybox/3.2.5/jquery.fancybox.min.js" async></script><script type="text/javascript" src="/js/fancybox.js?v=0.0.0" async></script><link rel="stylesheet" type="text/css" href="//cdn.bootcss.com/fancybox/3.2.5/jquery.fancybox.min.css"><script>var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = '//hm.baidu.com/hm.js?' + theme.baidu_analytics;
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script><script type="text/javascript" src="/js/codeblock-resizer.js?v=0.0.0"></script><script type="text/javascript" src="/js/smartresize.js?v=0.0.0"></script></div></body></html>