加载中...
青墨书晚风

排序算法基本内容算法分类比较分类 非线性时间比较类排序:通过比较来决定元素间的相对次序, 由于其时间复杂度不能突破O(nlogn),因此称为非线性时间比较类排序。 线性时间非比较类排序:不通过比较来决定元素间的相对次序, 它可以突破基于比
我是文章在轮播图中的摘要
听一听看一看,魔法的世界是什么样的呢
本站基本介绍,页面选项功能
本站基本介绍,主要配置项
环境配置系统:Ubuntu系统编辑器:PycharmPython版本:python3.6(自带celery4.3.0)第三方包依赖: django3.0.8 本文简介这篇文章主要介绍了celery4+django3定时任务的实现, 用于定时
#Django–自定义 Command 命令Django 对于命令的添加有一套规范,你可以为每个app 指定命令。 通俗一点讲,比如在使用manage.py文件执行命令的时候,可以自定制自己的命令,来实现命令的扩充。 ##commands的
808-分汤(Soup Servings)
原文链接: https://leetcode-cn.com/problems/soup-servings 英文原文There are two types of soup: type A and type B. Initially, we have n ml of each type of soup. There are four kinds of operations: Serve 100 ml of soup A and 0 ml of soup B, Serve 75 ml of soup …
2021-12-03
815-公交路线(Bus Routes)
原文链接: https://leetcode-cn.com/problems/bus-routes 英文原文You are given an array routes representing bus routes where routes[i] is a bus route that the ith bus repeats forever. For example, if routes[0] = [1, 5, 7], this means that the 0th bus travels in…
2021-12-03
816-模糊坐标(Ambiguous Coordinates)
原文链接: https://leetcode-cn.com/problems/ambiguous-coordinates 英文原文We had some 2-dimensional coordinates, like "(1, 3)" or "(2, 0.5)". Then, we removed all commas, decimal points, and spaces and ended up with the string s. For example, "(1, 3)" becomes…
2021-12-03
817-链表组件(Linked List Components)
原文链接: https://leetcode-cn.com/problems/linked-list-components 英文原文You are given the head of a linked list containing unique integer values and an integer array nums that is a subset of the linked list values. Return the number of connected components…
2021-12-03
818-赛车(Race Car)
原文链接: https://leetcode-cn.com/problems/race-car 英文原文Your car starts at position 0 and speed +1 on an infinite number line. Your car can go into negative positions. Your car drives automatically according to a sequence of instructions 'A' (accelerate)…
2021-12-03
819-最常见的单词(Most Common Word)
原文链接: https://leetcode-cn.com/problems/most-common-word 英文原文Given a string paragraph and a string array of the banned words banned, return the most frequent word that is not banned. It is guaranteed there is at least one word that is not banned, and …
2021-12-03
707-设计链表(Design Linked List)
原文链接: https://leetcode-cn.com/problems/design-linked-list 英文原文Design your implementation of the linked list. You can choose to use a singly or doubly linked list. A node in a singly linked list should have two attributes: val and next. val is the val…
2021-12-03
824-山羊拉丁文(Goat Latin)
原文链接: https://leetcode-cn.com/problems/goat-latin 英文原文You are given a string sentence that consist of words separated by spaces. Each word consists of lowercase and uppercase letters only. We would like to convert the sentence to "Goat Latin" (a made…
2021-12-03
829-连续整数求和(Consecutive Numbers Sum)
原文链接: https://leetcode-cn.com/problems/consecutive-numbers-sum 英文原文Given an integer n, return the number of ways you can write n as the sum of consecutive positive integers. Example 1: Input: n = 5 Output: 2 Explanation: 5 = 2 + 3 Example 2: Input: n…
2021-12-03
830-较大分组的位置(Positions of Large Groups)
原文链接: https://leetcode-cn.com/problems/positions-of-large-groups 英文原文In a string s of lowercase letters, these letters form consecutive groups of the same character. For example, a string like s = "abbxxxxzyy" has the groups "a", "bb", "xxxx", "z", a…
2021-12-03
831-隐藏个人信息(Masking Personal Information)
原文链接: https://leetcode-cn.com/problems/masking-personal-information 英文原文You are given a personal information string s, representing either an email address or a phone number. Return the masked personal information using the below rules. Email address…
2021-12-03
832-翻转图像(Flipping an Image)
原文链接: https://leetcode-cn.com/problems/flipping-an-image 英文原文Given an n x n binary matrix image, flip the image horizontally, then invert it, and return the resulting image. To flip an image horizontally means that each row of the image is reversed. …
2021-12-03