最新 最热

Sword To Offer 047 - 求1+2+3+...+n

求1+2+3+…+nDesicription求1+2+3+…+n,要求不能使用乘除法、for、while、if、else、switch、case等关键字及条件判断语句(A?B:C)。Soluti

2021-08-11
0

ACMSGURU 118 - Digital Root

Let f(n) be a sum of digits for positive integer n. If f(n) is one-digit number then it is a digital root for n and otherwise digital root of n is equal to digi...

2021-08-11
1

LeetCode 0070 - Climbing Stairs

You are climbing a stair case. It takes n steps to reach to the top.

2021-08-11
1

LeetCode 0049 - Group Anagrams

Given an array of strings, group anagrams together.

2021-08-11
1

LeetCode 0042 - Trapping Rain Water

Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.

2021-08-11
0

还在写大量 if 来判断?试试用一个规则执行器来替代它

近日在公司领到一个小需求,需要对之前已有的试用用户申请规则进行拓展。我们的场景大概如下所示:

2021-08-05
1

JavaScript switch 语句

工作原理:首先设置表达式n(通常是一个变量)。随后表达式的值会与结构中的每个 case 的值做比较。如果存在匹配,则与该 case 关联的代码块会被执行。请使用break来阻止代码自动地向下一个 case 运行。...

2021-07-16
1

thinkPHP框架自动填充原理与用法分析

本文实例分析了thinkPHP框架自动填充原理与用法。分享给大家供大家参考,具体如下:

2021-07-13
1

mysql之流程控制函数

部门号=30,显示的工资为1.1倍 部门号=40,显示的工资为1.2倍 部门号=50,显示的工资为1.3倍 其他部门,显示的工资为原工资

2021-06-11
1

科大讯飞2021笔试题

·················· END ··················

2021-05-28
1