<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"><channel><title>MagicLen</title><link>https://magiclen.org/cn/tag/programming-basic/</link><description>多元化原创文章，内容包罗万象，有编程语言、网站应用、软件介绍、硬件介绍、操作系统、旅行游记、专题采访、益智问题、文学创作，以及作者们的知识分享和作品分享。</description><language>zh-CN</language><lastBuildDate>Sun, 22 Nov 2026 19:05:41 +0800</lastBuildDate><atom:link href="https://magiclen.org/cn/tag/programming-basic/feed/" rel="self" type="application/rss+xml"/><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>8</sy:updateFrequency><sy:updateBase>1970-01-01T00:00+00:00</sy:updateBase><item><title>写程序的基本功：搜索算法(Search Algorithm)</title><link>https://magiclen.org/cn/search-algorithm/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2016/04/Searchicons-search-blogs-512-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2016/04/Searchicons-search-blogs-512-220x162.png 1x, https://magiclen.org/wp-content/uploads/2016/04/Searchicons-search-blogs-512-440x324.png 2x, https://magiclen.org/wp-content/uploads/2016/04/Searchicons-search-blogs-512-660x486.png 3x" alt>
这里所称的搜索(Search)，是指在一个已排序好或是尚未排序好的集合中，将指定元素的键值(key)或是索引值(index)搜索出来，或者是给定某个条件，在集合中搜索出符合该条件的数据。在集合内搜索元素的方法当然不会只有一种，而不同方法搜索数据的难易度、速度和其它特性自然也会有所不同。搜索算法(Search Algorithm)就是搜索数据的方法，目前已知的方法有很多，在这篇文章中将会整理本站所介...]]></description><category>研究分享</category><category>算法</category><category>字符串搜索</category><category>搜索算法</category><category>写程序的基本功</category><guid>https://magiclen.org/cn/search-algorithm</guid><pubDate>Wed, 22 May 2019 12:00:45 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>写程序的基本功：排序算法(Sorting Algorithm)</title><link>https://magiclen.org/cn/sorting-algorithm/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2016/05/1463382782_icon_23_one_finger_double_tap-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2016/05/1463382782_icon_23_one_finger_double_tap-220x162.png 1x, https://magiclen.org/wp-content/uploads/2016/05/1463382782_icon_23_one_finger_double_tap-440x324.png 2x, https://magiclen.org/wp-content/uploads/2016/05/1463382782_icon_23_one_finger_double_tap-660x486.png 3x" alt>
这里所称的排序(Sorting)，是指将一串不规则的串行数据（如数组数据）依照递增或是递减的方式重新编排。要将一串不规则的数值数据递增或是递减排列，方法当然不会只有一种，而不同方法排列数据的难易度、速度和其它特性自然也会有所不同。排序算法(Sorting Algorithm)就是排列数据的方法，目前已知的方法有很多，在这篇文章中将会整理本站所介绍过的大部份排序算法。]]></description><category>研究分享</category><category>算法</category><category>排序算法</category><category>写程序的基本功</category><guid>https://magiclen.org/cn/sorting-algorithm</guid><pubDate>Mon, 16 May 2016 22:03:03 +0800</pubDate><dc:creator>Magic Len</dc:creator></item></channel></rss>