Leecode 代码练习

Leecode 代码练习

sheet1

13. Roman to Integer

26. Remove Duplicates from Sorted Array

217.Contains Duplicate

392. Is Subsequence

118. Pascal's Triangle

119. Pascal's Triangle II

14. Longest Common Prefix

bonus

6. ZigZag Conversion

48. Rotate Image

sheet2

387. First Unique Character in a String

500. Keyboard Row

205. Isomorphic Strings

290. Word Pattern

414. Third Maximum Number

416. Partition Equal Subset Sum

bonus

12. Integer to Roman

424. Longest Repeating Character Replacement

sheet3

507. Perfect Number

204. Count Primes

228. Summary Ranges

541. Reverse String II

696. Count Binary Substrings

690. Employee Importance

bonus

227. Basic Calculator II

438. Find All Anagrams in a String

sheet4

509. Fibonacci Number

268. Missing Number

283. Move Zeroes

821. Shortest Distance to a Character

830. Positions of Large Groups

1160. Find Words That Can Be Formed by Characters

bonus

264. Ugly Number II

451. Sort Characters By Frequency

260. Single Number III

sheet5

812. Largest Triangle Area

303. Range Sum Query - Immutable

350. Intersection of Two Arrays II

1207. Unique Number of Occurrences

828. Count Unique Characters of All Substrings of a Given String

1636. Sort Array by Increasing Frequency

bonus

869. Reordered Power of 2

535. Encode and Decode TinyURL

322. Coin Change

sheet6

914. X of a Kind in a Deck of Cards

410. Split Array Largest Sum

455. Assign Cookies

557. Reverse Words in a String III

748. Shortest Completing Word

1640. Check Array Formation Through Concatenation

bonus

1006. Clumsy Factorial

609. Find Duplicate File in System

347. Top K Frequent Elements

sheet7

989. Add to Array-Form of Integer

496. Next Greater Element I

575. Distribute Candies

819. Most Common Word

844. Backspace String Compare

1684. Count the Number of Consistent Strings

bonus

648. Replace Words

393. UTF-8 Validation

sheet8

1317. Convert Integer to the Sum of Two No-Zero Integers

594. Longest Harmonious Subsequence

599. Minimum Index Sum of Two Lists

953. Verifying an Alien Dictionary

1002. Find Common Characters

1742. Maximum Number of Balls in a Box

1329. Sort the Matrix Diagonally

bonus

720. Longest Word in Dictionary

491. Increasing Subsequences

Last updated

Was this helpful?