加载中...
青墨书晚风

排序算法基本内容算法分类比较分类 非线性时间比较类排序:通过比较来决定元素间的相对次序, 由于其时间复杂度不能突破O(nlogn),因此称为非线性时间比较类排序。 线性时间非比较类排序:不通过比较来决定元素间的相对次序, 它可以突破基于比
我是文章在轮播图中的摘要
听一听看一看,魔法的世界是什么样的呢
本站基本介绍,页面选项功能
本站基本介绍,主要配置项
环境配置系统:Ubuntu系统编辑器:PycharmPython版本:python3.6(自带celery4.3.0)第三方包依赖: django3.0.8 本文简介这篇文章主要介绍了celery4+django3定时任务的实现, 用于定时
#Django–自定义 Command 命令Django 对于命令的添加有一套规范,你可以为每个app 指定命令。 通俗一点讲,比如在使用manage.py文件执行命令的时候,可以自定制自己的命令,来实现命令的扩充。 ##commands的
1201-丑数 III(Ugly Number III)
原文链接: https://leetcode-cn.com/problems/ugly-number-iii 英文原文An ugly number is a positive integer that is divisible by a, b, or c. Given four integers n, a, b, and c, return the nth ugly number. Example 1: Input: n = 3, a = 2, b = 3, c = 5 Output: 4 Ex…
2021-12-03
2079-给植物浇水(Watering Plants)
原文链接: https://leetcode-cn.com/problems/watering-plants 英文原文You want to water n plants in your garden with a watering can. The plants are arranged in a row and are labeled from 0 to n - 1 from left to right where the ith plant is located at x = i. The…
2021-12-03
1195-交替打印字符串(Fizz Buzz Multithreaded)
原文链接: https://leetcode-cn.com/problems/fizz-buzz-multithreaded 英文原文You have the four functions: printFizz that prints the word "Fizz" to the console, printBuzz that prints the word "Buzz" to the console, printFizzBuzz that prints the word "FizzBuzz" …
2021-12-03
1219-黄金矿工(Path with Maximum Gold)
原文链接: https://leetcode-cn.com/problems/path-with-maximum-gold 英文原文In a gold mine grid of size m x n, each cell in this mine has an integer representing the amount of gold in that cell, 0 if it is empty. Return the maximum amount of gold you can colle…
2021-12-03
1206-设计跳表(Design Skiplist)
原文链接: https://leetcode-cn.com/problems/design-skiplist 英文原文Design a Skiplist without using any built-in libraries. A skiplist is a data structure that takes O(log(n)) time to add, erase and search. Comparing with treap and red-black tree which has th…
2021-12-03
1226-哲学家进餐(The Dining Philosophers)
原文链接: https://leetcode-cn.com/problems/the-dining-philosophers 英文原文Five silent philosophers sit at a round table with bowls of spaghetti. Forks are placed between each pair of adjacent philosophers. Each philosopher must alternately think and eat. Ho…
2021-12-03
1223-掷骰子模拟(Dice Roll Simulation)
原文链接: https://leetcode-cn.com/problems/dice-roll-simulation 英文原文A die simulator generates a random number from 1 to 6 for each roll. You introduced a constraint to the generator such that it cannot roll the number i more than rollMax[i] (1-indexed) c…
2021-12-03