Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Algorithm README

com.gjxaiou.easy.day01/02

  • 冒泡排序:BubbleSort
  • 插入排序:InsertionSort
  • 选择排序:SelectionSort
  • 堆排序:HeapSort
  • 归并排序:MergeSort
  • 桶排序:BucketSort
  • 基数排序:RadixSort
  • 划分数组问题:SplitArray
  • 荷兰国旗问题:NetherlandsFlag
  • 题目八,寻找相邻两数最大插值:MaxGap

com.gjxaiou.easy.day03

  • ArrayToStackAndQueue:使用数组实现栈和队列结构
  • CatDogQueue:猫狗队列问题
  • FindFirstIntersectNode:判断两个单链表是否相交
  • FindNumInSortedMatrix:在行列都排序好的矩阵中查找值
  • GetMinStack:实时获取栈中最小值
  • IsPalindromeList:判断链表是否为一个回文串
  • PrintCommonPart:打印两个有序列表公共部分
  • PrintMatrixSpiralOrder:转圈打印矩阵
  • ReverseList:🙃单向链表和双向链表
  • RotateMatrix:正方形矩阵顺时针翻转 90 度
  • StackAndQueueConvert:栈和队列互相实现
  • TurnListToSmallerEqualBigger:将链表分为小于、等于、大于三个部分
  • ZigZagPrintMatrix:之字形打印矩阵中所有元素
  • Code_15_FindOneLessValueIndex
  • CopyListWithRandom

com.gjxaiou.easy.day.04

  • CompleteTreeNodeNumber:计算完全二叉树的结点个数
  • IsBalancedTree:判断是否为平衡树
  • IsBSTAndCBT:判断是否为搜索二叉树、完全二叉树
  • PaperFolding:折纸问题
  • PreInPosTraversal:二叉树的先序、中序、后序遍历
  • PrintBinaryTree:直观的打印二叉树
  • SerializeAndReconstructTree:二叉树的序列化和反序列化
  • SuccessorNode:求二叉树某个节点的后继节点

com.gjxaiou.easy.day05

  • HashMapOperation:HashMap 常见操作

  • RandomPoolWithoutRemove:不考虑 Remove 的 RandomPool 结构

  • RandomPool:完整的 RandomPool 结构

  • isLands:岛问题

  • UnionFind:查找两个结点是否在同一个集合中

  • BloomFilter:布隆过滤器