算法
沉璧浮光
目前的学习方向:Android、服务器(PHP)、网页(HTML,JS,CSS)、算法。
展开
-
Java Sorting Algorithms(Java排序算法)
转载自:http://java2novice.com/java-sorting-algorithms/Java Sorting AlgorithmsA sorting algorithm is an algorithm that puts elements of a list in a certain order. The most-used orders are numeri转载 2017-02-04 14:06:11 · 1358 阅读 · 0 评论 -
Bubble sort(冒泡排序)
转载自:http://java2novice.com/java-sorting-algorithms/bubble-sort/Bubble sort, also referred to as sinking sort, is a simple sorting algorithm that works by repeatedly stepping through the list to be转载 2017-02-04 14:12:41 · 1920 阅读 · 0 评论 -
selection sort(选择排序)
转载自:http://java2novice.com/java-sorting-algorithms/selection-sort/The selection sort is a combination of searching and sorting. During each pass, the unsorted element with the smallest (or large转载 2017-02-04 14:15:19 · 721 阅读 · 0 评论 -
insertion sort(插入排序)
转载自:http://java2novice.com/java-sorting-algorithms/insertion-sort/Insertion sort is a simple sorting algorithm, it builds the final sorted array one item at a time. It is much less efficient转载 2017-02-04 14:18:00 · 1314 阅读 · 0 评论 -
quick sort(快速排序)
转载自:http://java2novice.com/java-sorting-algorithms/quick-sort/Quicksort or partition-exchange sort, is a fast sorting algorithm, which is using divide and conquer algorithm. Quicksort first转载 2017-02-04 14:29:36 · 2102 阅读 · 0 评论 -
merge sort(归并排序)
转载自:http://java2novice.com/java-sorting-algorithms/merge-sort/Merge sort is a divide and conquer algorithm.Steps to implement Merge Sort:1) Divide the unsorted array into n partition转载 2017-02-04 14:32:46 · 1081 阅读 · 0 评论