Giter Site home page Giter Site logo

syfxlin / code Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 0.0 4.15 MB

:pencil2: 存放非项目的代码

Home Page: https://ixk.me

License: MIT License

PHP 6.55% Java 88.05% PowerShell 2.27% HTML 0.38% CSS 0.09% TypeScript 1.16% JavaScript 1.28% Vue 0.22%
algorithms data-structures design-patterns php-middleware react-store vue-store

code's Introduction

Code

存放非项目的代码

算法

数据结构

  • 数组列表
    • 二分查找
  • 图(old)
  • 双向链表
    • 栈/队列
    • 冒泡排序/快速排序
    • 链表实现的优先队列
  • 有向/无向图(邻接表)
    • 转换成邻接矩阵
    • 获取顶点的度
    • 获取孤立点/悬挂点
    • 获取联通区域列表
    • DFS/BFS
    • 判断是否联通
    • Kruskal 最小生成树
    • Dijkstra 最短路径
  • 单向链表
    • 同双向链表
  • 跳表
  • 二叉树(链表)
    • 前中后遍历和层次遍历
    • 链表二叉树和数组二叉树互转
    • 广义表和二叉树互转
    • 叶节点列表/遍历
    • 是否是完全二叉树
    • BST 二叉搜索树(添加/搜索/删除)
    • 旋转二叉树(左旋/右旋)
    • Heap 堆
    • 前序遍历构建完全二叉树
  • 字典树

设计模式

由于 PHP 有一些局限性,无法完全的展示设计模式,比如单例的多种实现线程安全等,所以我打算用 Java 重写一下这些设计模式

其他

一些乱七八糟的文件

code's People

Contributors

dependabot[bot] avatar syfxlin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.