花费 147ms 找到17168条记录
Leetcode练习<十> 列表元素去重 繁体
2017年05月27 - # Given a sorted array, remove the duplicates in place such that each element appear only once and#

[Swift]LeetCode684. 冗余连接 | Redundant Connection 繁体
2019年03月09 - In this problem, a tree is an undirected graph that is connected and has no cycles. The given input

Leetcode: 第四题 Median of Two Sorted Arrays 繁体
2015年09月16 - 题目 There are two sorted arrays A and B of size m and n respectively. Find the median of the t

LeetCode 128 Longest Consecutive Sequence 一个无序整数数组中找到最长连续序列 繁体
2018年03月26 - Given an unsorted array of integers, find the length of the longest consecutive elements sequence.Fo

[LeetCode]Wildcard Matching 通配符匹配(贪心) 繁体
2014年11月09 - 一开始采用递归写,TLE。 class Solution {public: bool flag; int n,m; void dfs(int id0,const char *s,int i

[LeetCode] Encode and Decode TinyURL 编码和解码精简URL地址 繁体
2017年03月16 - Note: This is a companion problem to the System Design problem: Design TinyURL.TinyURL is a URL shortening service where you enter a URL such as https://leetcode.com/problems/design-tinyurl and it re

LeetCode】100. Same Tree (2 solutions) 繁体
2014年12月01 - Same Tree Given two binary trees, write a function to check if they are equal or not. Two binary t

LeetCode 86. Partition List 划分链表 繁体
2019年03月23 - Given a linked list and a value x, partition it such that all nodes less than x come before nodes gr

leetcode [Intersection of Two Linked Lists]//待整理多种解法 繁体
2017年04月02 - /** * Definition for singly-linked list. * public class ListNode { * int

蜗牛慢慢爬 LeetCode 16. 3Sum Closest [Difficulty: Medium] 繁体
2017年09月15 - 题目Given an array S of n integers, find three integers in S such that the sum is closest to a given n


 
粤ICP备14056181号  © 2014-2021 ITdaan.com