加载中...
青墨书晚风

排序算法基本内容算法分类比较分类 非线性时间比较类排序:通过比较来决定元素间的相对次序, 由于其时间复杂度不能突破O(nlogn),因此称为非线性时间比较类排序。 线性时间非比较类排序:不通过比较来决定元素间的相对次序, 它可以突破基于比
我是文章在轮播图中的摘要
听一听看一看,魔法的世界是什么样的呢
本站基本介绍,页面选项功能
本站基本介绍,主要配置项
环境配置系统:Ubuntu系统编辑器:PycharmPython版本:python3.6(自带celery4.3.0)第三方包依赖: django3.0.8 本文简介这篇文章主要介绍了celery4+django3定时任务的实现, 用于定时
#Django–自定义 Command 命令Django 对于命令的添加有一套规范,你可以为每个app 指定命令。 通俗一点讲,比如在使用manage.py文件执行命令的时候,可以自定制自己的命令,来实现命令的扩充。 ##commands的
595-大的国家(Big Countries)
原文链接: https://leetcode-cn.com/problems/big-countries 英文原文Table: World +-------------+---------+ | Column Name | Type | +-------------+---------+ | name | varchar | | continent | varchar | | area | int | | population | int | | gdp | int | +-----------…
2021-12-03
598-范围求和 II(Range Addition II)
原文链接: https://leetcode-cn.com/problems/range-addition-ii 英文原文You are given an m x n matrix M initialized with all 0's and an array of operations ops, where ops[i] = [ai, bi] means M[x][y] should be incremented by one for all 0 <= x < ai and 0 <= y < …
2021-12-03
601-体育馆的人流量(Human Traffic of Stadium)
原文链接: https://leetcode-cn.com/problems/human-traffic-of-stadium 英文原文Table: Stadium +---------------+---------+ | Column Name | Type | +---------------+---------+ | id | int | | visit_date | date | | people | int | +---------------+---------+ visit_da…
2021-12-03
605-种花问题(Can Place Flowers)
原文链接: https://leetcode-cn.com/problems/can-place-flowers 英文原文You have a long flowerbed in which some of the plots are planted, and some are not. However, flowers cannot be planted in adjacent plots. Given an integer array flowerbed containing 0's and…
2021-12-03
620-有趣的电影(Not Boring Movies)
原文链接: https://leetcode-cn.com/problems/not-boring-movies 英文原文Table: Cinema +----------------+----------+ | Column Name | Type | +----------------+----------+ | id | int | | movie | varchar | | description | varchar | | rating | float | +-------------…
2021-12-03
627-变更性别(Swap Salary)
原文链接: https://leetcode-cn.com/problems/swap-salary 英文原文Table: Salary +-------------+----------+ | Column Name | Type | +-------------+----------+ | id | int | | name | varchar | | sex | ENUM | | salary | int | +-------------+----------+ id is the pri…
2021-12-03
629-K个逆序对数组(K Inverse Pairs Array)
原文链接: https://leetcode-cn.com/problems/k-inverse-pairs-array 英文原文For an integer array nums, an inverse pair is a pair of integers [i, j] where 0 <= i < j < nums.length and nums[i] > nums[j]. Given two integers n and k, return the number of different …
2021-12-03
639-解码方法 II(Decode Ways II)
原文链接: https://leetcode-cn.com/problems/decode-ways-ii 英文原文A message containing letters from A-Z can be encoded into numbers using the following mapping: 'A' -> "1" 'B' -> "2" ... 'Z' -> "26" To decode an encoded message, all the digits must be groupe…
2021-12-03
640-求解方程(Solve the Equation)
原文链接: https://leetcode-cn.com/problems/solve-the-equation 英文原文Solve a given equation and return the value of 'x' in the form of a string "x=#value". The equation contains only '+', '-' operation, the variable 'x' and its coefficient. You should retur…
2021-12-03
647-回文子串(Palindromic Substrings)
原文链接: https://leetcode-cn.com/problems/palindromic-substrings 英文原文Given a string s, return the number of palindromic substrings in it. A string is a palindrome when it reads the same backward as forward. A substring is a contiguous sequence of charac…
2021-12-03