自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 LeetCode LCR 085.括号生成 (Python3)

从 (...()...) 开始, 单向移动'(', 推出其他有效组合.套句老话, 不管白猫黑猫抓到老鼠就是好猫.有兴趣者可以试用非递归方法完成上述过程.

2025-01-15 14:13:28 121

原创 leetcode76. 最小覆盖子串 (Python3)

ssmap={}flag=0curlist=[]else:#process selse:else:else:flag+=1...>>>>>> s='a'>>> ss='a'['a']>>> s='a'[]>>>>>>>>>>>>

2024-10-24 14:37:16 369

原创 A General Two-Step Process for Longest Common Subsequence of String List (Python3)

step 1:step 2:return 0>>>... #... #... #... #... #...633>>>

2024-10-18 10:29:55 627

原创 LeetCode 300 -最长递增子序列

>>>>>...>>>>>> f(n)4>>> f(n)4>>> f(n)1>>> f(n)10>>> f(n)9>>>withasbeginend;t1 as (union allSQL>SQL> ed1 with3 as4 begin6 end;7 t1 as (14 )

2024-10-11 09:18:32 823

原创 leedcode 128. 最长连续序列(哈希)

maxcnt=0numsmap={}tmpcnt=1tmpnum=numtmpnum+=1tmpcnt+=1tmpnum=numtmpnum-=1tmpcnt+=1>>>>>> f(n)skip 2skip 4skip 5skip 3skip 7skip 1skip -1skip 97>>>

2024-10-09 07:58:40 151

原创 LeetCode 218 天际线问题 -revisit

union allunion allunion allunion allunion all。

2024-09-23 08:46:28 291 5

原创 LeetCord 218 天际线问题

why so?Done!

2024-09-22 10:47:03 647

原创 LeetCode 97 交错字符串

return ...return ...

2024-09-18 01:29:25 370

原创 Leetcode(135)——分发糖果

Browsed some problems and want to add some different thoughts on this specific one (skip descriptions).To make it as short as possible.1. Clearly there exists only 3 distinct patterns (-, /, \), each may occur 0 or more times.2. There exists one turning

2024-09-16 01:41:14 329 2

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除