Skip to content
LeetCode Top 100 Liked Questions | Top Interview Questions | LeetCode 用户最喜欢的100题 | 面试最容易被问到的题
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
code
.gitignore
Top100.md
TopInterview.md
readme.md

readme.md

LeetCode 指南

  • 语言: Java

  • 说明: 每道题在代码头部都添加了我的解题思路和批注,Eg:

      /*****
       * 287. Find the Duplicate Number
       * 题意:n+1个数属于[1~n],找出重复的那个数
       * 难度:Medium
       * 分类:Array, Two Pointers, Binary Search
       * 思路:如果nums[i]不在对应位置,则和对应位置交换。如果对应位置上也为该数,说明这个数就是重复的数字。这个方法改变了数组。是错误的。
       *      另一种方法,把问题转换成有环链表,找环的起始节点。O(n) O(1) lc142
       *      二分查找,每次看一边数字的个数, O(nlog(n)) O(1)
       * Tips:剑指offer原题
       */
    

RoadMap

LeetCode Problems I have Soved

001 Java | 002 Java | 003 Java | 004 Java | 005 Java | 007 Java | 008 Java | 009 Java | 010 Java | 011 Java | 013 Java | 014 Java | 015 Java | 016 Java | 017 Java | 019 Java | 020 Java | 021 Java | 022 Java | 023 Java | 024 Java | 026 Java | 027 Java | 028 Java | 029 Java | 031 Java | 032 Java | 033 Java | 034 Java | 034 Java | 036 Java | 038 Java | 039 Java | 041 Java | 042 Java | 043 Java | 044 Java | 046 Java | 048 Java | 049 Java | 050 Java | 053 Java | 054 Java | 055 Java | 056 Java | 058 Java | 062 Java | 063 Java | 064 Java | 066 Java | 069 Java | 070 Java | 072 Java | 073 Java | 075 Java | 076 Java | 078 Java | 079 Java | 084 Java | 085 Java | 088 Java | 091 Java | 094 Java | 095 Java | 096 Java | 098 Java | 100 Java | 101 Java | 102 Java | 103 Java | 104 Java | 105 Java | 108 Java | 112 Java | 113 Java | 114 Java | 116 Java | 118 Java | 119 Java | 120 Java | 121 Java | 122 Java | 123 Java | 124 Java | 125 Java | 127 Java | 128 Java | 129 Java | 130 Java | 131 Java | 134 Java | 136 Java | 138 Java | 139 Java | 140 Java | 141 Java | 142 Java | 144 Java | 145 Java | 146 Java | 148 Java | 149 Java | 150 Java | 151 Java | 152 Java | 155 Java | 160 Java | 162 Java | 166 Java | 169 Java | 171 Java | 172 Java | 179 Java | 188 Java | 189 Java | 190 Java | 191 Java | 198 Java | 200 Java | 202 Java | 204 Java | 206 Java | 207 Java | 208 Java | 210 Java | 212 Java | 213 Java | 215 Java | 217 Java | 218 Java | 221 Java | 226 Java | 227 Java | 230 Java | 234 Java | 236 Java | 237 Java | 238 Java | 239 Java | 240 Java | 242 Java | 263 Java | 264 Java | 268 Java | 279 Java | 283 Java | 287 Java | 295 Java | 297 Java | 300 Java | 301 Java | 303 Java | 309 Java | 312 Java | 315 Java | 322 Java | 324 Java | 326 Java | 328 Java | 329 Java | 334 Java | 337 Java | 338 Java | 341 Java | 344 Java | 347 Java | 350 Java | 371 Java | 378 Java | 380 Java | 384 Java | 387 Java | 394 Java | 395 Java | 406 Java | 412 Java | 416 Java | 437 Java | 438 Java | 448 Java | 454 Java | 461 Java | 494 Java | 538 Java | 543 Java | 560 Java | 572 Java | 581 Java | 617 Java | 621 Java | 647 Java | 714 Java | 746 Java | 771 Java | 877 Java | 983 Java

You can’t perform that action at this time.