• Stars
    star
    390
  • Rank 110,242 (Top 3 %)
  • Language
    Java
  • Created almost 6 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

LeetCode Top 100 Liked Questions | Top Interview Questions | LeetCode 用户最喜欢的100题 | 面试最容易被问到的题

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 | 051 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 | 087 Java | 088 Java | 091 Java | 094 Java | 095 Java | 096 Java | 097 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 | 153 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 | 199 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 | 343 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 | 493 Java | 494 Java | 538 Java | 542 Java | 543 Java | 559 Java | 560 Java | 572 Java | 581 Java | 589 Java | 590 Java | 617 Java | 621 Java | 647 Java | 685 Java | 714 Java | 746 Java | 771 Java | 834 Java | 877 Java | 912 Java | 921 Java | 922 Java | 923 Java | 978 Java | 983 Java | 1025 Java | 1026 Java | 1027 Java | 1028 Java | 1093 Java | 1094 Java