Git Product home page Git Product logo

blogcomments's Introduction

BlogComments

用于存放博客中用户的评论

blogcomments's People

Contributors

huweitao13 avatar

Watchers

James Cloos avatar  avatar

blogcomments's Issues

floyd算法 | 胡伟涛

https://huweitao.gitee.io/2020/02/03/%E5%9F%BA%E7%A1%80%E7%AE%97%E6%B3%95/%E5%9B%BE/floyd%E7%AE%97%E6%B3%95/

Floyd算法Floyd算法又称插点法,它的核心**是动态规划,常用来求解图中任意一对顶点之间的最短路径问题。 算法步骤 首先定义一个距离矩阵D[n][n],其中D[i][j]表示,顶点i到顶点j的距离。 然后通过已知条件初始化距离矩阵D[n][n]。 图中n个顶点依次作为插入点,更新距离矩阵。例如,k为其中一个顶点,D[i][k] + D[k][j] < D[i][j],那说明顶点i经过

1331. 数组序号转换 | 胡伟涛

https://huweitao.gitee.io/2020/02/02/LeetCode/%E7%A6%BB%E6%95%A3%E5%8C%96/1331.%20%E6%95%B0%E7%BB%84%E5%BA%8F%E5%8F%B7%E8%BD%AC%E6%8D%A2/

  1. 数组序号转换给你一个整数数组 arr ,请你将数组中的每个元素替换为它们排序后的序号。 序号代表了一个元素有多大。序号编号的规则如下: 序号从 1 开始编号。 一个元素越大,那么序号越大。如果两个元素相等,那么它们的序号相同。 每个数字的序号都应该尽可能地小。 示例 1: 输入:arr = [40,10,20,30]输出:[4,1,2,3]解释:40 是最大的元素。 10 是最小

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.