/Leetcode-Challenge

All Leetcode solutions whose videos are on the channel.

LeetCode Problems

Number Name of Problem Leetcode Link Video Link Code
55 Jump Game https://leetcode.com/problems/jump-game/ https://youtu.be/C6AZyfj-Kyw https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/55.%20Jump%20Game
118 Pascal's Triangle https://leetcode.com/problems/pascals-triangle/description/ https://youtu.be/eeleEMOlRpA https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/118.%20Pascal's%20Triangle
121 Best Time to Buy and Sell Stock https://leetcode.com/problems/best-time-to-buy-and-sell-stock/ https://youtu.be/5skEWekmJ2w https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/121.%20Best%20Time%20to%20Buy%20and%20Sell%20Stock
134 Gas Station https://leetcode.com/problems/gas-station/ https://youtu.be/3wUa7Lf1Xjk https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/134.%20Gas%20Station
198 House Robber https://leetcode.com/problems/house-robber/ https://youtu.be/YEEQRP2ZFxk https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/198.%20House%20Robber
206 Reverse Linked List https://leetcode.com/problems/reverse-linked-list/description/ https://youtu.be/rzXJe1xMHLc https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/206.%20Reverse%20Linked%20List
213 House Robber II https://leetcode.com/problems/house-robber-ii/ https://youtu.be/5bxF0MJ1oM0 https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/213.%20House%20Robber%20II
300 Longest Increasing Subsequence https://leetcode.com/problems/longest-increasing-subsequence/description/ https://youtu.be/iyd-8fpqEgU https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/300.%20Longest%20Increasing%20Subsequence
337 House Robber III https://leetcode.com/problems/house-robber-iii/ https://youtu.be/FRP5l83XoZo https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/337.%20House%20Robber%20III
403 Frog jump https://leetcode.com/problems/frog-jump/ https://youtu.be/3FYCPlIx3YA https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/403.%20Frog%20Jump
530 Minimum Absolute Difference in BST https://leetcode.com/problems/minimum-absolute-difference-in-bst/description/ https://youtu.be/uDykjVZ5s4o https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/530.%20Minimum%20Absolute%20Difference%20in%20BST
724 Find Pivot Index https://leetcode.com/problems/find-pivot-index/description/ https://youtu.be/HSg9QONpcPw https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/724.%20Find%20Pivot%20Index
862 Shortest Subarray with Sum at Least K https://leetcode.com/problems/shortest-subarray-with-sum-at-least-k/description/ https://youtu.be/eWbH_j6Lgnk https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/862.%20Shortest%20Subarray%20with%20Sum%20at%20Least%20K
1071 Greatest Common Divisor of Strings https://leetcode.com/problems/greatest-common-divisor-of-strings/description/ https://youtu.be/41iKYE0n0PQ https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/1071.%20Greatest%20Common%20Divisor%20of%20Strings
1129 Shortest Path with Alternating Colors https://leetcode.com/problems/shortest-path-with-alternating-colors/description/ https://youtu.be/8FcdSwqR3Js https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/1129.%20Shortest%20Path%20with%20Alternating%20Colors
1340 Jump Game V https://leetcode.com/problems/jump-game-v/ https://youtu.be/pQXbujZLTv0 https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/1340.%20Jump%20Game%20V
1353 Maximum Number of Events That Can Be Attended https://leetcode.com/problems/maximum-number-of-events-that-can-be-attended/ https://youtu.be/dTVB1W7-BvY https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/1353.%20Maximum%20Number%20of%20Events%20That%20Can%20Be%20Attended
1365 How Many Numbers Are Smaller Than the Current Number https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number/description/ https://youtu.be/CKSdHsQyPYk https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/1365.%20How%20Many%20Numbers%20Are%20Smaller%20Than%20the%20Current%20Number
1498 Number of Subsequences That Satisfy the Given Sum Condition https://leetcode.com/problems/number-of-subsequences-that-satisfy-the-given-sum-condition/description/ https://youtu.be/CNwBICbW-M8 https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/1498.%20Number%20of%20Subsequences%20That%20Satisfy%20the%20Given%20Sum%20Condition
1510 Stone Game IV https://leetcode.com/problems/stone-game-iv/ https://youtu.be/Gcg_a3r8FA0 https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/1510.%20Stone%20Game%20IV
1523 Count Odd Numbers in an Interval Range https://leetcode.com/problems/count-odd-numbers-in-an-interval-range/description/ https://youtu.be/HxI78QECe0c https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/1523.%20Count%20Odd%20Numbers%20in%20an%20Interval%20Range
1696 Jump Game VI https://leetcode.com/problems/jump-game-vi/ https://youtu.be/LiEcBMK5PQs https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/1696.%20Jump%20Game%20VI
1751 Maximum Number of Events That Can Be Attended II https://leetcode.com/problems/maximum-number-of-events-that-can-be-attended-ii/description/ https://youtu.be/C3r4OTOmfaI https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/1751.%20Maximum%20Number%20of%20Events%20That%20Can%20Be%20Attended%20II
1834 Single-Threaded CPU https://leetcode.com/problems/single-threaded-cpu/ https://youtu.be/6104EJTG_T4 https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/1834.%20Single-Threaded%20CPU
1871 Jump Game VII https://leetcode.com/problems/jump-game-vii/ https://youtu.be/bZxWLuiqHes https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/1871.%20Jump%20Game%20VII
2328 Number of Increasing Paths in a Grid https://leetcode.com/problems/number-of-increasing-paths-in-a-grid/description/ https://youtu.be/kPAv1t2uBjg https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/2328.%20Number%20of%20Increasing%20Paths%20in%20a%20Grid
2375 Construct Smallest Number From DI String https://leetcode.com/problems/construct-smallest-number-from-di-string/ https://youtu.be/GEqSg0Otq4Y https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/2375.%20Construct%20Smallest%20Number%20From%20DI%20String
2531 Make Number of Distinct Characters Equal https://leetcode.com/problems/make-number-of-distinct-characters-equal/description/ https://youtu.be/GwWmlpIEIwc https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/2531.%20Make%20Number%20of%20Distinct%20Characters%20Equal
2598 Length Of Longest Subarray with at most K Frequency https://leetcode.com/problems/length-of-longest-subarray-with-at-most-k-frequency/ https://youtu.be/GwWmlpIEIwc https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/2598.%20Length%20Of%20Longest%20Subarray%20with%20at%20most%20K%20Frequency
2657 Find the Prefix Common Array of Two Arrays https://leetcode.com/problems/find-the-prefix-common-array-of-two-arrays/description/ https://youtu.be/m6s9dBCBocQ https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/2657.%20Find%20the%20Prefix%20Common%20Array%20of%20Two%20Arrays

