Giter VIP home page Giter VIP logo

leetcode's Introduction

LeetCode


編號 題目 難度 題型 備註
0001 Two Sum 簡單
0002 Add Two Numbers 中等 鏈結串列 重要
0003 Longest Substring Without Repeating Characters 中等 字串 重要
0004 Median of Two Sorted Arrays 困難 數學
0005 Longest Palindromic Substring 中等 回文
0006 ZigZag Conversion 中等 矩陣 重要
0007 Reverse Integer 簡單 字串
0008 String to Integer (atoi) 中等 字串 麻煩
0009 Palindrome Number 簡單 字串
0011 Container With Most Water 中等 動態規劃 重要
0012 Integer to Roman 中等 重要
0013 Roman to Integer 簡單 重要
0014 Longest Common Prefix 簡單 字串
0020 Valid Parentheses 簡單 堆疊 重要
0021 Merge Two Sorted Lists 簡單 鏈結串列 重要
0026 Remove Duplicates from Sorted Array 簡單
0027 Remove Element 簡單
0028 Implement strStr() 簡單
0029 Divide Two Integers 中等
0035 Search Insert Position 簡單
0038 Count and Say 簡單 麻煩
0050 Pow(x, n) 簡單 快速幕 重要
0053 Maximum Subarray 簡單 動態規劃 重要
0058 Length of Last Word 簡單
0066 Plus One 簡單
0067 Add Binary 簡單 進位 重要
0069 Sqrt(x) 簡單
0070 Climbing Stairs 簡單 數學
0083 Remove Duplicates from Sorted List 簡單 鏈結串列 重要
0088 Merge Sorted Array 簡單 陣列 重要
0118 Pascal's Triangle 簡單 數學 重要
0119 Pascal's Triangle II 簡單 數學 重要
0121 Best Time to Buy and Sell Stock 簡單 動態規劃 重要
0122 Best Time to Buy and Sell Stock II 簡單 動態規劃 重要
0125 Valid Palindrome 簡單 回文
0136 Single Number 簡單
0155 Min Stack 簡單 堆疊 重要
0162 Find Peak Element 中等
0167 Two Sum II - Input array is sorted 簡單 重要
0168 Excel Sheet Column Title 簡單 數學
0169 Majority Element 簡單
0171 Excel Sheet Column Number 簡單 進位 重要
0172 Factorial Trailing Zeroes 簡單 數學 重要
0189 Rotate Array 簡單
0190 Reverse Bits 簡單 位元 重要
0191 Number of 1 Bits 簡單 位元 重要
0193 Valid Phone Numbers 簡單 正規表示式
0202 Happy Number 簡單
0204 Count Primes 簡單 質數 重要
0205 Isomorphic Strings 簡單 重要
0217 Contains Duplicate 簡單
0219 Contains Duplicate II 簡單 麻煩
0225 Implement Stack using Queues 簡單 堆疊 重要
0229 Majority Element II 中等
0231 Power of Two 簡單
0232 Implement Queue using Stacks 簡單 佇列
0242 Valid Anagram 簡單
0258 Add Digits 簡單
0263 Ugly Number 簡單 因數分解 重要
0268 Missing Number 簡單
0283 Move Zeroes 簡單
0287 Find the Duplicate Number 中等
0290 Word Pattern 簡單 重要
0292 Nim Game 簡單 數學
0303 Range Sum Query - Immutable 簡單
0326 Power of Three 簡單
0342 Power of Four 簡單
0344 Reverse String 簡單
0345 Reverse Vowels of a String 簡單 麻煩
0349 Intersection of Two Arrays 簡單 陣列 重要
0350 Intersection of Two Arrays II 簡單 陣列 重要
0367 Valid Perfect Square 簡單
0371 Sum of Two Integers 簡單
0374 Guess Number Higher or Lower 簡單 二元搜尋 重要
0383 Ransom Note 簡單
0387 First Unique Character in a String 簡單 集合
0389 Find the Difference 簡單
0392 Is Subsequence 簡單 字串 麻煩
0405 Convert a Number to Hexadecimal 簡單 進位 重要
0409 Longest Palindrome 簡單 回文 重要
0412 Fizz Buzz 簡單
0414 Third Maximum Number 簡單
0415 Add Strings 簡單
0434 Number of Segments in a String 簡單
0448 Find All Numbers Disappeared in an Array 簡單 集合
0453 Minimum Moves to Equal Array Elements 簡單 數學 重要
0455 Assign Cookies 簡單
0459 Repeated Substring Pattern 簡單 字串 重要
0461 Hamming Distance 簡單 進位
0462 Minimum Moves to Equal Array Elements II 中等 數學 重要
0507 Perfect Number 簡單
0520 Detect Capital 簡單
0541 Reverse String II 簡單
0557 Reverse Words in a String III 簡單
0561 Array Partition I 簡單
0566 Reshape the Matrix 簡單 矩陣 重要
0581 Shortest Unsorted Continuous Subarray 簡單
0589 N-ary Tree Preorder Traversal 簡單 二元樹 重要
0590 N-ary Tree Postorder Traversal 簡單 二元樹 重要
0595 Big Countries 簡單 SQL
0596 Classes More Than 5 Students 簡單 SQL
0598 Range Addition II 簡單 矩陣 重要
0599 Minimum Index Sum of Two Lists 簡單
0627 Swap Salary 簡單 SQL
0628 Maximum Product of Three Numbers 簡單 麻煩
0633 Sum of Square Numbers 簡單 重要
0645 Set Mismatch 簡單 陣列 麻煩
0680 Valid Palindrome II 簡單 回文 麻煩
0693 Binary Number with Alternating Bits 簡單
0700 Search in a Binary Search Tree 簡單 二元樹 重要
0709 To Lower Case 簡單
0717 1-bit and 2-bit Characters 簡單 字串 重要
0724 Find Pivot Index 簡單 重要
0728 Self Dividing Numbers 簡單
0744 Find Smallest Letter Greater Than Target 簡單
0747 Largest Number At Least Twice of Others 簡單
0762 Prime Number of Set Bits in Binary Representation 簡單 重要
0766 Toeplitz Matrix 簡單 矩陣 重要
0771 Jewels and Stones 簡單
0788 Rotated Digits 簡單 集合 重要
0796 Rotate String 簡單
0804 Unique Morse Code Words 簡單
0811 Subdomain Visit Count 簡單 重要
0812 Largest Triangle Area 簡單 數學
0832 Flipping an Image 簡單
0852 Peak Index in a Mountain Array 簡單
0860 Lemonade Change 簡單
0867 Transpose Matrix 簡單 矩陣 重要
0893 Groups of Special-Equivalent Strings 簡單 字串
0905 Sort Array By Parity 簡單
0908 Smallest Range I 簡單
0910 Smallest Range II 中等 動態規劃 重要
0914 X of a Kind in a Deck of Cards 簡單 重要
0917 Reverse Only Letters 簡單
0922 Sort Array By Parity II 簡單
0938 Range Sum of BST 簡單 二元樹 重要
0942 DI String Match 簡單
0961 N-Repeated Element in Size 2N Array 簡單
0976 Largest Perimeter Triangle 簡單 數學
0977 Squares of a Sorted Array 簡單
1002 Find Common Characters 簡單 字串
1005 Maximize Sum Of Array After K Negations 簡單 重要
1013 Partition Array Into Three Parts With Equal Sum 簡單
1021 Remove Outermost Parentheses 簡單 堆疊 重要
1108 Defanging an IP Address 簡單
1179 Reformat Department Table 簡單 SQL
1185 Day of the Week 簡單 日期
1200 Minimum Absolute Difference 簡單 重要
1207 Unique Number of Occurrences 簡單
1221 Split a String in Balanced Strings 簡單 堆疊 重要
1232 Check If It Is a Straight Line 簡單
1237 Find Positive Integer Solution for a Given Equation 簡單 函數 重要
1252 Find Cells with Odd Values in a Matrix 簡單 矩陣 重要
1260 Shift 2D Grid 簡單 矩陣 重要
1266 Minimum Time Visiting All Points 簡單 路徑
1275 Find Winner on a Tic Tac Toe Game 簡單 矩陣 重要
1281 Subtract the Product and Sum of Digits of an Integer 簡單
1287 Element Appearing More Than 25% In Sorted Array 簡單
1290 Convert Binary Number in a Linked List to Integer 簡單 鏈結串列 重要
1295 Find Numbers with Even Number of Digits 簡單
1299 Replace Elements with Greatest Element on Right Side 簡單
1304 Find N Unique Integers Sum up to Zero 簡單
1309 Decrypt String from Alphabet to Integer Mapping 簡單
1313 Decompress Run-Length Encoded List 簡單
1317 Convert Integer to the Sum of Two No-Zero Integers 簡單
1329 Sort the Matrix Diagonally 中等 矩陣 待解
1331 Rank Transform of an Array 簡單 排序 重要
1332 Remove Palindromic Subsequences 簡單 回文
1337 The K Weakest Rows in a Matrix 簡單 排序 重要
1338 Reduce Array Size to The Half 中等 排序 重要
1342 Number of Steps to Reduce a Number to Zero 簡單
1346 Check If N and Its Double Exist 簡單
1351 Count Negative Numbers in a Sorted Matrix 簡單
1356 Sort Integers by The Number of 1 Bits 簡單 進位 重要
1360 Number of Days Between Two Dates 簡單 日期
1365 How Many Numbers Are Smaller Than the Current Number 簡單
1370 Increasing Decreasing String 簡單 集合 重要
1374 Generate a String With Characters That Have Odd Counts 簡單 思考
1380 Lucky Numbers in a Matrix 簡單 矩陣
1385 Find the Distance Value Between Two Arrays 簡單 矩陣
1389 Create Target Array in the Given Order 簡單
1394 Find Lucky Integer in an Array 簡單
1431 Kids With the Greatest Number of Candies 簡單
1436 Destination City 簡單 集合
1450 Number of Students Doing Homework at a Given Time 簡單
1460 Make Two Arrays Equal by Reversing Sub-arrays 簡單
1464 Maximum Product of Two Elements in an Array 簡單
1470 Shuffle the Array 簡單
1480 Running Sum of 1d Array 簡單
1486 XOR Operation in an Array 簡單
1512 Number of Good Pairs 簡單
1528 Shuffle String 簡單
1572 Matrix Diagonal Sum 簡單 矩陣
1588 Sum of All Odd Length Subarrays 簡單

leetcode's People

Contributors

wuling31715 avatar

Stargazers

Willie Hung avatar

Watchers

James Cloos avatar ChunPing Chung avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.