Skip to content

gytHW/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leetcode

solved leetcode problems recording

My LeetCode Homepage ------ Nagisa

========

LeetCode Algorithm

(Notes: "♥" means you need to buy a book from Leetcode)

# Title Chinese Title Solution Difficulty Date
1 Two Sum 两数之和 JavaScript / Go Easy
7 Reverse Integer 反转整数 JavaScript Easy
9 Palindrome Number 回文数 Python Easy 2021-07-13
20 Valid Parentheses 有效的括号 Python Easy
21 Merge Two Sorted Lists 合并两个有序链表 Go Easy
26 Remove Duplicates from Sorted Array 删除排序数组中的重复项 Python Easy
27 Remove Element 移除元素 JavaScript Easy
35 Search Insert Position 搜索插入位置 JavaScript
Python
Easy
41 First Missing Positive 缺失的第一个正数 Python Hard
62 Unique Paths 不同路径 Python Medium 2020-04-16
70 Climbing Stairs 爬楼梯 C Easy
71 Simplify Path 简化路径 Python Medium
80 Remove Duplicates from Sorted Array II 删除排序数组中的重复项 II Python Medium
88 Merge Sorted Array 合并两个有序数组 C Easy
100 Same Tree 相同的树 C Easy
101 Symmetric Tree 对称二叉树 Go Easy
102 Binary Tree Level Order Traversal 二叉树的层序遍历 Python Medium 2020-05-12
103 Binary Tree Zigzag Level Order Traversal 二叉树的锯齿形层次遍历 Python Medium 2020-05-13
105 Construct Binary Tree from Preorder and Inorder Traversal 从前序与中序遍历序列构造二叉树 Python Medium 2020-05-14
136 Single Number 只出现一次的数字 Python Easy 2020-05-14
141 Linked List Cycle 环形链表 C Easy
165 Compare Version Numbers 比较版本号 Python3 Medium 2019-06-06
169 Majority Element 求众数 Python Easy 2019-08-26
171 Excel Sheet Column Number Excel 表列序号 Python Easy 2021-07-30
198 House Robber 打家劫舍 Python Easy 2020-05-29
202 Happy Number 快乐数 Python Easy
206 Reverse Linked List 反转链表 CPython3 Easy
217 Contains Duplicate 存在重复元素 Python Easy
268 Missing Number 缺失数字 Python3 Easy
275 H-Index II H 指数 II Python3 Medium 2021-07-12
287 Find the Duplicate Number 寻找重复数 Python Medium
290 Word Pattern 单词规律 Python Easy 2021-07-13
344 Reverse String 反转字符串 Python3 Easy 2019-09-09
349 Intersection of Two Arrays 两个数组的交集 Python Easy
380 Insert Delete GetRandom O(1) 常数时间插入、删除和获取随机元素 Python Medium
381 Insert Delete GetRandom O(1) - Duplicates allowed O(1) 时间插入、删除和获取随机元素 - 允许重复 Python Hard
389 Find the Difference 找不同 Python Easy
414 Third Maximum Number 第三大的数 Python Easy
441 Arranging Coins 排列硬币 Python Easy
442 Find All Duplicates in an Array 数组中重复的数据 Python Medium
448 Find All Numbers Disappeared in an Array 找到所有数组中消失的数字 Python Easy
461 Hamming Distance 汉明距离 Python Easy
485 Max Consecutive Ones 最大连续1的个数 Python Easy
520 Detect Capital 检测大写字母 Python Easy
575 Distribute Candies 分糖果 Python Easy
581 Shortest Unsorted Continuous Subarray 最短无序连续子数组 Python Medium 2021-08-03
628 Maximum Product of Three Numbers 三个数的最大乘积 Python Easy
704 Binary Search 二分查找 Python Easy
724 Find Pivot Index 寻找数组的中心索引 Python Easy
766 Toeplitz Matrix 托普利茨矩阵 Python Easy
791 Custom Sort String 自定义字符串排序 Python Medium
896 Monotonic Array 单调数列 Python Easy
1344 Angle Between Hands of a Clock 时钟指针的夹角 Python3 Medium
1431 Kids With the Greatest Number of Candies 拥有最多糖果的孩子 Python Easy 2020-06-01
1833 Maximum Ice Cream Bars 雪糕的最大数量 Python Medium 2020-07-02

LeetCode Shell

# Title Chinese Title Solution Difficulty
195 Tenth Line 第十行 Bash Easy

LeetCode Database

# Title Chinese Title Solution Difficulty
176 Second Highest Salary 第二高的薪水 SQL Easy
182 Duplicate Emails 查找重复的电子邮箱 SQL Easy
183 Customers Who Never Order 从不订购的客户 SQL Easy
595 Big Countries 大的国家 SQL Easy
596 Classes More Than 5 Students 超过5名学生的课 SQL Easy
620 Not Boring Movies 有趣的电影 SQL Easy
627 Swap Salary 交换工资 SQL Easy

LeetCode InterviewCase

# Title Chinese Title Solution Difficulty Date
21 链接 调整数组顺序使奇数位于偶数前面 LCOF Python Easy 2020-05-13

About

solved leetcode problems recording

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages