【文件属性】:
文件名称:leetcode正方形坐标-MayLeetCodingChallenge:https://leetcode.com/explore/chall
文件大小:8KB
文件格式:ZIP
更新时间:2021-07-07 00:04:45
系统开源
leetcode
坐标
5
月份
LeetCode
挑战的解决方案,在
Python3
中完成。
从
5
月
16
日开始的每日解决方案,也在这里和那里解决了一些以前的问题。
作为准备面试情况的一种方式,我每天给自己
20
分钟的时间来提出解决方案并完成实施。
日
问题
解决方案
大哦
08
:check_mark_button:
O(n)
st
n
=
#
坐标
09
:check_mark_button:
O(log
n)
st
n
是平方数
10
:check_mark_button:
O(n
2
)
st
n
是在场人数
11
:check_mark_button:
O(n)
st
n
是像素数
12
:check_mark_button:
O(log
n)
st
n
是元素的数量
16
:check_mark_button:
O(n)
st
n
是节点数
17
:check_mark_button:
O(n)
st
n
是
s
的长度
18
:check_mark_button:
O(n)
st
n
是
s2
的长度
19
:check_mark_button:
O(n)
st
n
是价格的数量
20
:check_mark_button:
O(n)
st
n
是节点数
21
:check_mark_button:
O((m*n)
2
)
st
m,n分别为行数,cols
22
:check_mark_button:
O(n
log
n)
st
n
是
s
中的字符数
23
:check_mark_button:
O(max(m,
n))
st
m,
n
是数组
A
和
B
的长度
【文件预览】:
MayLeetCodingChallenge-master
----slope.py(859B)
----townjudge.py(477B)
----bstkthelement.py(870B)
----permutationinstr.py(889B)
----singleinsorted.py(1KB)
----submatrices.py(2KB)
----flood.py(1KB)
----intersection.py(2KB)
----anagramsubstr.py(2KB)
----README.md(4KB)
----perfectsquare.py(279B)
----stockspanner.py(1024B)
----evenoddlinkedlist.py(2KB)
----charfreq.py(974B)