Leetcode-Challenge

July Leetcoding Challenge 2021

Day Name of Problem Leetcode Link Video Link Code
18 Reverse Nodes in k-Group https://leetcode.com/problems/reverse-nodes-in-k-group/ https://youtu.be/FYsYAELWyRs https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/25.%20Reverse%20Nodes%20in%20k-Group
26 Non-negative Integers without Consecutive Ones https://leetcode.com/problems/non-negative-integers-without-consecutive-ones/ https://youtu.be/Pdeje3QH8G8 https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/600.%20Non-negative%20Integers%20without%20Consecutive%20Ones

June Leetcoding Challenge 2021

Day Name of Problem Leetcode Link Video Link Code
12 Minimum Number of Refueling Stops https://leetcode.com/problems/minimum-number-of-refueling-stops/ https://youtu.be/4RgqAQFr9WQ https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/871.%20Minimum%20Number%20of%20Refueling%20Stops

May Leetcoding Challenge 2021

Day Name of Problem Leetcode Link Video Link Code
1 Prefix and Suffix Search https://leetcode.com/problems/prefix-and-suffix-search/ https://youtu.be/U7fIQ7qAeuE https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/745.%20Prefix%20and%20Suffix%20Search
2 Course Schedule III https://leetcode.com/problems/course-schedule-iii/ https://youtu.be/ey8FxYsFAMU https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/630.%20Course%20Schedule%20III
3 Running Sum of 1d Array https://leetcode.com/problems/running-sum-of-1d-array/ https://youtu.be/3uMmKCZ_9Go https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/1480.%20Running%20Sum%20of%201d%20Array
4 Non-decreasing Array https://leetcode.com/problems/non-decreasing-array/ https://youtu.be/iL7oSNc3OXA https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/665.%20Non-decreasing%20Array
5 Jump Game II https://leetcode.com/problems/jump-game-ii/ https://youtu.be/BRnRPLNGWIo https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/45.%20Jump%20Game%20II
6 Convert Sorted List to BST https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree/ https://youtu.be/5IQF13nNq6A https://github.com/Algorithms-Made-Easy/Tree/blob/master/Convert-Sorted-List-to-Binary-Search-Tree
7 Delete Operation for Two Strings https://leetcode.com/problems/delete-operation-for-two-strings/ https://youtu.be/VSrsUkoG0bk https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/583.%20Delete%20Operation%20for%20Two%20Strings
8 Super Palindromes https://leetcode.com/problems/super-palindromes/ https://youtu.be/iZ_wJbrlJz0 https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/906.%20Super%20Palindromes
9 Construct Target Array With Multiple Sums https://leetcode.com/problems/construct-target-array-with-multiple-sums/ https://youtu.be/h9t7JF50Mpw https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/1354.%20Construct%20Target%20Array%20With%20Multiple%20Sums
10 Count Primes https://leetcode.com/problems/count-primes/ https://youtu.be/5LMkddl2NCk https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/204.%20Count%20Primes
11 Maximum Points You Can Obtain from Cards https://leetcode.com/problems/maximum-points-you-can-obtain-from-cards/ https://youtu.be/U0utLw_vWGM https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/1423.%20Maximum%20Points%20You%20Can%20Obtain%20from%20Cards
12 Range Sum Query 2D - Immutable https://leetcode.com/problems/range-sum-query-2d-immutable/ https://youtu.be/rkLDDxOcJxU https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/304.%20Range%20Sum%20Query%202D%20-%20Immutable
13 Ambiguous Coordinates https://leetcode.com/problems/ambiguous-coordinates/ https://youtu.be/rt-lJS5nlOQ https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/816.%20Ambiguous%20Coordinates
14 Flatten Binary Tree to Linked List https://leetcode.com/problems/flatten-binary-tree-to-linked-list/ https://youtu.be/NOKVBiJwkD0 https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/114.%20Flatten%20Binary%20Tree%20to%20Linked%20List
15 Valid Number https://leetcode.com/problems/valid-number/ https://youtu.be/0qac3ngAZmE https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/65.%20Valid%20Number
16 Binary Tree Cameras https://leetcode.com/problems/binary-tree-cameras/ https://youtu.be/2Gh5WPjAgJk https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/968.%20Binary%20Tree%20Cameras
17 Longest String Chain https://leetcode.com/problems/longest-string-chain/ https://youtu.be/pXG3uE_KqZM https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/1048.%20Longest%20String%20Chain
18 Find Duplicate File in System https://leetcode.com/problems/find-duplicate-file-in-system/ https://youtu.be/4KGl6PMwVXE https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/609.%20Find%20Duplicate%20File%20in%20System
19 Minimum Moves to Equal Array Elements II https://leetcode.com/problems/minimum-moves-to-equal-array-elements-ii/ https://youtu.be/FGgL5QxZLno https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/462.%20Minimum%20Moves%20to%20Equal%20Array%20Elements%20II
20 Binary Tree Level Order Traversal https://leetcode.com/problems/binary-tree-level-order-traversal/ https://youtu.be/vQrggrFMyp8 https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/102.%20Binary%20Tree%20Level%20Order%20Traversal
21 Find and Replace Pattern https://leetcode.com/problems/find-and-replace-pattern/ https://youtu.be/JbiV9l5AHQE https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/890.%20Find%20and%20Replace%20Pattern
22 N-Queens https://leetcode.com/problems/n-queens/ https://youtu.be/jJMWhGKq3SM https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/51.%20N-Queens

