Git Product home page Git Product logo

swift-algo's Introduction

Contents

  • 4.1 实现单链表

  • 4.2 实现非循环双向链表

  • 4.3 实现循环链表

  • 4.4 反转链表

  • 4.5 合并两个有序链表

  • 4.6 链表的中间结点

  • 5.1 用数组实现一个顺序栈

  • 5.2 用链表实现一个链式栈

  • 6.1 用数组实现一个顺序队列

  • 6.2 用链表实现一个链式队列

  • 6.3 实现一个循环队列

  • 7.1 实现一个散列表,用链表法解决散列冲突

  • 7.2 LRUCache

  • 8.1 实现树结构

  • 8.2 用Enum实现二叉树

  • 8.3 实现二叉查找树,及其相关的操作

  • 8.4 用Enum实现二叉查找树

  • 8.5 二叉树的最大深度

  • 9.1 创建一个堆结构

  • 9.2 实现堆排序

  • 9.3 实现优先级队列

  • 9.4 利用优先级队列合并K个有序数组

  • 9.5 求一组动态数据集合的最大Top K

  • 9.6 利用堆求中位数

swift-algo's People

Contributors

shinancao avatar

Stargazers

 avatar

Watchers

James Cloos avatar  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.