标签: leetcode
-
[LeetCode]4.Median of Two Sorted Arrays
There are two sorted arrays nums1 and nums2 of size m a…
-
leetcode403. Frog Jump
假设有一只青蛙需要过河,河中会有一些石子,青蛙必须踩在石头上才算成功。石头的位置用整数数组来表示。青蛙的行走规…
-
小李飞刀:做题第十一弹!
之前考虑按tag来刷题,后来收到了推荐的leetcode题解,就根据上面的说明陆续刷题啦~tag主要做了:数组…
-
[LeetCode]Longest Substring Without Repeating Characters
Given a string, find the length of the longest substrin…
-
leetcode443. String Compression
对字符串进行简单的压缩操作,压缩的规则是,如果出现多个重复的字母,则用字母加上字母出现的字数进行表示。如果字母…
-
计算器
最近准备系统的学习数据结构与算法,学习的时候想配合着leetcode刷题,这样会加深印象。在学习栈的时候,老师…
-
[Leetcode]2.Add Two Numbers
You are given two non-empty linked lists representing t…
-
1. Two Sum
Given an array of integers, return indices of the two n…
-
【Leetcode】114. 二叉树展开为链表
这算是比较经典的一道题目了, 博主面试快手的时候原题。最开始一想,觉得递归的求解不就好了,但是递归的时候发现需…
-
Leetcode PHP题解–D33 700. Search in a Binary Search Tree
700. Search in a Binary Search Tree 题目链接 700. Search in…