April Leetcoding Challenge 2021

Day Name of Problem Leetcode Link Video Link Code
1 Palindrome Linked List https://leetcode.com/problems/palindrome-linked-list/ https://youtu.be/Ll9ZbXaXqlQ https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/234.%20Palindrome%20Linked%20List
2 Ones and Zeroes https://leetcode.com/problems/ones-and-zeroes/ https://youtu.be/qkUZ87NCYSw https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/474.%20Ones%20and%20Zeroes
3 Longest Valid Parentheses https://leetcode.com/problems/longest-valid-parentheses/ https://youtu.be/VdQuwtEd10M https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/32.%20Longest%20Valid%20Parentheses
4 Design Circular Queue https://leetcode.com/problems/design-circular-queue/ https://youtu.be/Q2YhZ6Pq0GQ https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/622.%20Design%20Circular%20Queue
5 Global and Local Inversions https://leetcode.com/problems/global-and-local-inversions/ https://youtu.be/1QlP6cVLrII https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/775.%20Global%20and%20Local%20Inversions
6 Minimum Operations to Make Array Equal https://leetcode.com/problems/minimum-operations-to-make-array-equal/ https://youtu.be/9aGx9hoIBjI https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/1551.%20Minimum%20Operations%20to%20Make%20Array%20Equal
7 Determine if String Halves Are Alike https://leetcode.com/problems/determine-if-string-halves-are-alike/ https://youtu.be/752uISt9sCs https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/1704.%20Determine%20if%20String%20Halves%20Are%20Alike
8 Letter Combinations of a Phone Number https://leetcode.com/problems/letter-combinations-of-a-phone-number/ https://youtu.be/Ydur1aYALc4 https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/17.%20Letter%20Combinations%20of%20a%20Phone%20Number
9 Verifying an Alien Dictionary https://leetcode.com/problems/verifying-an-alien-dictionary/ https://youtu.be/jK5a8T9q4pc https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/953.%20Verifying%20an%20Alien%20Dictionary
10 Deepest Leaves Sum https://leetcode.com/problems/deepest-leaves-sum/ https://youtu.be/kgG2LuxzAHU https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/1302.%20Deepest%20Leaves%20Sum
11 Longest Increasing Path in a Matrix https://leetcode.com/problems/longest-increasing-path-in-a-matrix/ https://youtu.be/WiEqhI7v2FY https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/329.%20Longest%20Increasing%20Path%20in%20a%20Matrix
12 Beautiful Arrangement II https://leetcode.com/problems/beautiful-arrangement-ii/ https://youtu.be/BiQlqgmJ0BM https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/667.%20Beautiful%20Arrangement%20II
13 Flatten Nested List Iterator https://leetcode.com/problems/flatten-nested-list-iterator/ https://youtu.be/V-gPWPOyq8I https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/341.%20Flatten%20Nested%20List%20Iterator
14 Partition List https://leetcode.com/problems/partition-list/ https://youtu.be/b4FeEwAGDtU https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/86.%20Partition%20List
15 Fibonacci Number https://leetcode.com/problems/fibonacci-number/ https://youtu.be/kIzjdvU_QIU https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/509.%20Fibonacci%20Number
16 Remove All Adjacent Duplicates in String II https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string-ii/ https://youtu.be/RJpy4A7LJrs https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/1209.%20Remove%20All%20Adjacent%20Duplicates%20in%20String%20II
17 Number of Submatrices That Sum to Target https://leetcode.com/problems/number-of-submatrices-that-sum-to-target/ https://youtu.be/elADMOC_hDI https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/1074.%20Number%20of%20Submatrices%20That%20Sum%20to%20Target
18 Remove Nth Node From End of List https://leetcode.com/problems/remove-nth-node-from-end-of-list/ https://youtu.be/Kncuqqg_I18 https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/19.%20Remove%20Nth%20Node%20From%20End%20of%20List
19 Combination Sum IV https://leetcode.com/problems/combination-sum-iv/ https://youtu.be/GWqe_xfqxCA https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/377.%20Combination%20Sum%20IV
20 N-ary Tree Preorder Traversal https://leetcode.com/problems/n-ary-tree-preorder-traversal/ https://youtu.be/DAIN1ZzvFeA https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/589.%20N-ary%20Tree%20Preorder%20Traversal
21 Triangle https://leetcode.com/problems/triangle/ https://youtu.be/O2eaAdBpZBQ https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/120.%20Triangle
22 Brick Wall https://leetcode.com/problems/brick-wall/ https://youtu.be/s4pN9Qfj8EY https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/554.%20Brick%20Wall
23 Count Binary Substrings https://leetcode.com/problems/count-binary-substrings/ https://youtu.be/MGPHPadxhtQ https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/696.%20Count%20Binary%20Substrings
24 Critical Connections in a Network https://leetcode.com/problems/critical-connections-in-a-network/ https://youtu.be/5xUdS0hclQ4 https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/1192.%20Critical%20Connections%20in%20a%20Network
25 Rotate Image https://leetcode.com/problems/rotate-image/ https://youtu.be/bW_9pjcXP_4 https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/48.%20Rotate%20Image
26 Furthest Building You Can Reach https://leetcode.com/problems/furthest-building-you-can-reach/ https://youtu.be/wAxhnUhXvHE https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/1642.%20Furthest%20Building%20You%20Can%20Reach
27 Power of Three https://leetcode.com/problems/power-of-three/ https://youtu.be/GNb8vSyw-WE https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/326.%20Power%20of%20Three
28 Unique Paths II https://leetcode.com/problems/unique-paths-ii/ https://youtu.be/nZSXWXzn1aM https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/63.%20Unique%20Paths%20II
29 Find First and Last Position of Element in Sorted Array https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/ https://youtu.be/c_HH9sakxpY https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/34.%20Find%20First%20and%20Last%20Position%20of%20Element%20in%20Sorted%20Array
30 Powerful Integers https://leetcode.com/problems/powerful-integers/ https://youtu.be/dkvMSZ1tRXo https://github.com/Algorithms-Made-Easy/Leetcode-Challenge/blob/main/970.%20Powerful%20Integers