最新 最热

【Flask】flask框架模板中自定义过滤器

过滤器的本质是函数。当模板内置的过滤器不能满足需求,可以自定义过滤器。自定义过滤器有两种实现方式:

2021-08-11
1

LeetCode 0167 - Two Sum II - Input array is sorted

Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number.

2021-08-11
1

LeetCode 0140 - Word Break II

Given a non-empty string s and a dictionary wordDict containing a list of non-empty words, add spaces in s to construct a sentence where each word is a valid di...

2021-08-11
1

LeetCode 0258 - Add Digits

Given a non-negative integer num, repeatedly add all its digits until the result has only one digit.

2021-08-11
1

LeetCode 0330 - Patching Array

Given a sorted positive integer array nums and an integer n, add/patch elements to the array such that any number in range [1, n] inclusive can be formed by the...

2021-08-11
1

LeetCode 0377 - Combination Sum IV

Given an integer array with all positive numbers and no duplicates, find the number of possible combinations that add up to a positive integer target.

2021-08-11
1

LeetCode 0002 - Add Two Numbers

You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single...

2021-08-11
1

Apache Doris集群搭建(BE扩容)

BE 节点的扩容和缩容过程,不影响当前系统运行以及正在执行的任务,并且不会影响当前系统的性能。数据均衡会自动进行。根据集群现有数据量的大小,集群会在几个小时到1天不等的时间内,恢复到负载均衡的状态。...

2021-08-10
0

Apache Doris集群搭建(FE扩容)

参考官方文档http://doris.apache.org/master/zh-CN/installing/install-deploy.html#%E6%89%A9%E5%AE%B9%E7%BC%A9%E5%AE%B9

2021-08-10
1

GCD-dispatch_source以及自定义倒计时GCD-dispatch_source以及自定义倒计时

1、简述dispatch_source是基础数据类型,用于协调特定底层系统事件的处理。dispatch_source替代了异步回调函数,来处理系统相关的事件,当配置一个dispatch时,你需要指定监测的事件、dispatch queue、以及处理事件的代码(bl...

2021-08-09
1