腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
首页
学习
活动
专区
工具
TVP
最新优惠活动
返回腾讯云官网
Reck Zhang
专栏成员
举报
579
文章
170100
阅读量
36
订阅数
订阅专栏
申请加入专栏
全部文章(579)
编程算法(104)
integer(69)
return(68)
numbers(48)
input(41)
output(40)
function(29)
binary(28)
node.js(27)
sql(27)
list(27)
element(24)
sample(23)
sum(23)
time(23)
tree(22)
find(21)
algorithm(20)
space(20)
java(19)
contains(19)
each(19)
网站(16)
duplicates(14)
line(14)
distinct(13)
matrix(13)
set(13)
string(13)
unique(13)
二叉树(12)
table(12)
target(12)
linux(11)
search(11)
size(11)
file(10)
sequence(10)
digits(9)
null(9)
javascript(8)
ide(8)
游戏(8)
tcp/ip(8)
range(8)
traversal(8)
using(8)
word(8)
http(7)
rabbitmq(7)
it(7)
minimum(7)
nodes(7)
path(7)
root(7)
缓存(6)
socket编程(6)
数据结构(6)
add(6)
area(6)
case(6)
combinations(6)
form(6)
point(6)
其他(5)
c++(5)
erlang(5)
数据库(5)
打包(5)
面向对象编程(5)
udp(5)
数据分析(5)
arrays(5)
count(5)
division(5)
height(5)
lowercase(5)
max(5)
position(5)
product(5)
rows(5)
runtime(5)
stock(5)
this(5)
zero(5)
对象(5)
深度学习(4)
分布式(4)
jvm(4)
bit(4)
character(4)
code(4)
exists(4)
grid(4)
instance(4)
int(4)
lines(4)
merge(4)
palindrome(4)
thread(4)
transactions(4)
txt(4)
进程(4)
go(3)
css(3)
unix(3)
文件存储(3)
消息队列 CMQ 版(3)
存储(3)
网络安全(3)
kafka(3)
absolute(3)
cycle(3)
data(3)
dictionary(3)
difference(3)
expression(3)
image(3)
map(3)
match(3)
median(3)
memory(3)
parentheses(3)
pivot(3)
row(3)
sort(3)
structure(3)
wait(3)
函数(3)
接口(3)
区块链(2)
python(2)
bash(2)
汇编语言(2)
api(2)
bash 指令(2)
安全(2)
axis(2)
cell(2)
children(2)
class(2)
copy(2)
date(2)
decimal(2)
definition(2)
equals(2)
excel(2)
factorial(2)
forms(2)
include(2)
insert(2)
intervals(2)
marked(2)
operators(2)
pascal(2)
perfect(2)
permutation(2)
process(2)
properties(2)
ps(2)
rectangles(2)
recursion(2)
report(2)
rotation(2)
self(2)
series(2)
share(2)
store(2)
super(2)
title(2)
unsigned(2)
width(2)
wikipedia(2)
产品(2)
连接(2)
权限(2)
重构(2)
对象存储(1)
数字货币(1)
自动驾驶(1)
php(1)
c#(1)
react(1)
html(1)
android(1)
单片机(1)
云数据库 SQL Server(1)
云数据库 Redis(1)
memcached(1)
access(1)
mvc(1)
腾讯云测试服务(1)
vr 视频解决方案(1)
express(1)
serverless(1)
dns(1)
ftp(1)
rpc(1)
敏捷开发(1)
kernel(1)
模式识别(1)
机器人(1)
https(1)
nat(1)
haskell(1)
nest(1)
mvcc(1)
bat(1)
bi(1)
biginteger(1)
block(1)
border(1)
break(1)
byte(1)
capture(1)
center(1)
channel(1)
chess(1)
clock(1)
coding(1)
colors(1)
concatenation(1)
configuration(1)
connect(1)
container(1)
diagram(1)
directory(1)
display(1)
double(1)
edit(1)
email(1)
equation(1)
eval(1)
feed(1)
fibonacci(1)
figure(1)
fill(1)
flatten(1)
format(1)
frequency(1)
friend(1)
google(1)
handler(1)
histogram(1)
increment(1)
init(1)
intersection(1)
ip(1)
loops(1)
mapping(1)
matching(1)
methods(1)
min(1)
model(1)
move(1)
multiplication(1)
mutable(1)
network(1)
next(1)
numeric(1)
ode(1)
orders(1)
overflow(1)
parent(1)
patch(1)
pid(1)
prefix(1)
push(1)
rank(1)
ranking(1)
record(1)
replace(1)
reverse(1)
rules(1)
runnable(1)
script(1)
select(1)
shuffle(1)
singleton(1)
sleep(1)
slice(1)
spaces(1)
state(1)
stream(1)
subset(1)
summary(1)
swap(1)
system(1)
task(1)
text(1)
toggle(1)
transformation(1)
transpose(1)
trie(1)
twitter(1)
version(1)
view(1)
virtual(1)
void(1)
wildcard(1)
window(1)
xor(1)
闭包(1)
变量(1)
编译(1)
编译器(1)
程序(1)
程序设计(1)
代理(1)
队列(1)
二进制(1)
泛型(1)
继承(1)
集合(1)
客户端(1)
垃圾回收(1)
流量(1)
日志(1)
软件(1)
设计(1)
事件(1)
数学(1)
搜索(1)
算法(1)
统计(1)
通信(1)
线程(1)
线程池(1)
虚拟机(1)
异常(1)
原型(1)
作用域(1)
搜索文章
搜索
搜索
关闭
Operating System 09 - 进程状态的切换
进程
算法
进程状态的切换 📷 就绪状态(ready): 等待被调度 运行状态(running): 正在被调度 阻塞状态(waiting): 等待资源 注意 只有就绪态和运行态可以相互转换, 其他都是单向转换. 就绪状态的进程通过调度算法从而获得CPU时间, 转化为运行状态. 而运行状态的进程, 在分配给他的CPU时间片用完之后就会转为就绪状态, 等待下一次调度. 阻塞状态是缺少需要的资源从而由运行状态转换而来, 但是该资源不包括CPU时间, 缺少CPU时间就会从运行状态转换为就绪态.
Reck Zhang
2021-12-23
480
0
Operating System 08 - 进程与线程
block
ip
process
进程
线程
进程控制块(Process Control Block, PCB)描述进程的基本信息和运行状态, 所谓的创建进程和撤销进程, 都是对于PCB的操作.
Reck Zhang
2021-12-23
251
0
SQL 07 - ACID
数据库
sql
ACID 原子性(Atomicity) 事务被分割为不可分割的最小单元, 事务的所有操作要么全部提交成功, 要么全部回滚失败. 一致性(Consistency) 数据库在事务执行前后都保持一致性状态. 在一致性状态下, 所有事务对一个数据的读取结果都是相同的. 隔离性(Isolation) 一个事务所做的修改在最终提交之前, 对其他事务不可见. 持久性(Durability) 一旦事务提交, 则其所做的修改将会永远修改到数据库中. 即使系统发生崩溃, 事务执行的结果也不能丢失.
Reck Zhang
2021-12-23
188
0
C++ 01 - 内存模型
ide
内存模型 堆(heap) 由new分配出来的内存块, 其释放编译器不去管, 由程序去控制, 一个new对应一个delete. 如果没有释放掉, 在程序结束时OS会自动回收. 栈(stack) 栈是那些编译器在需要时分配, 在不需要时自动清除的存储区, 存放局部变量, 函数参数. 存放的栈中的数据只在当前函数及下一层函数中有效, 一旦函数返回了, 这些数据也就自动释放. 全局/静态存储区(.bss段和.data段) 全局和静态变量被分配到同一内存中. 在C语言中, 未初始化的放在.ba
Reck Zhang
2021-12-23
390
0
ACMSGURU 149 - Computer Network
input
line
lines
network
numbers
A school bought the first computer some time ago. During the recent years the school bought N-1 new computers. Each new computer was connected to one of settled earlier. Managers of school are anxious about slow functioning of the net and want to know for each computer number Si - maximum distance, for which i-th computer needs to send signal (i.e. length of cable to the most distant computer). You need to provide this information.
Reck Zhang
2021-12-18
331
0
ACMSGURU 397 - Text Editor
css
linux
编程算法
The simplest text editor “Open Word” allows to create and edit only one word. The editor processes keys ‘a’ – ‘z’, and also ‘L’ (to the left) and ‘R’ (to the right). After starting his work the editor immediately creates an empty word and sets its cursor to the left-most position. When one of keys ‘a’ – ‘z’ is pressed, the text editor inserts corresponding symbol just after the cursor. After that a cursor moves one position to the right in such a way that it is placed just after new symbol. When key ‘L’ or ‘R’ is pressed, the cursor moves one position to the left or to the right respectively. If the cursor can’t be moved because it is placed at the left-most or right-most position the command is ignored. Developers of “Open Word” didn’t think about the effectiveness so the editor is working slowly if a lot of keys have been pressed.
Reck Zhang
2021-12-05
547
0
ACMSGURU 114 - Telecasting station
axis
find
input
output
sample
Every city in Berland is situated on Ox axis. The government of the country decided to build new telecasting station. After many experiments Berland scientists came to a conclusion that in any city citizens displeasure is equal to product of citizens amount in it by distance between city and TV-station. Find such point on Ox axis for station so that sum of displeasures of all cities is minimal.
Reck Zhang
2021-09-01
533
0
LeetCode 0198 - House Robber
each
list
You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from robbing each of them is that adjacent houses have security system connected and it will automatically contact the police if two adjacent houses were broken into on the same night.
Reck Zhang
2021-08-11
255
0
LeetCode 0199 - Binary Tree Right Side View
binary
nodes
return
tree
view
Given a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom.
Reck Zhang
2021-08-11
259
0
LeetCode 0231 - Power of Two
function
integer
Given an integer, write a function to determine if it is a power of two.
Reck Zhang
2021-08-11
143
0
Java 15 - 类加载过程
编程算法
ide
java
确保Class文件的字节流中包含的信息符合虚拟机的要求, 并且不会危害虚拟机的安全.
Reck Zhang
2021-08-11
362
0
Java 16 - 序列化与反序列化
文件存储
需要进行序列化的类需要实现Serializable接口, 但是不需要实现任何方法.
Reck Zhang
2021-08-11
277
0
LeetCode 0200 - Number of Islands
count
grid
map
Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically. You may assume all four edges of the grid are all surrounded by water.
Reck Zhang
2021-08-11
344
0
LeetCode 0201 - Bitwise AND of Numbers Range
numbers
range
return
Given a range [m, n] where 0 <= m <= n <= 2147483647, return the bitwise AND of all numbers in this range, inclusive.
Reck Zhang
2021-08-11
210
0
LeetCode 0202 - Happy Number
cycle
equals
integer
numbers
process
Write an algorithm to determine if a number is “happy”.
Reck Zhang
2021-08-11
269
0
LeetCode 0203 - Remove Linked List Elements
list
Remove all elements from a linked list of integers that have value val.
Reck Zhang
2021-08-11
226
0
LeetCode 0183 - Customers Who Never Order
sql
orders
return
table
using
Suppose that a website contains two tables, the Customers table and the Orders table. Write a SQL query to find all customers who never order anything.
Reck Zhang
2021-08-11
326
0
LeetCode 0184 - Department Highest Salary
sql
it
max
table
The Employee table holds all employees. Every employee has an Id, a salary, and there is also a column for the department Id.
Reck Zhang
2021-08-11
355
0
LeetCode 0185 - Department Top Three Salaries
sql
The Employee table holds all employees. Every employee has an Id, and there is also a column for the department Id.
Reck Zhang
2021-08-11
244
0
LeetCode 0187 - Repeated DNA Sequences
function
series
All DNA is composed of a series of nucleotides abbreviated as A, C, G, and T, for example: “ACGAATTCCG”. When studying DNA, it is sometimes useful to identify repeated sequences within the DNA.
Reck Zhang
2021-08-11
309
0
点击加载更多
社区活动
【纪录片】中国数据库前世今生
穿越半个世纪,探寻中国数据库50年的发展历程
立即查看
Python精品学习库
代码在线跑,知识轻松学
立即查看
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
立即体验
技术创作特训营·精选知识专栏
往期视频·千货材料·成员作品 最新动态
立即查看
领券
问题归档
专栏文章
快讯文章归档
关键词归档
开发者手册归档
开发者手册 Section 归档