标签: leetcode
-
leetcode链表
删除链表中等于给定值 val 的所有节点。输入: 1->2->6->3->4->…
-
leetcode452-Minimum-Number-of-Arrows-to-Burst-Balloons
There are a number of spherical balloons spread in two-…
-
LeetCode刷题日志2两数相加
一开始想的,先变数组,然后拼装成数字,直接相加,进位问题自然解决。后来发现,大数相加 js 会用科学计数法表示…
-
leetcode421-Maximum-XOR-of-Two-Numbers-in-an-Array
Given a non-empty array of numbers, a0, a1, a2, … , an-…
-
LeetCode刷题日志1两数之和
n^2 次循环。第一级循环取数,算得目标数字,第二级看目标数字在不在数组中。最多优化下第二级循环,已经遍历过的…
-
Leetcode-做题学算法周刊第二期
首发于微信公众号《前端成长记》,写于 2019.11.05 背景 本文记录刷题过程中的整个思考过程,以供参考。…
-
leetcode472-Concatenated-Words
Given a list of words (without duplicates), please writ…
-
leetcode501-Find-Mode-in-Binary-Search-Tree
Given a binary search tree (BST) with duplicates, find …
-
不同路径Python3
问题描述:一个机器人位于一个 m x n 网格的左上角 (起始点在下图中标记为“Start” )。机器人每次只…
-
leetcode473-Matchsticks-to-Square
Remember the story of Little Match Girl? By now, you kn…