000.A.htm

000.htm

Check Digit pattern

Compare String Mix with digit

Dinosaurs question

Find a local minima in an array.htm

FindFirstOne

FindRange

Joseph ring problem

Longest Arithmetic Progression.htm

Print Matrix

Round robin Iterator

Sample With Same Probability

TaskSchedule - keeporder

deleteBSTMode.htm

fb

gg

gg

shuffle algorithm

1. Two Sum

2. Add Two Numbers

3. Longest Substring Without Repeating Characters amz

4. Median of Two Sorted Arrays

5. Longest Palindromic Substring

7. Reverse Integer

8. String to Integer (atoi)

9. Palindrome Number

10. Regular Expression Matching

11. Container With Most Water

12. Integer to Roman

13. Roman to Integer

14. Longest Common Prefix

15. 3Sum

16. 3Sum Closest

17. Letter Combinations of a Phone Number

19. Remove Nth Node From End of List

20. Valid Parentheses

21. Merge Two Sorted Lists

22. Generate Parentheses

23. Merge k Sorted Lists

24. Swap Nodes in Pairs

25. Reverse Nodes in k-Group

26. Remove Duplicates from Sorted Array

27. Remove Element

28. Implement strStr()

29. Divide Two Integers

31. Next Permutation

32. Longest Valid Parentheses

33. Search in Rotated Sorted Array

34. Find First and Last Position of Element in Sorted Array

35. Search Insert Position

36. Valid Sudoku

37. Sudoku Solver

38. Count and Say

39. Combination Sum

41. First Missing Positive

42. Trapping Rain Water

43. Multiply Strings

44. Wildcard Matching

45. Jump Game II

46. Permutations

47. Permutations II (contain duplicates)

48. Rotate Image

49. Group Anagrams

50. Pow(x, n)

51. N-Queens

53. Maximum Subarray

54. Spiral Matrix

55. Jump Game

56. Merge Intervals

56. Merge Intervals

57. Insert Interval

58. Length of Last Word

59. Spiral Matrix II

60. Permutation Sequence

62. Unique Paths

63. Unique Paths II

64. Minimum Path Sum

65. Valid Number

67. Add Binary

68. Text Justification

69. Sqrt(x)

70. Climbing Stairs

71. Simplify Path

72. Edit Distance

73. Set Matrix Zeroes

74. Search a 2D Matrix

75. Sort Colors

76. Minimum Window Substring

77. Combinations

78. Subsets

79. Word Search

81. Search in Rotated Sorted Array II

83. Remove Duplicates from Sorted List

84. Largest Rectangle in Histogram

85. Maximal Rectangle

86. Partition List

88. Merge Sorted Array

90. Subsets II(contain duplicates)

91. Decode Ways

92. Reverse Linked List II

93. Restore IP Addresses

94. Binary Tree Inorder Traversal

95. Unique Binary Search Trees II

97. Interleaving String

98. Validate Binary Search Tree

99. Recover Binary Search Tree

100. Same Tree

101. Symmetric Tree

102. Binary Tree Level Order Traversal

103. Binary Tree Zigzag Level Order Traversal

104. Maximum Depth of Binary Tree

105. Construct Binary Tree from Preorder and Inorder Traversal

106. Construct Binary Tree from Inorder and Postorder Traversal

107. Binary Tree Level Order Traversal II-bottom up

109. Convert Sorted List to Binary Search Tree

110. Balanced Binary Tree

111. Minimum Depth of Binary Tree

114. Flatten Binary Tree to Linked List

116. Populating Next Right Pointers in Each Node

117. Populating Next Right Pointers in Each Node I

120. Triangle

121. Best Time to Buy and Sell Stock

122. Best Time to Buy and Sell Stock II

123. Best Time to Buy and Sell Stock III

124. Binary Tree Maximum Path Sum

125. Valid Palindrome

126. Word Ladder II

127. Word Ladder

133. Clone Graph

134. Gas Station

135. Candy

138. Copy List with Random Pointer

139. Word Break

140. Word Break II

141. Linked List Cycle

142. Linked List Cycle II

143. Reorder List

144. Binary Tree Preorder Traversal

145. Binary Tree Postorder Traversal

146. LRU Cache

149. Max Points on a Line

150. Evaluate Reverse Polish Notation

151. Reverse Words in a String

153. Find Minimum in Rotated Sorted Array

155. Min Stack

157. Read N Characters Given Read4

158. Read N Characters Given Read4 II - Call multiple times

159. Longest Substring with At Most Two Distinct Characters.htm

159. Longest Substring with At Most Two Distinct Characters

160. Intersection of Two Linked Lists

161. One Edit Distance

162. Find Peak Element

163. Missing Ranges

165. Compare Version Numbers

167. Two Sum II - Input array is sorted

168. Excel Sheet Column Title

169. Majority Element

