Skip to content

Latest commit

 

History

History
executable file
·
137 lines (136 loc) · 22.8 KB

File metadata and controls

executable file
·
137 lines (136 loc) · 22.8 KB

leetcode

This repository contains my solutions to various LeetCode problems.
Link to my account (DomBinks)

Problems solved: 123

Easy: 78
Medium: 43
Hard: 2

Date Number Name Difficulty Solution Notes
2024-11-18 215 Kth Largest Element in an Array Medium Python Heap
2024-10-14 55 Jump Game Medium Python
2024-01-30 2154 Keep Multiplying Found Values by Two Easy Python Set
2024-01-11 121 Best Time to Buy and Sell Stock Easy Python Sliding window
2024-01-08 704 Binary Search Easy Python Binary search
2024-01-08 141 Linked List Cycle Easy Python Linked list
2023-10-04 150 Evaluate Reverse Polish Notation Medium Python Recursion, Stack
2023-10-04 155 Min Stack Medium Python Stack
2023-08-30 1941 Check if All Characters Have Equal Number of Occurrences Easy Python Sorting
2023-08-29 739 Daily Temperatures Medium Python Stack
2023-08-27 2131 Longest Palindrome by Concatenating Two Letter Words Medium Python Hash map
2023-08-23 1451 Rearrange Words in a Sentence Medium Python Hash map, Sorting
2023-08-21 917 Reverse Only Letters Easy Python
2023-08-21 884 Uncommon Words from Two Sentences Easy Python Hash map, List comprehension
2023-08-18 2342 Max Sum of a Pair With Equal Sum of Digits Medium Python Hash map
2023-08-17 278 First Bad Version Easy Python
2023-08-17 509 Fibonacci Number Easy Python
2023-08-17 696 Count Binary Substrings Easy Python
2023-08-16 599 Minimum Index Sum of Two Lists Easy Python Hash map
2023-08-16 598 Range Addition II Easy Python
2023-08-16 338 Counting Bits Easy Python List comprehension
2023-08-14 128 Longest Consecutive Sequence Medium Python Hash map
2023-08-14 36 Valid Sudoku Medium Python Matrix, Hash map
2023-08-14 238 Product of Array Except Self Medium Python Prefix sum
2023-08-14 347 Top K Frequent Elements Medium Python Priority queue, Hash map
2023-08-14 49 Group Anagrams Medium Python Hash map
2023-08-14 242 Valid Anagram Easy Python Hash map
2023-08-14 217 Contains Duplicate Easy Python Hash map
2023-08-13 1854 Maximum Population Year Easy Python
2023-08-12 1952 Three Divisors Easy Python
2023-08-12 2119 A Number After a Double Reversal Easy Python
2023-08-08 2086 Minimum Number of Food Buckets to Feed the Hamsters Medium Python
2023-08-08 2260 Minimum Consecutive Cards to Pick Up Medium Python Hash map
2023-08-08 22 Generate Parentheses Medium Python Dynamic programming
2023-08-07 74 Search a 2D Matrix Medium Python
2023-08-07 434 Number of Segments in a String Easy Python
2023-08-07 693 Binary Number with Alternating Bits Easy Python
2023-08-07 709 To Lower Case Easy Python
2023-08-07 1700 Number of Students Unable to Eat Lunch Easy Python
2023-07-13 207 Course Schedule Medium Python DFS
2023-07-06 451 Sort Characters By Frequency Medium C++ Priority queue
2023-07-06 2231 Largest Number After Digit Swaps by Parity Easy C++ Priority queue
2023-07-05 1493 Longest Subarray of 1's After Deleting One Element Medium Python Sliding window
2023-07-04 1020 Number of Enclaves Medium Python Flood fill
2023-07-04 419 Battleships in a Board Medium Python Flood fill
2023-07-04 12 Integer to Roman Medium Python
2023-07-04 137 Single Number II Medium Python
2023-06-22 30 Substring with Concatenation of All Words Hard Python Sliding window
2023-06-22 187 Repeated DNA Sequences Medium Python Sliding window
2023-06-22 1004 Max Consecutive Ones III Medium Python Sliding window
2023-06-22 2269 Find the K-Beauty of a Number Easy Python Sliding window
2023-06-22 1876 Substrings of Size Three with Distinct Characters Easy Python Sliding window
2023-06-15 1161 Maximum Level Sum of a Binary Tree Medium Python DFS
2023-06-14 530 Minimum Absolute Difference in BST Easy Python BST, DFS
2023-06-13 701 Insert into a Binary Search Tree Medium Python BST
2023-06-13 2352 Equal Row and Column Pairs Medium Python Hash map
2023-06-07 1318 Minimum Flips to Make a OR b Equal to c Medium Python
2023-01-08 344 Reverse String Easy Python
2023-01-07 1995 Count Special Quadruplets Easy Python(Naive)
2023-01-06 1743 Restore the Array From Adjacent Pairs Medium Unsolved
2023-01-06 205 Isomorphic Strings Easy Python
2023-01-05 322 Coin Change Medium Unsolved
2023-01-05 43 Multiply String Medium Python
2023-01-05 125 Valid Palindrome Easy Python
2022-10-21 1281 Subtract the Product and Sum of Digits of an Integer Easy C++
2022-10-20 1929 Concatenation of Array Easy C++
2022-10-19 1920 Build Array from Permutation Easy C++
2022-10-18 1741 Find Total Time Spent by Each Employee Easy SQL
2022-10-17 1757 Recyclable and Low Fat Products Easy SQL
2022-10-16 1379 Find a Corresponding Node of a Binary Tree in a Clone of That Tree Easy C++
2022-10-15 1365 How Many Numbers Are Smaller Than the Current Number Easy C++
2022-10-14 1486 XOR Operation in an Array Easy C++
2022-10-13 2367 Number of Arithmetic Triples Easy C++
2022-10-12 1603 Design Parking System Easy C++
2022-10-11 771 Jewels and Stones Easy C++
2022-10-10 2160 Minimum Sum of Four Digit Number After Splitting Digits Easy Python
2022-10-09 1859 Sorting the Sentence Easy Python
2022-10-08 2062 Count Vowel Substrings of a String Easy Unsolved
2022-10-07 1534 Count Good Triplets Easy C++
2022-10-06 1684 Count the Number of Consistent Strings Easy C++
2022-10-05 938 Range Sum of BST Easy C++
2022-10-04 1773 Count Items Matching a Rule Easy C++
2022-10-03 1431 Kids With the Greatest Number of Candies Easy C++
2022-10-02 2236 Root Equals Sum of Children Easy C++
2022-10-01 1512 Number of Good Pairs Easy C++
2022-09-30 1108 Defanging an IP Address Easy C++
2022-09-29 2181 Merge Nodes in Between Zeros Medium C++
2022-09-28 1528 Shuffle String Easy C++
2022-09-27 2011 Final Value of Variable After Performing Operations Easy C++
2022-09-26 2114 Maximum Number of Words Found in Sentences Easy Python
2022-09-25 2413 Smallest Even Multiple Easy C++
2022-09-24 6 Zigzag Conversion Medium C++
2022-09-23 1480 Running Sum of 1d Array Easy C++
Haskell
2022-09-22 2235 Add Two Integers Easy C++
2022-09-21 1470 Shuffle the Array Easy C++
2022-09-20 70 Climbing Stairs Easy C++
2022-09-19 14 Longest Common Prefix Easy C++(Naive)
2022-09-18 21 Merge Two Sorted Lists Easy C(Naive)
2022-09-17 58 Length of Last Word Easy Python
2022-09-16 1770 Maximum Score from Performing Multiplication Operations Medium Unsolved
2022-09-15 2007 Find Original Array From Doubled Array Medium C++(Naive)
C++(Example Solution)
2022-09-14 1457 Pseudo-Palindrommic Paths in a Binary Tree Medium C DFS
2022-09-13 393 UTF-8 Validation Medium C
2022-09-12 948 Bag of Tokens Medium Python(Naive)
2022-09-11 1221 Split a String in Balanced Strings Easy C
Haskell
2022-09-10 20 Valid Parentheses Easy Python Stack
2022-09-09 2325 Decode the Message Easy Python
2022-09-08 807 Max Increase to Keep City Skyline Medium C(Naive)
2022-09-07 50 Pow(x,n) Medium C
2022-09-07 206 Reverse Linked List Easy C
2022-09-06 5 Longest Palindromic Substring Medium C(Naive)
2022-09-06 4 Median of Two Sorted Arrays Hard C(Naive)
2022-09-05 3 Longest Substring Without Repeating Characters Medium C(Naive)
C(Better) Python
Sliding window
2022-09-04 66 Plus One Easy Python
Haskell
2022-09-03 9 Palindrome Number Easy Python
Haskell
2022-09-02 1 Two Sum Easy Python(Naive)
Python(Better)
2022-09-01 1337 The K Weakest Rows in a Matrix Easy Python
2022-09-01 1342 Number of Steps to Reduce a Number to Zero Easy C
Haskell
2022-08-31 2 Add Two Numbers Medium C
2022-08-30 1672 Richest Customer Wealth Easy Python
Haskell
2022-08-29 876 Middle of the Linked list Easy C
2022-08-28 234 Palindrome Linked List Easy C
2022-08-28 383 Ransom Note Easy C
2022-08-27 412 Fizz Buzz Easy Python
2022-08-26 13 Roman to Integer Easy Python