Skip to content

Latest commit

 

History

History

README.md

java数据结构与算法系列文章目录(持续更新)

java数据结构与算法之顺序表与链表设计与实现分析

java数据结构与算法之双链表设计与实现

java数据结构与算法之改良顺序表与双链表类似ArrayList和LinkedList(带Iterator迭代器与fast-fail机制)

java数据结构与算法之栈(Stack)设计与实现

java数据结构与算法之队列(Queue)设计与实现

java数据结构与算法之递归思维(让我们更通俗地理解递归)

java数据结构与算法之树基本概念及二叉树(BinaryTree)的设计与实现

java数据结构与算法之平衡二叉查找树(AVL树)的设计与实现

LRU 缓存算法题

https://leetcode-cn.com/problems/lru-cache/
com.ithawk.learn.middle.LRUCache

跳表

https://redisbook.readthedocs.io/en/latest/internal-datastruct/skiplist.html

盛最多的水

https://leetcode-cn.com/problems/container-with-most-water/
com.ithawk.learn.middle.MaxArea  

移动零

https://leetcode-cn.com/problems/move-zeroes/  
com.ithawk.learn.simple.MoveZeroes

爬楼梯

https://leetcode-cn.com/problems/climbing-stairs/          
com.ithawk.learn.simple.ClimbStairs

三数和 核心思想,使用双指针,进行两面夹击

https://leetcode-cn.com/problems/3sum/
com.ithawk.learn.middle.ThreeSum
            //将数据进行排序
            Arrays.sort(nums);

反转链表

https://leetcode-cn.com/problems/reverse-linked-list/  
com.ithawk.learn.leetCode.array.ReverseList

两两交换链表中的节点

https://leetcode-cn.com/problems/swap-nodes-in-pairs/  
com.ithawk.learn.middle.SwapPairs

环形链表

https://leetcode-cn.com/problems/linked-list-cycle/   
com.ithawk.learn.leetCode.array.HasCycle  

环形链表 II

https://leetcode-cn.com/problems/linked-list-cycle-ii/
com.ithawk.learn.leetCode.array.DetectCycle 

有效的括号

https://leetcode-cn.com/problems/valid-parentheses/
com.ithawk.learn.simple.IsValid