171. Excel Sheet Column Number

172. Factorial Trailing Zeroes

173. Binary Search Tree Iterator

174. Dungeon Game

186. Reverse Words in a String II

189. Rotate Array

191. Number of 1 Bits

199. Binary Tree Right Side View

200. Number of Islands

203. Remove Linked List Elements

204. Count Primes

205. Isomorphic Strings

206. Reverse Linked List

207. Course Schedule

208. Implement Trie

209. Minimum Size Subarray Sum

210. Course Schedule II

211. Add and Search Word - Data structure design

212. Word Search II

215. Kth Largest Element in an Array

216. Combination Sum III-k add up to n

218. The Skyline Problem

220. Contains Duplicate III-Ai Aj is t while I j is k

221. Maximal Square

222. Count Complete Tree Nodes

224. Basic Calculator

227. Basic Calculator II

229. Majority Element II

230. Kth Smallest Element in a BST

232. Implement Queue using Stacks

233. Number of Digit One

234. Palindrome Linked List

235. Lowest Common Ancestor of a Binary Search Tree

236. Lowest Common Ancestor of a Binary Tree

237. Delete Node in a Linked List

238. Product of Array Except Self

239. Sliding Window Maximum

240. Search a 2D Matrix II

242. Valid Anagram

243. Shortest Word Distance

246. Strobogrammatic Number

247. Strobogrammatic Number II

248. Strobogrammatic Number III

249. Group Shifted Strings

251. Flatten 2D Vector

252. Meeting Rooms

253. Meeting Rooms II

257. Binary Tree Paths

261. Graph Valid Tree

266. Palindrome Permutation

268. Missing Number

269. Alien Dictionary

270. Closest Binary Search Tree Value

272. Closest Binary Search Tree Value II( find k values )

273. Integer to English Words

277. Find the Celebrity

278. First Bad Version

279. Perfect Squares

280. Wiggle Sort

281. Zigzag Iterator

282. Expression Add Operators

283. Move Zeroes

284. Peeking Iterator

285. Inorder Successor in BST

286. Walls and Gates

287. Find the Duplicate Number

289. Game of Life

290. Word Pattern

295. Find Median from Data Stream

297. Serialize and Deserialize Binary Tree

298. Binary Tree Longest Consecutive Sequence

299. Bulls and Cows

299. Bulls and Cows

300. Longest Increasing Subsequence

301. Remove Invalid Parentheses

304. Range Sum Query 2D - Immutable

305. Number of Islands II

308. Range Sum Query 2D Mutable

311. Sparse Matrix Multiplication

314. Binary Tree Vertical Order Traversal

315. Count of Smaller Numbers After Self

316. Remove Duplicate Letters

317. Shortest Distance from All Buildings

322. Coin Change

323. Number of Connected Components in an Undirected Graph

325. Maximum Size Subarray Sum Equals k

328. Odd Even Linked List

329. Longest Increasing Path in a Matrix

332. Reconstruct Itinerary

333. Largest BST Subtree

336. Palindrome Pairs

339. Nested List Weight Sum

340. Longest Substring with At Most K Distinct Characters

341. Flatten Nested List Iterator

344. Reverse String

346. Moving Average from Data Stream

347. Top K Frequent Elements

348. Design Tic-Tac-Toe

349. Intersection of Two Arrays

353. Design Snake Game

358. Rearrange String k Distance Apart

359. Logger Rate Limiter

362. Design Hit Counter

373. Find K Pairs with Smallest Sums

378. Kth Smallest Element in a Sorted Matrix

380. Insert Delete GetRandom O(1)

381. Insert Delete GetRandom O(1) - Duplicates allowed

382. Linked List Random Node

383. Ransom Note

384. Shuffle an Array

387. First Unique Character in a String

393. UTF-8 Validation

394. Decode String

397. Integer Replacement

398. Random Pick Index

399. Evaluate Division

402. Remove K Digits

403. Frog Jump

407. Trapping Rain Water II

410. Split Array Largest Sum

414. Third Maximum Number

415. Add Strings

416. Partition Equal Subset Sum

417. Pacific Atlantic Water Flow

418. Sentence Screen Fitting

419. Battleships in a Board

424. Longest Repeating Character Replacement

426. Convert Binary Search Tree to Sorted Doubly Linked List

427. Construct Quad Tree.htm

428. Serialize and Deserialize N-ary Tree

430. Flatten a Multilevel Doubly Linked List

438. Find All Anagrams in a String

442. Find All Duplicates in an Array

445. Add Two Numbers II ( two non-empty linked lists)

447. Number of Boomerangs

448. Find All Numbers Disappeared in an Array

449. Serialize and Deserialize BST

450. Delete Node in a BST

452. Minimum Number of Arrows to Burst Balloons

457. Circular Array Loop

463. Island Perimeter

