随笔分类 - 查找算法
常见查找算法,更多数据结构和算法详见[GitHub](https://github.com/cliuhuan/datastructures-algorithms),[Gitee](https://gitee.com/tyliuhuan/datastructures-algorithms)
摘要:package com.liuhuan.study.algorithms.search; /** * @author LiuHuan * @date 2020-07-08 16:18 * @desc 线性查找 */ public class SeqSearch { public static voi
阅读全文
摘要:package com.liuhuan.study.algorithms.search; /** * @author LiuHuan * @date 2020-07-08 16:25 * @desc 插值查找,要求数组是有序的 */ public class InsertValueSearch {
阅读全文
摘要:package com.liuhuan.study.algorithms.search; import java.util.Arrays; /** * @author LiuHuan * @date 2020-07-08 16:27 * @desc 斐波那契查找 */ public class Fi
阅读全文
摘要:package com.liuhuan.study.algorithms.search; /** * @author LiuHuan * @date 2020-07-09 14:35 * @desc 二分查找非递归 */ public class BinarySearchNoRecur { publ
阅读全文
摘要:package com.liuhuan.study.algorithms.search; import java.util.ArrayList; import java.util.List; /** * @author LiuHuan * @date 2020-07-08 16:20 * @desc
阅读全文