Giter Site home page Giter Site logo

saiprashanth-1993 / competitive-practice Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rohantrix/competitive-practice

0.0 0.0 0.0 47.15 MB

My solutions of different Competitive Programming questions from different websites

Python 5.73% Java 93.54% C++ 0.72%

competitive-practice's Introduction

Completed Problems


██▓▒­░⡷⠂Leetcode⠐⢾░▒▓██

codeforces

  1. Sort Colors
  2. Maximum Subarray
  3. Last Stone Weight
  4. Find The Duplicate Number --IMP --Revise
  5. Determine if Two Strings Are Close
  6. Design an Ordered Stream
  7. Minimum Operations to Reduce X to Zero
  8. House Robber (DP)
  9. Coin Change 2 (DP)
  10. Coin Change (DP)
  11. Edit Distance(DP) --IMP --Hard
  12. Longest_Common_Subsequence (DP)
  13. Jump Game II (DP) --Revise --IMP
  14. First Unique Character in a String
  15. Best Time to Buy and Sell Stock (DP)
  16. Best Time to Buy and Sell Stock 2 (DP)
  17. Best Time to Buy and Sell Stock 3 (DP) --Hard --Revise
  18. Best Time to Buy and Sell Stock 4 (DP) --Hard --Revise
  19. Jump Game (Greedy)
  20. Richest Customer Wealth
  21. Find the Most Competitive Subsequence (Stack) --IMP
  22. Maximum Depth of Binary Tree (Tree)
  23. Shortest Word Distance (Two-pointer)
  24. Linked List Random Node (Randomized Algo) --IMP
  25. Two Sum
  26. Binary Tree Inorder Traversal (Tree)
  27. Increasing_Order_Search_Tree (Tree)
  28. The kth Factor of n
  29. Can Place Flowers
  30. Goal Parser Interpretation
  31. Max Number of K-Sum Pairs
  32. Populating Next Right Pointers in Each Node II
  33. Spiral Matrix II
  34. Pairs of Songs With Total Durations Divisible by 60
  35. Binary Search Tree Iterator (Tree)
  36. Valid Mountain Array
  37. Remove Duplicates from Sorted Array II
  38. Count the Number of Consistent Strings
  39. Sum of Absolute Differences in a Sorted Array
  40. Smallest Subtree with all the Deepest Nodes
  41. Burst Baloons (LR DP) --IMP Concept --Hard
  42. Palindrome Partitioning (Backtracking) --IMP
  43. Squares of a Sorted Array
  44. Plus One Linked List
  45. Validate Binary Search Tree (BST) --IMP
  46. 4Sum II
  47. Increasing Triplet Subsequence --IMP
  48. Cherry Pickup II
  49. Decoded String at Index --Hard
  50. Smallest Range II --Tricky --Revise
  51. Swap Nodes in Pairs --Revise
  52. Diagonal Traverse
  53. Number of Students Unable to Eat Lunch
  54. Average Waiting Time
  55. Determine if String Halves Are Alike
  56. Middle of the Linked List
  57. Rotate List
  58. Reverse Linked List
  59. Jump Game IV (BFS) --IMP
  60. Reach a Number --Tricky --IMP
  61. Partition Equal Subset Sum (DP)
  62. Target Sum (DP) --IMP
  63. Combination Sum (DP) (Backtracing) --IMP --Revise
  64. Combination Sum II (Backtracking) --IMP --Revise
  65. Maximum Number of Balls in a Box
  66. Number of 1 Bits
  67. Trim a Binary Search Tree (Tree)
  68. Linked List Cycle
  69. Search in a Binary Search Tree (Tree)
  70. Arithmetic Slices (DP) --IMP --Revise
  71. Number of Islands (DFS on grid) (Graphs)
  72. Distribute Candies
  73. Set Mismatch
  74. Missing Number
  75. Intersection of Two Linked Lists
  76. Average of Levels in Binary Tree
  77. Short Encoding of Words --Revise
  78. Design HashMap
  79. Remove Palindromic Subsequences
  80. Add One Row to Tree (Tree) --Revise
  81. Integer to Roman
  82. Check If a String Contains All Binary Codes of Size K --Revise
  83. Binary Trees With Factors (DP) --Revise ---IMP
  84. Swapping Nodes in a Linked List
  85. Best Time to Buy and Sell Stock with Transaction Fee (DP) --Revise ---IMP
  86. Invert Binary Tree (Tree)
  87. Add Two Numbers
  88. Wiggle Subsequence (DP) --Revise --IMP
  89. Max Consecutive Ones III (Slding Window) --IMP
  90. Keys and Rooms (DFS)
  91. Longest Substring Without Repeating Characters (Sliding Window)
  92. Course Schedule (Graphs) --IMP
  93. Second Largest Digit in a String
  94. Design Authentication Manager
  95. Reordered Power of 2
  96. Find a Corresponding Node of a Binary Tree in a Clone of That Tree (Tree)
  97. Sum of Nodes with Even-Valued Grandparent (Tree)
  98. Deepest Leaves Sum (Tree)
  99. Range Sum of BST (Tree)
  100. Binary Search (Binary Search)
  101. Valid Square
  102. Check if the Sentence Is Pangram
  103. Maximum Ice Cream Bars (Sorting)
  104. Replace All Digits with Characters
  105. Seat Reservation Manager
  106. Maximum Element After Decreasing and Rearranging (Sorting)
  107. Range Sum of Sorted Subarray Sums (Prefix Sum)
  108. Range Sum Query 2D - Immutable (DP)
  109. Minimum Distance to the Target Element
  110. Splitting a String Into Descending Consecutive Values (Backtracking)
  111. Next Permutation --Revise --IMP
  112. Non-decreasing Array --Revise --Tricky
  113. Path Sum (Tree)
  114. Search in Rotated Sorted Array (Binary Search)
  115. Climbing Stairs (DP)
  116. Convert Sorted List to Binary Search Tree (DnC) (Tree) --Revise --Tricky
  117. Find First and Last Position of Element in Sorted Array (Binary Search) --IMP
  118. First Bad Version (Binary Search)
  119. Rotting Oranges (BFS)
  120. Delete Operation for Two Strings (DP)
  121. Capacity To Ship Packages Within D Days (Binary Search) --Revise --IMP
  122. Koko Eating Bananas (Binary Search) --Revise
  123. Maximum Population Year
  124. Maximum Distance Between a Pair of Values (Binary Search)
  125. Split Array Largest Sum (Binary Search) --Revise --Hard
  126. Maximum Points You Can Obtain from Cards (Sliding Window) (Prefix Sum)
  127. Minimum Number of Days to Make m Bouquets (Binary Search) --Revise
  128. Sorting the Sentence
  129. Incremental Memory Leak
  130. Rotating the Box
  131. Daily Temperatures( Monotonic Stack)
  132. Product of Array Except Self --IMP
  133. Maximum Erasure Value (Slidign Window)
  134. Out of Boundary Paths (DP)
  135. 3Sum (Two Pointer)
  136. Find K Closest Elements (Binary Search) --IMP --Tricky --Revise
  137. Maximum Product Difference Between Two Pairs (Sorting)
  138. Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold (Sliding Window)
  139. Same Tree (Tree)
  140. Symmetric Tree (Tree)
  141. Kth Smallest Element in a BST (Tree)
  142. Eliminate Maximum Number of Monsters (Greedy) (Priority Queue) --IMP
  143. All Paths From Source to Target (Graphs) (DFS) --IMP
  144. Video Stitching (DP) (Greedy) --Revise
  145. Max Area of Island (DFS)
  146. Island Perimeter (DFS)
  147. Path Sum II (Tree) (DFS)
  148. Reduce Array Size to The Half
  149. Merge k Sorted Lists (Linked List) --HARD --Revise
  150. Merge Intervals (Greedy)
  151. Two City Scheduling (Greedy)
  152. Minimum Number of Arrows to Burst Balloons (Greedy) (Line Sweep)
  153. Find Bottom Left Tree Value (Tree)
  154. Combination Sum III (Backtracking)
  155. Smallest Range I
  156. Valid Triangle Number (Two Pointer)
  157. Non-Overlapping Intervals (Greedy)
  158. Remove Nth Node From End of List
  159. Maximum Profit in Job Scheduling (DP + Binary Search) --Hard --IMP
  160. Surrounded Regions (DFS)
  161. Nearest Exit from Entrance in Maze (BFS)
  162. Course Schedule II (Graphs) (Topsort)
  163. Nim Game
  164. Delete and Earn (DP) --IMP --Revise --Tricky
  165. Contains Duplicate
  166. Maximum Difference Between Node and Ancestor (Tree) --IMP
  167. Unique Paths (DP)
  168. Binary Tree Pruning (Tree)
  169. Minimum ASCII Delete Sum for Two Strings (DP)
  170. 3Sum Closest (Two Pointer)
  171. Matrix Block Sum (Prefix Sum)
  172. Decrease Elements To Make Array Zigzag --Revise
  173. Reverse Words in a String III
  174. Find Minimum Time to Finish All Jobs (Binary Search) (DFS) --Revise --IMP --Hard
  175. Minimum Limit of Balls in a Bag (Binary Search) --Tricky --Revise
  176. Longest Happy Prefix (KMP)
  177. Shortest Palindrome (KMP)
  178. Stone Game (Greedy)
  179. Minimum Path Sum (Grid DP)
  180. Jump Game III (BFS)
  181. Plus One
  182. Critical Connections in a Network (Graphs) (Bridges) --Hard --Revise
  183. Minimum Height Trees (Graphs) (Center of Tree) --IMP
  184. Kth Ancestor of a Tree Node (Graphs) (Binary Lifting) --IMP --Hard
  185. Design Add and Search Words Data Structure (Trie)
  186. Last Day Where You Can Still Cross (Binary Search) (BFS)
  187. Array With Elements Not Equal to Average of Neighbors
  188. Group the People Given the Group Size They Belong To
  189. Number of Substrings With Only 1s
  190. Binary Tree Maximum Path Sum --Revise --IMP
  191. Count Vowels Permutation (DP)
  192. Sum of Even Numbers After Queries
  193. Palindromic Substrings (DP)
  194. Longest Palindromic Substring (DP) --Revise --IMP
  195. Minimum Number of Vertices to Reach All Nodes (Graph) --Revise
  196. Redundant Connection (DSU)
  197. Binary Tree Zigzag Level Order Traversal (Tree) (BFS)
  198. Minimum Size Subarray Sum (Sliding Window)
  199. Longest Palindromic Subsequence (DP) --Revise
  200. Contiguous Array --IMP CONCEPT __Revise
  201. Number of Ways to Arrive at Destination (Graphs) (Dijkstra) --IMP
  202. Array Nesting (DSU)
  203. Path with Maximum Probability (Graphs) (Dijkstra)
  204. Top K Frequent Elements (Bucket Sort) --IMP concept
  205. Unique Paths II (DP)
  206. Number of Operations to Make Network Connected (DSU)
  207. Find Minimum in Rotated Sorted Array (Binary Search)
  208. Global and Local Inversions (Merge Sort) --IMP Concept
  209. Find Eventual Safe States (Graphs) (DFS)
  210. Longest Increasing Subsequence (DP)
  211. Letter Combinations of a Phone Number (Backtracking)
  212. Maximal Square (DP)
  213. Word Break (DP)
  214. Palindrome Partitioning II (DP) (DnC DP)
  215. Stone Game II (DP) (Game Theory)
  216. Stone Game VII (DP) (Game Theory)
  217. House Robber II (DP)
  218. Maximum Length of Pair Chain (DP)
  219. Convert BST to Greater Tree (BST)
  220. Complete Binary Tree Inserter (Tree)
  221. Construct K Palindrome Strings
  222. Cherry Pickup (DP) (Grid DP) --IMP concept
  223. Decode Ways (DP)
  224. Insertion Sort List (Linked List) --IMP
  225. Binary Tree Level Order Traversal II
  226. Word Ladder (BFS)
  227. Numbers At Most N Given Digit Set (Digit DP) --IMP Concept --HARD
  228. Word Ladder II (BFS) --Hard
  229. Decode String
  230. Stone Game III (DP) (Game Theory) --HARD --IMP
  231. Decode XORed Array
  232. Maximum XOR With an Element From Array (Sorting + BIT Trie) --HARD --IMP
  233. Maximum XOR of Two Numbers in an Array (BIT Trie) --Revise
  234. Merge In Between Linked Lists (Linked List)
  235. Maximum Score from Performing Multiplication Operations (DP)
  236. Binary Subarrays With Sum (Sliding Window + HashMap) --IMP --Tricky --Revise
  237. Subarray Sum Equals K (Sliding Window + HashMap) --IMP --Tricky --Revise
  238. Graph Connectivity With Threshold (DSU + Seive) --Hard
  239. Balance a Binary Search Tree (BST)
  240. Furthest Building You Can Reach (Greedy) (Priority Queue) --IMP
  241. Network Delay Time (Graphs) (Dijkstra)
  242. Longest Substring with At Least K Repeating Characters (Sliding Window) --New CONCEPT --IMP
  243. Longest Increasing Path in a Matrix (DP + DFS on matrix) --Concept --IMP --HARD
  244. Max Increase to Keep City Skyline
  245. Car Pooling (Partial and Prefix Sums) --Revise
  246. Maximum Fruits Harvested After at Most K Steps (Prefix Sums) --HARD --IMP --Revise
  247. Count Servers that Communicate
  248. Maximum Score Words Formed by Letters
  249. Number of Laser Beams in a Bank
  250. Destroying Asteroids (Sorting)
  251. Execution of All Suffix Instructions Staying in a Grid
  252. Intervals Between Identical Elements (Prefix Sum) --IMP --Revise
  253. Evaluate Reverse Polish Notation (Stack)
  254. Maximum Twin Sum of a Linked List
  255. Longest Palindrome by Concatenating Two Letter Words
  256. Robot Bounded In Circle --Tricky --Revise
  257. Minimum Swaps to Group All 1's Together II (Sliding Window) --IMP --Revise
  258. Count Words Obtained After Adding a Letter (Trie) --Revise
  259. Increasing Subsequences (Backtrack) --Tricky --Revise --IMP
  260. Sliding Window Maximum (Monotonic Queue) --IMP
  261. Max Value of Equation (Monotonic Queue) --Tricky for Monoque
  262. Maximal Network Rank (Graphs)
  263. Trapping Rain Water (Greedy) --IMP
  264. Count Good Meals --Tricky
  265. Maximum Number of Coins You Can Get (Sorting) (Greedy)
  266. Palindrome Partitioning III (DP) --IMP --Revise
  267. Palindrome Partitioning IV (DP) --IMP --Revise
  268. Earliest Possible Day of Full Bloom (Greedy)
  269. Stone Game IV (DP) (Game Theory)
  270. Stone Game V (DnC DP)
  271. Stone Game VI (Greedy) --IMP --Revise
  272. Maximum Level Sum of a Binary Tree (BFS)
  273. Stone Game VIII (Game Theory DP) --Tricky Optimization --Revise
  274. Sum of Subarray Ranges (MonoStack) --Tricky --V IMP
  275. Sum of Subarray Minimums (MonoStack)
  276. Maximize Distance to Closest Person (Two Pointer)
  277. Dungeon Game (Grid DP) --Very IMP --Tricky
  278. Solving Questions With Brainpower (Knapsack DP)
  279. Container With Most Water (Two Pointer) (Greedy) --IMP
  280. Delete Node in a BST --Tricy --IMP --Revise
  281. Linked List Cycle II
  282. Minimum Swaps To Make Sequences Increasing (DP) --IMP
  283. Closest Divisors
  284. Constrained Subsequence Sum (DP + MonoQueue) --New Concept --TOUGH --IMP --Revise
  285. Remove Sub-Folders from the Filesystem (Trie)
  286. Count Primes (Seive of Eratothenes)
  287. Number of Pairs of Interchangeable Rectangles
  288. Maximum Height by Stacking Cuboids (DP) --TOUGH --IMP --Revise
  289. Gas Station (Two Pointer) --Tricky
  290. Closest Dessert Cost (Backtracking) --Concept Revise
  291. Shortest Subarray with Sum at Least K (Monoqueue+Prefix Sum) --V.V.IMP --Must Revise
  292. Count Good Nodes in Binary Tree (DFS)
  293. Count the Hidden Sequences (Math) --Read editorial
  294. Path with Maximum Gold (Backtracking)
  295. Sequential Digits
  296. Partition Labels (Two Pointer)
  297. Maximum Length of Subarray With Positive Product (DP) --IMP --Must Revise
  298. Range Sum Query - Mutable (Segment Tree)
  299. Perfect Rectangle (Observation Based)
  300. Watering Plants
  301. Longest Word in Dictionary through Deleting (Two Pointer)
  302. The Skyline Problem (SweepLine) --Must Revise
  303. Number of Provinces (DSU)
  304. K Closest Points to Origin (PriorityQueue)
  305. Integer Replacement (DP)
  306. All Elements in Two Binary Search Trees (BST) --Concept --Revise
  307. Print Words Vertically
  308. Minimum Number of Taps to Open to Water a Garden (Greedy) --Concept
  309. The k-th Lexicographical String of All Happy Strings of Length n
  310. Minimize Maximum Pair Sum in Array (Greedy)
  311. Rotate Array --Tricky --Revise --IMP
  312. Shortest Common Supersequence (DP)
  313. Partitioning Into Minimum Number Of Deci-Binary Numbers
  314. Task Scheduler (Priority Queue) --Revise --Imp --Tricky
  315. Number of Enclaves (DFS on grid)
  316. Number of Closed Islands (DFS on Grid) --Revise
  317. Check If Array Pairs Are Divisible by k --Tricky --V. IMP --CONCEPT --Revise
  318. Find All Anagrams in a String (Fixed Sliding Window)
  319. Count Number of Teams (Prefix and Suffix Count) --V.IMP --Concept -- Revise
  320. Minimum Number of Increments on Subarrays to Form a Target Array --V. V. Tricky
  321. Numbers With Same Consecutive Differences (Recursion)
  322. Reducing Dishes (Knapsack Type DP)
  323. Predict the Winner (Game Theory DP)
  324. Word Search (DFS)
  325. Relative Sort Array (Coordinate Compression)
  326. Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts (Greedy) --IMP --Revise
  327. Grid Game (Prefix Sum)
  328. Map Sum Pairs (Trie)
  329. Minimum Interval to Include Each Query (Line Sweep) --Tough --Concept
  330. Partition Array According to Given Pivot
  331. Remove K Digits (Monotonic Queue)
  332. Majority Element (Majority Vote Algorithm) --IMP --Revise
  333. Number of Orders in the Backlog (2 Heaps) --Solved in One go
  334. K-diff Pairs in an Array (HashMap)
  335. Letter-case Permutation
  336. Distribute Coins in Binary Tree (DFS) --Tricky --IMP
  337. Delete Leaves With a Given Value (PostOrder)
  338. Candy (Greedy) --CONCEPT --Tricky --IMP --REVISE
  339. Meeting Rooms II (Sweep Line) (Solved on InterviewBit)
  340. Shortest Path with Alternating Colors (BFS) --CONCEPT --Tricky
  341. Unique Binary Search Trees II (DnC algorithm) --IMP --REVISE
  342. Minimize Hamming Distance After Swap Operations (Union Find) --Concept with implementation heavy
  343. Permutation in String (Fixed Sliding Window)
  344. Subsets
  345. Largest Divisible Subset (DP) --Tricky
  346. Maximum Number of Vowels in a Substring of Given Length (Fixed Sliding Window)
  347. Min Cost to Connect All Points (Kruskal MST) --Revise --IMP
  348. Smallest String With Swaps (DSU) --IMP
  349. Minimum Operations to Make the Array Alternating
  350. Removing Minimum Number of Magic Beans (Prefix Sum) --CONCEPT --IMP
  351. Permutations (Backtracking)
  352. Additive Number (Backtracking) --Crazy Tricky level
  353. Max Chunks To Make Sorted (Greedy) --IMP
  354. Minimum Elements to Add to Form a Given Sum
  355. Max Chunks To Make Sorted II (Greedy) --CONCEPT --IMP
  356. Minimize Deviation in Array (Greedy) --IMP --HARD --Revise --Tricky
  357. Insert Delete GetRandom O(1) --Tricky
  358. Find Three Consecutive Integers That Sum to a Given Number
  359. Maximum Split of Positive Even Integers
  360. Remove Covered Intervals (Greedy)
  361. Lowest Common Ancestor of a Binary Tree(Tree) --Revise
  362. Merge Nodes in Between Zeros
  363. Construct String With Repeat Limit (Greedy)
  364. Sum of Distances in Tree (Tree DP) --HARD --Tricky --IMP --REVISE --Concept
  365. Longest ZigZag Path in a Binary Tree (Tree DP) --IMP
  366. Minimum Remove to Make Valid Parentheses (Stack) --Tricky --Revise
  367. Find K-th Smallest Pair Distance (Binary Search + Sliding Window) --V Tough --Concept
  368. Count Array Pairs Divisible by K (HashMap + Math) --Concept --IMP
  369. Minimum Deletions to Make String Balanced (DP) --IMP --Revise
  370. Longest Repeating Character Replacement (Sliding Window)
  371. Number of Sub-arrays With Odd Sum (Prefix Sum) --IMP --REVISE
  372. Subarray Sums Divisible by K (Prefix Sum) --IMP --REVISE
  373. Max Sum of Rectangle No Larger Than K (Prefix Sum + TreeSet)
  374. Sort List (Merge Sort) --IMP
  375. Maximum Sum Obtained of Any Permutation (Partial Sums)
  376. Reverse Substrings Between Each Pair of Parentheses (Stack + Queue)
  377. Reverse Nodes in k-Group --Implementation Heavy
  378. Longest Consecutive Sequence (DSU) --IMP --Revise
  379. Shortest Path Visiting All Nodes (Graphs + DP) --Tricky --HARD
  380. Minimum Number of Steps to Make Two Strings Anagram II
  381. Minimum Time to Complete Trips (Binary Search)
  382. Numbers With Repeated Digits (Digit DP) --IMP --Revise
  383. Maximum Width of Binary Tree (Tree)
  384. Evaluate Division (Graphs)
  385. Vowels of All Substrings --Concept
  386. Most Stones Removed with Same Row or Column (DSU)
  387. Largest Component Size by Common Factor (DSU + Number Theory) --Concept --IMP --Revise
  388. Queens That Can Attack the King
  389. Combination Sum IV (DP) --IMP --REVISE
  390. Maximum Alternating Subsequence Sum (DP) --IMP --REVISE
  391. Group Anagrams
  392. Least Number of Unique Integers after K Removals (Greedy) --Revise
  393. Maximum Score of a Good Subarray (Two Pointers) --Tricky Implementation
  394. Minimum Cost to Cut a Stick (DnC DP) --Tricy --Concept
  395. Minimum Time to Collect All Apples in a Tree (DFS) --Revise
  396. XOR Queries of a Subarray
  397. Count of Smaller Numbers After Self (Segment Tree) --IMP --REVISE
  398. Minimum Flips to Make a OR b Equal to c
  399. Maximum XOR for Each Query
  400. Find Duplicate Subtrees (Tree)
  401. Binary String With Substrings Representing 1 To N
  402. Is Graph Bipartite (Graphs)
  403. Champagne Tower (DP)
  404. Sort the Jumbled Numbers
  405. All Ancestors of a Node in a Directed Acyclic Graph (Graphs) --IMP --Revise
  406. Minimum Number of Moves to Make Palindrome (Two Pointers) --Hard --IMP -Revise
  407. Count Complete Tree Nodes (Tree) --Revise --IMP
  408. Remove Duplicates from Sorted List II (LinkedList)
  409. Longest Univalue Path (Tree DP)
  410. Insert Interval
  411. Copy List with Random Pointer --Tricky
  412. Next Greater Element II (Monotonic Stack) --IMP
  413. Next Greater Element III (Greedy) --IMP
  414. Minimum Insertion Steps to Make a String Palindrome (DP) -IMP
  415. Simplify Path (Stack)
  416. Word Break II (DP)
  417. HTML Entity Parser
  418. Maximum Width Ramp (TreeMap) --IMP --Revise
  419. Remove Max Number of Edges to Keep Graph Fully Traversable (2 DSU approach) --IMP --Revise
  420. Validate Stack Sequences (Stack)
  421. Score of Parentheses (Stack) Tough --Revise
  422. Find Two Non-overlapping Sub-arrays Each With Target Sum (Prefix Sum, Suffix Min) --CONCEPT --IMP --Hard
  423. Parsing A Boolean Expression (Stack)
  424. Remove Duplicate Letters (Monostack) --Tricky --IMP --Revise
  425. Reverse Integer
  426. Smallest Subsequence of Distinct Characters (Monostack)
  427. Evaluate the Bracket Pairs of a String (Stack)
  428. Binary Tree Right Side View (BFS)
  429. Maximum Frequency Stack (Stack + Design) --HARD --Revise
  430. Minimum Domino Rotations For Equal Row (Greedy) --Tricky --Revise
  431. 2 Keys Keyboard (DP)
  432. Simplified Fractions
  433. Smallest String With A Given Numeric Value (Greedy)
  434. Ways to Split Array Into Three Subarrays (Prefix Sum + Binary Search) --Tricky --Revise** --IMP
  435. Broken Calculator (Math)
  436. Boats to Save People (Two Pointers)
  437. Maximum Sum Circular Subarray (Kadane Algo) --IMP --Revise --Concept
  438. Total Hamming Distance (Bit Manip) --IMP --Revise
  439. Flatten Binary Tree to Linked List (Binary Tree) --IMP --TRICKY --HARD
  440. Design a Stack With Increment Operation
  441. Guess Number Higher or Lower II (DP) --Revise
  442. Minimum Deletions to Make Character Frequencies Unique (Greedy) --Revise --**IMP
  443. Continuous Subarray Sum (HashMap + Prefix Sum) --Logic similar to Subarray Sums Divisible by K
  444. 3Sum With Multiplicity (HashMap) --IMP --Revise
  445. Count Triplets That Can Form Two Arrays of Equal XOR (Prefix Xor) --CONCEPT --IMP --Revise
  446. Find the Longest Substring Containing Vowels in Even Counts (Bitmask + HashMap) --Concept
  447. Longest Word in Dictionary (Trie)
  448. LRU Cache (Double Linked List + HashMap) --Popular --Must Revise
  449. Game of Life
  450. Maximum Product After K Increments (Priority Queue)
  451. Find Players With Zero or One Losses
  452. Path Sum III (Subarray sum = k technique on Tree) --IMP
  453. Can I Win (Bitmask DP) --Tight Constraints
  454. Minimum Number of Operations to Reinitialize a Permutation
  455. Shortest Path to Get All Keys (BFS + Bitmask) --CONCEPT --Revise
  456. Groups of Special-Equivalent Strings (DSU + Implementation Heavy)
  457. Minimum Falling Path Sum II (Grid DP)
  458. Minimum Falling Path Sum (Grid DP)
  459. First Missing Positive --IMP --Revise --HARD
  460. Partition Array for Maximum Sum (DP)
  461. Minimum Sideway Jumps (DP)
  462. All Possible Full Binary Trees (DP) --Tricky --IMP
  463. Number of Ways to Stay in the Same Place After Some Steps (DP)
  464. Adding Spaces to a String
  465. Number of Smooth Descent Periods of a Stock (DP)
  466. Minimum Operations to Make the Array K-Increasing (Binary Search LIS variation) --CONCEPT --IMP --Tricky --Revise
  467. Allocate Mailboxes (DP) --Tough --Revise --Concept
  468. Best Sightseeing Pair (TreeSet/PriorityQueue/DP)
  469. Number of Ways to Split a String (Combinatorics + Prefix Sum) --IMP --Revise
  470. Minimum Cost to Connect Two Groups of Points (Bitmask DP) --Tricky Optimization --Tough
  471. Change Minimum Characters to Satisfy One of Three Conditions --IMP --Tricky Brute Force
  472. Path With Minimum Effort (Binary Search + DFS) --Concept
  473. Heaters (Binary Search)
  474. Most Profit Assigning Work (Greedy+Sorting) --Revise --IMP
  475. Ways to Make a Fair Array (Prefix Sum)
  476. Range Frequency Queries (Binary Search) --Revise --IMP --Concept
  477. Find the Minimum Number of Fibonacci Numbers Whose Sum Is K (Greedy) --Revise

competitive-practice's People

Contributors

rohantrix 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.