464. Can I Win

475. Heaters

477. Total Hamming Distance

482. License Key Formatting.htm

486. Predict the Winner

489. Robot Room Cleaner

490. The Maze

493. Reverse Pairs

494. Target Sum

496. Next Greater Element I

503. Next Greater Element II

509. Fibonacci Number

516. Longest Palindromic Subsequence

518. Coin Change 2

523. Continuous Subarray Sum

524. Longest Word in Dictionary through Deleting

527. Word Abbreviation

528. Random Pick with Weight

532. K-diff Pairs in an Array

535. Encode and Decode TinyURL

536. Construct Binary Tree from String

538. Convert BST to Greater Tree

543. Diameter of Binary Tree

544. Output Contest Matches

545. Boundary of Binary Tree

547. Friend Circles

548. Split Array with Equal Sum

556. Next Greater Element III

557. Reverse Words in a String III

560. Subarray Sum Equals K

562. Longest Line of Consecutive One in Matrix

564. Find the Closest Palindrome

572. Subtree of Another Tree

580. Count Student Number in Departments

585. Investments in 2016

611. Valid Triangle Number

621. Task Scheduler

622. Design Circular Queue

622. Design Circular Queue

632. Smallest Range

636. Exclusive Time of Functions

640. Solve the Equation

642. Design Search Autocomplete System

647. Palindromic Substrings

652. Find Duplicate Subtrees

653. Two Sum IV - Input is a BST

654. Maximum Binary Tree

658. Find K Closest Elements

662. Maximum Width of Binary Tree

669. Trim a Binary Search Tree

674. Longest Continuous Increasing Subsequence

675. Cut Off Trees for Golf Event

678. Valid Parenthesis String

679. 24 Game

680. Valid Palindrome II(delete at most one character)

681. Next Closest Time.htm

682. Baseball Game

683. K Empty Slots

684. Redundant Connection

689. Maximum Sum of 3 Non-Overlapping Subarrays

692. Top K Frequent Words

694. Number of Distinct Islands

695. Max Area of Island

701. Insert into a Binary Search Tree

703. Kth Largest Element in a Stream

706. Design HashMap

708. Insert into a Cyclic Sorted List

716. Max Stack

721. Accounts Merge

724. Find Pivot Index

727. Minimum Window Subsequence

727. Minimum Window Subsequence

729. My Calendar I

731. My Calendar II

733. Flood Fill

734. Sentence Similarity

735. Asteroid Collision

739. Daily Temperatures

743. Network Delay Time

750. Number Of Corner Rectangles

752. Open the Lock

753. Cracking the Safe

763. Partition Labels

766. Toeplitz Matrix

767. Reorganize String

771. Jewels and Stones

772. Basic Calculator III

777. Swap Adjacent in LR String

783. Minimum Distance Between BST Nodes

784. Letter Case Permutation

785. Is Graph Bipartite

787. Cheapest Flights Within K Stops

791. Custom Sort String

793. Preimage Size of Factorial Zeroes Function

794. Valid Tic-Tac-Toe State

796. Rotate String

803. Bricks Falling When Hit

809. Expressive Words

811. Subdomain Visit Count

815. Bus Routes

818. Race Car

819. Most Common Word

827. Making A Large Island

833. Find And Replace in String

835. Image Overlap

836. Rectangle Overlap

843. Guess the Word

844. Backspace String Compare

846. Hand of Straights

849. Maximize Distance to Closest Person

857. Minimum Cost to Hire K Workers

863. All Nodes Distance K in Binary Tree

865. Smallest Subtree with all the Deepest Nodes

885. Spiral Matrix III.htm

889. Construct Binary Tree from Preorder and Postorder Traversal

895. Maximum Frequency Stack

900. RLE Iterator

904. Fruit Into Baskets.htm

909. Snakes and Ladders

911. Online Election

912. Sort an Array

917. Reverse Only Letters

918. Maximum Sum Circular Subarray

921. Minimum Add to Make Parentheses Valid

929. Unique Email Addresses.htm

937. Reorder Log Files

939. Minimum Area Rectangle

939. Minimum Area Rectangle

947. Most Stones Removed with Same Row or Column

953. Verifying an Alien Dictionary

957. Prison Cells After N Days

958. Check Completeness of a Binary Tree

962. Maximum Width Ramp.htm

973. K Closest Points to Origin

977. Squares of a Sorted Array

979. Distribute Coins in Binary Tree

981. Time Based Key-Value Store

986. Interval List Intersections

987. Vertical Order Traversal of a Binary Tree

1027. Longest Arithmetic Sequence.htm

1054. Distant Barcodes

1094. Car Pooling

1130. Minimum Cost Tree From Leaf Values

1132. Shortest Path with Alternating Colors

1133. Maximum of Absolute Value Expression

88888. Maximal Rectangle