03_滑动窗口

LeetCode Hot 100


3. 无重复字符的最长子串

难度:中等 | LeetCode 链接

给定一个字符串 s,请找出其中不含有重复字符的最长子串的长度。

Read more

02_数组 & 哈希

🎯 LeetCode Hot 100


1. 两数之和

难度:简单 | LeetCode 链接

给定数组 nums 和目标值 target,找出和为目标值的两个数的下标。

Read more

01_双指针

🎯 LeetCode Hot 100


283. 移动零

难度:简单 | LeetCode 链接

给定一个数组 nums,编写一个函数将所有 0 移动到数组的末尾,同时保持非零元素的相对顺序。

Read more