Skip to content

stp2003/Dsa-150-Days-of-Code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dsa-150-Days-of-Code

# Code Count- 263

  • Day 1

    • Peak Element (Leetcode 162)
    • Excel Sheet Column Number (Leetcode 171)
    • Reverse Words In String (Leetcode 557)
  • Day 2

    • Number Of 1 Bits (Leetcode 191)
    • Power of 2 (Leetcode 231)
    • Power of 3 (Leetcode 326)
    • Power of 4 (Leetcode 242)
  • Day 3

    • Counting Bits (Leetcode 338)
    • Find the Difference (Leetcode 389)
    • Perfect Number (Leetcode 507)
  • Day 4

    • Add To Array Of Integer (Leetcode 989)
    • Categorize Box According To Criteria (Leetcode 2525)
    • Fizz Buzz (Leetcode 412)
    • Is Subsequence (Leetcode 392)
  • Day 5

    • Robot Return To Origin (Leetcode 657)
    • Find Smallest Letter Greater Than Target (Leetcode 744)
    • Count Elements With Strictly Smaller And Greater Elements (Leetcode 2148)
    • Furthest Point From Origin (Leetcode 2833)
  • Day 6

    • Divide Two Integers (Leetcode 29)
    • Find First And Last Position Of Element In Sorted Array (Leetcode 34)
    • Find The Index Of The First Occurrence (Leetcode 28)
    • Integer Break (Leetcode 343)
    • Multiply Strings (Leetcode 43)
  • Day 7

    • Valid Palindrome (Leetcode 125)
    • Search In Rotated Sorted Array II (Leetcode 81)
    • Remove Duplicates From Sorted List (Leetcode 83)
    • Jewels And Stones (Leetcode 771)
    • Find Minimum In Rotated Sorted Array (Leetcode 153)
  • Day 8

    • Happy Number (Leetcode 202)
    • Peak Index In A Mountain Array (Leetcode 852)
    • Ugly Number (Leetcode 263)
  • Day 9

    • Count Of Matches In Tournament (Leetcode 1688)
    • Duplicate Zeros (Leetcode 1089)
    • Maximum 69 Number (Leetcode 1323)
    • Sort Array By Parity (Leetcode 905)
  • Day 10

    • Climbing Stairs (Leetcode 70)
    • Concatenation Of Array (Leetcode 1929)
    • Nim Game (Leetcode 292)
    • Remove All Occurrences Of A Substring (Leetcode 1910)
  • Day 11

    • Final Value Of Variable After Performing Operations (Leetcode 2011)
    • Percentage Of Letter In String (Leetcode 2278)
    • Reverse Prefix Of Word (Leetcode 2000)
    • Smallest Even Multiple (Leetcode 2413)
  • Day 12

    • Assign Cookies (Leetcode 455)
    • Convert The Temperature (Leetcode 2469)
    • Number Of Common Factors (Leetcode 2427)
    • Left and Right Sum Differences (Leetcode 2574)
  • Day 13

    • Count Negative Numbers In A Sorted Matrix (Leetcode 1351)
    • Faulty Keyboard (Leetcode 2810)
    • Reverse Vowels Of A String (Leetcode 345)
    • Sum Multiples (Leetcode 2652)
  • Day 14

    • Kids With The Greatest Number Of Candies (Leetcode 1431)
    • Maximum Product Of Two Elements In An Array (Leetcode 1464)
    • Running Sum Of 1d Array (Leetcode 1480)
  • Day 15

    • Average Salary Excluding Minimum And Maximum Salary (Leetcode 1491)
    • The kth Factor Of N (Leetcode 1492)
    • XOR Operation In An Array (Leetcode 1486)
  • Day 16

    • Number Of Good Pairs (Leetcode 1512)
    • Pascals Triangle II (Leetcode 119)
    • Shuffle String (Leetcode 1528)
  • Day 17

    • Convert 1D Array Into 2D Array (Leetcode 2022)
    • Richest Customer Wealth (Leetcode 1672)
    • Three Consecutive Odds (Leetcode 1550)
  • Day 18

    • Maximum Product Subarray (Leetcode 152)
    • Product Of Array Except Self (Leetcode 238)
    • Subarray Product Less Than K (Leetcode 713)
  • Day 19

    • Find Pivot Index (Leetcode 724)
    • Min Cost Climbing Stairs (Leetcode 746)
    • Subarray Sum Equals K (Leetcode 560)
  • Day 20

    • Convert A Number To Hexadecimal (Leetcode 405)
    • Count Subarrays With Score Less Than K (Leetcode 2302)
    • DI String Match (Leetcode 942)
  • Day 21

    • Distribute Candies (Leetcode 575)
    • Island Perimeter (Leetcode 463)
    • Gas Station (Leetcode 134)
  • Day 22

    • Integer To Roman (Leetcode 12)
    • Sign Of The Product Of An Array (Leetcode 1822)
    • Valid Number (Leetcode 65)
  • Day 23

    • Check If A Straight Line (Leetcode 1232)
    • Day Of The Week (Leetcode 1185)
  • Day 24

    • Find The Middle Index In Array (Leetcode 1991)
    • Generate String With Characters That Have Odd Counts (Leetcode 1374)
    • Sort Vowels In A String (Leetcode 2785)
  • Day 25

    • Count The Digits That Divide A Number (Leetcode 2520)
    • Minimum Operations To Reduce X To Zero (Leetcode 1658)
    • Partition Array Into Three Parts With Equal Sum (Leetcode 1013)
  • Day 26

    • Day Of The Year (Leetcode 1154)
    • Self Dividing Numbers (Leetcode 728)
  • Day 27

    • Maximize The Topmost Element After K Moves (Leetcode 2202)
    • Minimum Sum Of Four Digit Number After Splitting Digits (Leetcode 2160)
  • Day 28

    • Count Integers With Even Digit Sum (Leetcode 2180)
    • Difference Between Element Sum And Digit Sum Of Array (Leetcode 2535)
    • Separate The Digits In An Array (Leetcode 2553)
  • Day 29

    • Alternating Digit Sum (Leetcode 2544)
    • Find Three Consecutive Integers That Sum To Given Number (Leetcode 2177)
    • Number Of Ways To Buy Pens And Pencils (Leetcode 2240)
  • Day 30

    • Length Of The Longest Alphabetical Continuous Substring (Leetcode 2414)
    • Maximum Number Of Vowels In A Substring Of Given Length (Leetcode 1456)
  • Day 31

    • Find The Maximum Achievable Number (Leetcode 2769)
    • Minimum Recolors To Get K Consecutive Black Blocks (Leetcode 2379)
    • Number Of Ways To Split Array (Leetcode 2270)
  • Day 32

    • Decode XORed Array (Leetcode 1720)
    • Find The Original Array Of Prefix Xor (Leetcode 2433)
    • Insert Delete Get Random (Leetcode 380)
  • Day 33

    • Apply Operations To An Array (Leetcode 2460)
    • Kth Missing Positive Number (Leetcode 1539)
    • Remove Linked List Elements (Leetcode 203)
  • Day 34

    • Check If All Characters Have Equal Number Of Occurrences (Leetcode 1941)
    • Check If Number Is Sum Of Powers Of Three (Leetcode 1780)
    • Count Pairs Whose Sum Is Less Than Target (Leetcode 2824)
  • Day 35

    • Count Square Sum Triples (Leetcode 1925)
    • Number Of Unequal Triplets In Array (Leetcode 2475)
  • Day 36

    • Sum Of Digits In Base K (Leetcode 1837)
  • Day 37

    • Third Maximum Number (Leetcode 414)
  • Day 38

    • Number Of Arithmetic Triplets (Leetcode 2367)
  • Day 39

    • Maximum Value Of An Ordered Triplet I (Leetcode 2873)
  • Day 40

    • Largest 3 Same Digit Number In String (Leetcode 2264)
  • Day 41

    • Neither Minimum Nor Maximum (Leetcode 2733)
  • Day 42

    • Find The Pivot Integer (Leetcode 2485)
  • Day 43

    • Minimum Difference Between Highest And Lowest Of K Scores (Leetcode 1984)
  • Day 44

    • Minimum Sum Of Mountain Triplets I (Leetcode 2908)
  • Day 45

    • Count Good Triplets (Leetcode 1534)
  • Day 46

    • Contiguous Array (Leetcode 525)
  • Day 47

    • Count Special Quadruplets (Leetcode 1995)
  • Day 48

    • Longest Substring Without Repeating Characters (Leetcode 3)
    • Sum Of Numbers With Units Digit K (Leetcode 2310)
  • Day 49

    • Sum Of Number And Its Reverse (Leetcode 2443)
  • Day 50

    • Base 7 (Leetcode 504)
  • Day 51

    • Split With Minimum Sum (Leetcode 2578)
  • Day 52

    • Three Divisors (Leetcode 1952)
  • Day 53

    • Check If Two String Arrays Are Equivalent (Leetcode 1662)
    • Determine If String Halves Are Alike (Leetcode 1704)
  • Day 54

    • Divide Array Into Equal Pairs (Leetcode 2206)
    • Check If NAnd Its Double Exist (Leetcode 1346)
  • Day 55

    • Valid Sudoku (Leetcode 36)
  • Day 56

    • Largest Number At Least Twice Of Others (Leetcode 747)
  • Day 57

    • Keep Multiplying Found Values By Two (Leetcode 2154)
    • Array Partition (Leetcode 561)
  • Day 58

    • Largest Odd Number In String (Leetcode 1903)
    • Valid Triangle Number (Leetcode 611)
  • Day 59

    • Greatest Common Divisor Of Strings (Leetcode 1071)
    • Find Greatest Common Divisor Of Array (Leetcode 1979)
  • Day 60

    • Sum Of Digits Of String After Convert (Leetcode 1945)
    • Sum Of Two Integers (Leetcode 371)
  • Day 61

    • Binary Number With Alternating Bits (Leetcode 693)
    • First Unique Character In A String (Leetcode 387)
  • Day 62

    • First Letter To Appear Twice (Leetcode 2351)
    • Count Prefixes Of A Given String (Leetcode 2255)
  • Day 63

    • Check If String Is A Prefix Of Array (Leetcode 1961)
    • Maximum Ice Cream Bars (Leetcode 1833)
  • Day 64

    • Check If A Word Occurs As A Prefix Of Any Word In A Sentence (Leetcode 1455)
    • Counting Words With A Given Prefix (Leetcode 2185)
  • Day 65

    • Find The Peaks (Leetcode 2951)
    • To Lower Case (Leetcode 709)
  • Day 66

    • Capitalize The Title (Leetcode 2129)
    • Detect Capital (Leetcode 520)
  • Day 67

    • Calculate Money In Leetcode Bank (Leetcode 1716)
    • Remove All Adjacent Duplicates In String (Leetcode 1047)
  • Day 68

    • Removing Stars From A String (Leetcode 2390)
    • Maximum Element After Decreasing And Rearranging (Leetcode 1846)
  • Day 69

    • Backspace String Compare (Leetcode 844)
    • Crawler Log Folder (Leetcode 1598)
  • Day 70

    • K Items With The Maximum Sum (Leetcode 2600)
  • Day 71

    • Transpose Matrix (Leetcode 867)
  • Day 72

    • Element Appearing More Than 25 Percent In Sorted Array (Leetcode 1287)
  • Day 73

    • Baseball Game (Leetcode 682)
  • Day 74

    • Special Positions In A Binary Matrix (Leetcode 1582)
  • Day 75

    • Difference Between Ones And Zeros In Row And Column (Leetcode 2482)
  • Day 76

    • Destination City (Leetcode 1436)
    • Teemo Attacking (Leetcode 495)
  • Day 77

    • Remove Duplicates From Sorted Array II (Leetcode 80)
    • Can Place Flowers (Leetcode 605)
  • Day 78

    • Basic Calculator II (Leetcode 227)
    • Total Distance Traveled (Leetcode 2739)
  • Day 79

    • Maximum Product Difference Between Two Pairs (Leetcode 1913)
    • Minimum Consecutive Cards To Pick Up (Leetcode 2260)
  • Day 80

    • Summary Ranges (Leetcode 228)
  • Day 81

    • Buy Two Chocolates (Leetcode 2706)
    • Maximum Ascending Subarray Sum (Leetcode 1800)
  • Day 82

    • First Missing Positive (Leetcode 41)
    • Find All Numbers Disappeared In An Array (Leetcode 448)
  • Day 83

    • Remove Adjacent Almost Equal Characters (Leetcode 2957)
    • Minimum Changes To Make Alternating Binary String (Leetcode 1758)
  • Day 84

    • Minimum Number Of Food Buckets To Feed The Hamsters (Leetcode 2086)
    • Maximum Score After Splitting A String (Leetcode 1422)
  • Day 85

    • Strong Password Checker II (Leetcode 2299)
    • Validate IP Address (Leetcode 468)
  • Day 86

  • Shuffle An Array (Leetcode 384)

  • Complex Number Multiplication (Leetcode 537)

  • Day 87

    • Count Binary Substrings (Leetcode 696)
  • Day 88

    • Minimum Time To Make Rope Colorful (Leetcode 1587)
  • Day 89

    • Merge Two Sorted Lists (Leetcode 21)
    • Prime Number Of Set Bits In Binary Representation (Leetcode 762)
  • Day 90

    • Append K Integers With Minimal Sum (Leetcode 2195)
  • Day 91

    • Redistribute Characters To Make All Strings Equal (Leetcode 1897)
  • Day 92

    • Number Of Steps To Reduce A Number To Zero (Leetcode 1342)
    • Count Operations To Obtain Zero (Leetcode 2169)
    • Largest Substring Between Two Equal Characters (Leetcode 1624)
  • Day 93

    • Find Sub Arrays With Equal Sum (Leetcode 2395)
    • Find Maximum Number Of String Pairs (Leetcode 2744)
    • Merge Strings Alternately (Leetcode 1768)
  • Day 94

    • Convert An Array Into A 2D Array With Conditions (Leetcode 2610)
    • Maximum Number Of Words You Can Type (Leetcode 1935)
  • Day 95

    • Number Of Laser Beams In A Bank (Leetcode 2125)
    • Set Matrix Zeroes (Leetcode 73)
  • Day 96

    • Minimum Number Of Operations To Make Array Empty (Leetcode 2870)
    • Minimum Cuts To Divide A Circle (Leetcode 2481)
  • Day 97

    • Longest Increasing Subsequence (Leetcode 300)
  • Day 98

    • Maximum Profit In Job Scheduling (Leetcode 1235)
    • Three Sum (Leetcode 15)
  • Day 99

    • Arithmetic Slices II Subsequence (Leetcode 446)
    • Arithmetic Slices (Leetcode 413)
  • Day 100

    • Range Sum Of BST (Leetcode 938)
    • Count Number Of Ways To Place Houses (Leetcode 2320)
  • Day 101

    • Leaf Similar Trees (Leetcode 872)
  • Day 102

    • Amount Of Time For Binary Tree To Be Infected (Leetcode 2385)
  • Day 103

    • Maximum Difference Between Node And Ancestor (Leetcode 1026)
  • Day 104

    • Determine If String Halves Are Alike (Leetcode 1704)
  • Day 105

    • Minimum Number Of Steps To Make Two Strings Anagram (Leetcode 1347)
  • Day 106

    • Determine If Two Strings Are Close (Leetcode 1657)
  • Day 107

    • Find Players With Zero Or One Losses (Leetcode 2225)
  • Day 108

    • Insert Delete Get Random (Leetcode 380)
  • Day 109

    • Unique Number Of Occurrences (Leetcode 1207)
  • Day 110

    • Climbing Stairs (Leetcode 70)
  • Day 111

    • Minimum Falling Path Sum (Leetcode 931)
  • Day 112

    • Sum Of Subarray Minimums (Leetcode 907)
  • Day 113

    • House Robber (Leetcode 198)
  • Day 114

    • Set Mismatch (Leetcode 645)
  • Day 115

    • Maximum Length Of A Concatenated String With Unique Characters (Leetcode 1239)
  • Day 116

    • Pseudo Palindromic Paths In A Binary Tree (Leetcode 1457)
  • Day 117

    • Longest Common Subsequence (Leetcode 1143)
  • Day 118

    • Out Of Boundary Paths (Leetcode 576)
  • Day 119

    • K Inverse Pairs Array (Leetcode 629)
  • Day 120

    • Number Of Submatrices That Sum To Target (Leetcode 1074)
  • Day 121

    • Implement Queue Using Stacks (Leetcode 232)
  • Day 122

    • Evaluate Reverse Polish Notation (Leetcode 150)
  • Day 123

    • Daily Temperatures (Leetcode 739)
  • Day 124

    • Divide Array Into Arrays With Max Difference (Leetcode 2966)
  • Day 125

    • Sequential Digits (Leetcode 1291)
  • Day 126

    • Partition Array For Maximum Sum (Leetcode 1043)
  • Day 127

    • Minimum Window Substring (Leetcode 76)
  • Day 128

    • First Unique Character In A String (Leetcode 387)
  • Day 129

    • Group Anagrams (Leetcode 49)
  • Day 130

    • Sort Characters By Frequency (Leetcode 451)
  • Day 131

    • Perfect Squares (Leetcode 279)
  • Day 132

    • Largest Divisible Subset (Leetcode 368)
  • Day 133

    • Palindromic Substrings (Leetcode 647)
  • Day 134

    • Cherry Pickup II (Leetcode 1463)
  • Day 135

    • Majority Element (Leetcode 169)
  • Day 136

    • Find First Palindromic String In The Array (Leetcode 2108)
  • Day 137

    • Rearrange Array Elements By Sign (Leetcode 2149)
  • Day 138

    • Find Polygon With The Largest Perimeter (Leetcode 2971)
  • Day 139

    • Least Number Of Unique Integers After K Removals (Leetcode 1481)
  • Day 140

    • Furthest Building You Can Reach (Leetcode 1642)
  • Day 141

    • Meeting Rooms III (Leetcode 2402)
  • Day 142

    • Power Of Two (Leetcode 231)
  • Day 143

    • Missing Number (Leetcode 268)
  • Day 144

    • Bitwise AND Of Numbers Range (Leetcode 201)
  • Day 145

    • Find The Town Judge (Leetcode 977)
  • Day 146

    • Cheapest Flights Within K Stops (Leetcode 787)
  • Day 147

    • Find All People With Secret (Leetcode 2092)
  • Day 148

    • Greatest Common Divisor Traversal (Leetcode 2709)
  • Day 149

    • Same Tree (Leetcode 100)
  • Day 150

    • Diameter Of Binary Tree (Leetcode 543)