<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>LeetCode on haifeiWu</title><link>https://haifeiWu.github.io/tags/leetcode/</link><description>Recent content in LeetCode on haifeiWu</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><managingEditor>whfstudio@163.com (haifeiWu)</managingEditor><webMaster>whfstudio@163.com (haifeiWu)</webMaster><copyright>© 2016～2026 haifeiWu</copyright><lastBuildDate>Sun, 01 Sep 2019 00:00:00 +0800</lastBuildDate><atom:link href="https://haifeiWu.github.io/tags/leetcode/index.xml" rel="self" type="application/rss+xml"/><item><title>二分查找算法细节详解</title><link>https://haifeiWu.github.io/posts/er-fen-cha-zhao-suan-fa-xi-jie-xiang-jie/</link><pubDate>Sun, 01 Sep 2019 00:00:00 +0800</pubDate><author>whfstudio@163.com (haifeiWu)</author><guid>https://haifeiWu.github.io/posts/er-fen-cha-zhao-suan-fa-xi-jie-xiang-jie/</guid><description>思路 我相信对很多读者朋友来说，编写二分查找的算法代码属于玄学编程，虽然看起来很简单，就是会出错，要么会漏个等号，要么少加个 1。不要气馁，因为二分查找其实并不简单。看看 Knuth 大佬（发明 KMP 算法的那位）怎么说的：Altho</description></item><item><title>LeetCode 每日一题（day 1）</title><link>https://haifeiWu.github.io/posts/leetcode--mei-ri-yi-ti--day-1/</link><pubDate>Wed, 13 Feb 2019 00:00:00 +0800</pubDate><author>whfstudio@163.com (haifeiWu)</author><guid>https://haifeiWu.github.io/posts/leetcode--mei-ri-yi-ti--day-1/</guid><description>题目 题目描述：给定一个按非递减顺序排序的整数数组 A，返回每个数字的平方组成的新数组，要求也按非递减顺序排序。示例 1：输入：4, 1,0,3,10 输出：0,1,9,16,100 示例 2：输入：7, 3,2,3,11 输</description></item></channel></rss>