C#LeetCode刷题-数组
数组篇
| # | 题名 | 刷题 | 通过率 | 难度 |
|---|---|---|---|---|
| 1 | C#LeetCode刷题之#1-两数之和(Two Sum) | 43.1% | 简单 | |
| 4 | C#LeetCode刷题之#4-两个排序数组的中位数(Median of Two Sorted Arrays)-该题未达最优解 | 30.1% | 困难 | |
| 11 | C#LeetCode刷题之#11-盛最多水的容器(Container With Most Water) | 37.9% | 中等 | |
| 15 | C#LeetCode刷题之#15-三数之和(3Sum) | 15.3% | 中等 | |
| 16 | C#LeetCode刷题之#16-最接近的三数之和(3Sum Closest) | 34.8% | 中等 | |
| 18 | 29.1% | 中等 | ||
| 26 | C#LeetCode刷题之#26-删除排序数组中的重复项(Remove Duplicates from Sorted Array) | 39.3% | 简单 | |
| 27 | C#LeetCode刷题之#27-移除元素(Remove Element) | 49.1% | 简单 | |
| 31 | C#LeetCode刷题之#31-下一个排列(Next Permutation) | 27.9% | 中等 | |
| 33 | C#LeetCode刷题之#33-搜索旋转排序数组(Search in Rotated Sorted Array) | 32.4% | 中等 | |
| 34 | C#LeetCode刷题之#34-在排序数组中查找元素的第一个和最后一个位置(Find First and Last Position of Element in Sorted Array) | 32.3% | 中等 | |
| 35 | C#LeetCode刷题之#35-搜索插入位置(Search Insert Position) | 40.2% | 简单 | |
| 39 | C#LeetCode刷题之#39-组合总和(Combination Sum) | 58.3% | 中等 | |
| 40 | C#LeetCode刷题之#40-组合总和 II(Combination Sum II) | 48.4% | 中等 | |
| 41 | 32.7% | 困难 | ||
| 42 | 34.9% | 困难 | ||
| 45 | 25.3% | 困难 | ||
| 48 | C#LeetCode刷题之#48-旋转图像(Rotate Image) | 57.1% | 中等 | |
| 53 | C#LeetCode刷题之#53-最大子序和(Maximum Subarray)-该题包含分治讨论 | 37.3% | 简单 | |
| 54 | C#LeetCode刷题之#54-螺旋矩阵(Spiral Matrix) | 30.8% | 中等 | |
| 55 | C#LeetCode刷题之#55-跳跃游戏(Jump Game) | 30.9% | 中等 | |
| 56 | C#LeetCode刷题之#56-合并区间(Merge Intervals) | 30.9% | 中等 | |
| 57 | 30.1% | 困难 | ||
| 59 | C#LeetCode刷题之#59-螺旋矩阵 II(Spiral Matrix II) | 65.0% | 中等 | |
| 62 | C#LeetCode刷题之#62-不同路径(Unique Paths) | 48.8% | 中等 | |
| 63 | C#LeetCode刷题之#63-不同路径 II(Unique Paths II) | 29.9% | 中等 | |
| 64 | 54.8% | 中等 | ||
| 66 | C#LeetCode刷题之#66-加一(Plus One) | 35.1% | 简单 | |
| 73 | 47.9% | 中等 | ||
| 74 | 30.8% | 中等 | ||
| 75 | 47.5% | 中等 | ||
| 78 | 67.0% | 中等 | ||
| 79 | 31.2% | 中等 | ||
| 80 | 42.7% | 中等 | ||
| 81 | 30.7% | 中等 | ||
| 84 | 31.3% | 困难 | ||
| 85 | 37.7% | 困难 | ||
| 88 | C#LeetCode刷题之#88-合并两个有序数组(Merge Sorted Array) | 37.7% | 简单 | |
| 90 | 48.3% | 中等 | ||
| 105 | 51.2% | 中等 | ||
| 106 | 52.5% | 中等 | ||
| 118 | C#LeetCode刷题之#118-杨辉三角(Pascal's Triangle) | 55.4% | 简单 | |
| 119 | C#LeetCode刷题之#119-杨辉三角 II(Pascal's Triangle II) | 50.1% | 简单 | |
| 120 | 50.0% | 中等 | ||
| 121 | C#LeetCode刷题之#121-买卖股票的最佳时机(Best Time to Buy and Sell Stock) | 43.9% | 简单 | |
| 122 | C#LeetCode刷题之#122-买卖股票的最佳时机 II(Best Time to Buy and Sell Stock II) | 47.8% | 简单 | |
| 123 | 29.1% | 困难 | ||
| 126 | 19.2% | 困难 | ||
| 128 | 38.8% | 困难 | ||
| 152 | 28.2% | 中等 | ||
| 153 | 45.1% | 中等 | ||
| 154 | 43.4% | 困难 | ||
| 162 | 36.9% | 中等 | ||
| 167 | C#LeetCode刷题之#167-两数之和 II - 输入有序数组(Two Sum II - Input array is sorted) | 40.8% | 简单 | |
| 169 | C#LeetCode刷题之#169-求众数(Majority Element) | 51.4% | 简单 | |
| 189 | C#LeetCode刷题之#189-旋转数组(Rotate Array) | 32.0% | 简单 | |
| 209 | 34.1% | 中等 | ||
| 216 | 56.9% | 中等 | ||
| 217 | C#LeetCode刷题之#217-存在重复元素(Contains Duplicate) | 40.6% | 简单 | |
| 219 | C#LeetCode刷题之#219-存在重复元素 II(Contains Duplicate II) | 26.8% | 简单 | |
| 228 | 43.7% | 中等 | ||
| 229 | 34.4% | 中等 | ||
| 238 | 54.1% | 中等 | ||
| 268 | C#LeetCode刷题之#268-缺失数字(Missing Number) | 45.6% | 简单 | |
| 283 | C#LeetCode刷题之#283-移动零(Move Zeroes) | 50.7% | 简单 | |
| 287 | 53.0% | 中等 | ||
| 289 | 50.2% | 中等 | ||
| 380 | 36.7% | 中等 | ||
| 381 | 26.6% | 困难 | ||
| 414 | C#LeetCode刷题之#414-第三大的数(Third Maximum Number) | 28.1% | 简单 | |
| 442 | 52.9% | 中等 | ||
| 448 | C#LeetCode刷题之#448-找到所有数组中消失的数字(Find All Numbers Disappeared in an Array) | 40.7% | 简单 | |
| 485 | C#LeetCode刷题之#485-最大连续1的个数(Max Consecutive Ones) | 48.5% | 简单 | |
| 495 | 42.7% | 中等 | ||
| 532 | C#LeetCode刷题之#532-数组中的K-diff数对(K-diff Pairs in an Array) | 26.7% | 简单 | |
| 560 | 30.6% | 中等 | ||
| 561 | C#LeetCode刷题之#561-数组拆分 I(Array Partition I) | 58.1% | 简单 | |
| 565 | 38.5% | 中等 | ||
| 566 | C#LeetCode刷题之#566-重塑矩阵( Reshape the Matrix) | 54.4% | 简单 | |
| 581 | C#LeetCode刷题之#581-最短无序连续子数组( Shortest Unsorted Continuous Subarray) | 27.1% | 简单 | |
| 605 | C#LeetCode刷题之#605-种花问题( Can Place Flowers) | 23.8% | 简单 | |
| 611 | 40.6% | 中等 | ||
| 621 | 42.2% | 中等 | ||
| 628 | C#LeetCode刷题之#628-三个数的最大乘积( Maximum Product of Three Numbers) | 37.5% | 简单 | |
| 643 | C#LeetCode刷题之#643-子数组最大平均数 I( Maximum Average Subarray I) | 30.1% | 简单 | |
| 661 | C#LeetCode刷题之#661-图片平滑器( Image Smoother) | 41.4% | 简单 | |
| 665 | C#LeetCode刷题之#665-非递减数列( Non-decreasing Array) | 16.2% | 简单 | |
| 667 | 47.8% | 中等 | ||
| 670 | 31.0% | 中等 | ||
| 674 | C#LeetCode刷题之#674-最长连续递增序列( Longest Continuous Increasing Subsequence) | 33.7% | 简单 | |
| 689 | 24.1% | 困难 | ||
| 695 | C#LeetCode刷题之#695-岛屿的最大面积( Max Area of Island) | 51.2% | 简单 | |
| 697 | C#LeetCode刷题之#697-数组的度( Degree of an Array) | 39.3% | 简单 | |
| 713 | 27.6% | 中等 | ||
| 714 | 34.0% | 中等 | ||
| 715 | 28.6% | 困难 | ||
| 717 | C#LeetCode刷题之#717-1比特与2比特字符( 1-bit and 2-bit Characters) | 39.7% | 简单 | |
| 718 | 36.9% | 中等 | ||
| 719 | 19.5% | 困难 | ||
| 724 | C#LeetCode刷题之#724-寻找数组的中心索引( Find Pivot Index) | 31.0% | 简单 | |
| 729 | 39.1% | 中等 | ||
| 731 | 38.7% | 中等 | ||
| 746 | C#LeetCode刷题之#746-使用最小花费爬楼梯( Min Cost Climbing Stairs) | 37.2% | 简单 | |
| 747 | C#LeetCode刷题之#747-至少是其他数字两倍的最大数( Largest Number At Least Twice of Others) | 37.7% | 简单 | |
| 766 | C#LeetCode刷题之#766-托普利茨矩阵(Toeplitz Matrix)-该题包含外部排序讨论 | 52.0% | 简单 | |
| 768 | 34.9% | 困难 | ||
| 769 | 37.1% | 中等 | ||
| 775 | 31.3% | 中等 | ||
| 782 | 51.7% | 困难 | ||
| 792 | 26.2% | 中等 | ||
| 795 | 35.2% | 中等 | ||
| 825 | 20.1% | 中等 | ||
| 830 | C#LeetCode刷题之#830-较大分组的位置(Positions of Large Groups) | 38.0% | 简单 | |
| 835 | 49.3% | 中等 | ||
| 840 | C#LeetCode刷题之#840-矩阵中的幻方(Magic Squares In Grid) | 25.7% | 简单 | |
| 849 | C#LeetCode刷题之#849-到最近的人的最大距离(Maximize Distance to Closest Person) | 31.4% | 简单 | |
| 867 | C#LeetCode刷题之#867-转置矩阵(Transpose Matrix) | 60.0% | 简单 | |
| 873 | 30.0% | 中等 | ||
| 888 | C#LeetCode刷题之#888-公平的糖果交换(Fair Candy Swap) | 36.5% | 简单 | |
| 891 | 12.0% | 困难 | ||
| 896 | 单调数列 | C#LeetCode刷题之#896-单调数列(Monotonic Array) | 42.9% | 简单 |
C#LeetCode刷题-数组的更多相关文章
- leetcode 刷题 数组类 Two Sum
---恢复内容开始--- Two Sum Given an array of integers ,find two numbers such that they add up to a specifi ...
- LeetCode刷题总结-数组篇(上)
数组是算法中最常用的一种数据结构,也是面试中最常考的考点.在LeetCode题库中,标记为数组类型的习题到目前为止,已累计到了202题.然而,这202道习题并不是每道题只标记为数组一个考点,大部分习题 ...
- LeetCode刷题总结-数组篇(中)
本文接着上一篇文章<LeetCode刷题总结-数组篇(上)>,继续讲第二个常考问题:矩阵问题. 矩阵也可以称为二维数组.在LeetCode相关习题中,作者总结发现主要考点有:矩阵元素的遍历 ...
- LeetCode刷题总结-数组篇(下)
本期讲O(n)类型问题,共14题.3道简单题,9道中等题,2道困难题.数组篇共归纳总结了50题,本篇是数组篇的最后一篇.其他三个篇章可参考: LeetCode刷题总结-数组篇(上),子数组问题(共17 ...
- LeetCode刷题专栏第一篇--思维导图&时间安排
昨天是元宵节,过完元宵节相当于这个年正式过完了.不知道大家有没有投入继续投入紧张的学习工作中.年前我想开一个Leetcode刷题专栏,于是发了一个投票想了解大家的需求征集意见.投票于2019年2月1日 ...
- LeetCode刷题指南(字符串)
作者:CYC2018 文章链接:https://github.com/CyC2018/CS-Notes/blob/master/docs/notes/Leetcode+%E9%A2%98%E8%A7% ...
- leetcode刷题记录--js
leetcode刷题记录 两数之和 给定一个整数数组 nums 和一个目标值 target,请你在该数组中找出和为目标值的那 两个 整数,并返回他们的数组下标. 你可以假设每种输入只会对应一个答案.但 ...
- LeetCode刷题总结之双指针法
Leetcode刷题总结 目前已经刷了50道题,从零开始刷题学到了很多精妙的解法和深刻的思想,因此想按方法对写过的题做一个总结 双指针法 双指针法有时也叫快慢指针,在数组里是用两个整型值代表下标,在链 ...
- Leetcode刷题记录(python3)
Leetcode刷题记录(python3) 顺序刷题 1~5 ---1.两数之和 ---2.两数相加 ---3. 无重复字符的最长子串 ---4.寻找两个有序数组的中位数 ---5.最长回文子串 6- ...
随机推荐
- 从对象到类,Java中需要知道的这些东西
1. 对象的诞生 在平时的开发中,我们使用对象的时候,都是直接new一个临时变量然后进行各种逻辑赋值然后返回,但是你有没有想过一个对象在创建的过程中经历了什么呢,为什么创建时静态变量就已经赋完值了 ...
- TeamX
介绍 TeamX 是基于 SolonJT 平台构建的团队管理小工具,主要功能有: Wiki(团队词条,用于写MD格式接口文档也行...) Planned(项目计划 和 个人日志) Issues(问题管 ...
- Python数据分析之全球人口数据
这篇文章用pandas对全球的人口数据做个简单分析.我收集全球各国1960-2019年人口数据,包含男女和不同年龄段,共6个文件. pop_total.csv: 各国每年总人口 pop_female. ...
- Makefile中自动生成头文件依赖
为什么需要自动生成头文件依赖? 编译单个源文件时,需要获取文件中包含的头文件的信息,但是一般的Makefile不会在规则中明确写明文件依赖的头文件,所以单独修改头文件后,不会导致包含头文件的源文件重新 ...
- Shell基本语法---处理海量数据的grep命令
grep命令 shell脚本三剑客之一 grep应用场景:通常对数据进行 行的提取 语法:grep [选项] [内容] [file] -v 对内容进行取反提取 -n 对提取的内容显示行号 -w 精确匹 ...
- 题解 CF510E 【Fox And Dinner】
可以用网络流解决这个题. 注意到\(a_i \geqslant 2\),所以当相邻数字要和为质数时,这两个数要一个为奇数,一个为偶数. 所以就先将所有数按奇偶分为两列,其就构成了一个二分图,二分图中和 ...
- 京东阅读(web)体验优化
京东有电子书可以购买,可以多端阅读.比如PC客户端,移动端,以及本文提到的PC网站端. 先换个镜头,读书要记笔记(电子版本), 方便以后查阅. 镜头换回来,但是,我们为了方便肯定是想复制,下载啊,分享 ...
- 快速配置webpack+vue项目
第一步:初始化项目 1.npm init 2. package name: (webpack+vue) webpackvue version: (1.0.0) description: this is ...
- intellij IDEA导入maven项目
一.导入maven项目 1.打开intellij idea,点击File(如下图1),然后点击Open(如下图2)
- socket网络
Socket 是进程间通信的一种方式,它与其他进程间通信的一个主要不同是:它能实现不同主机间的进程间通信,我们网络上各种各样的服务大多都是基于 Socket 来完成通信的,例如我们每天浏览网页.QQ ...