【文件属性】:
文件名称:leetcode曼哈顿距离-LeetCode:LeetCode找虐之旅
文件大小:1.64MB
文件格式:ZIP
更新时间:2021-06-30 16:08:59
系统开源
leetcode
曼哈顿距离
LeetCode
补充内容
1.
原地算法(in-place
algorithm)
In
computer
science,
an
in-place
algorithm
is
an
algorithm
which
transforms
input
using
no
auxiliary
data
structure.
However
a
small
amount
of
extra
storage
space
is
allowed
for
auxiliary
variables.
The
input
is
usually
overwritten
by
the
output
as
the
algorithm
executes.
In-place
algorithm
updates
input
sequence
only
through
replacement
or
swapping
of
elements.
An
algorithm
which
is
not
in-place
is
sometimes
called
not-in-place
or
out-of-