Skip to content

Just a simple repo to put my LeetCode work into. I'll mainly be doing the daily solutions.

License

Notifications You must be signed in to change notification settings

jawdan-dev/LeetCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

LeetCode Solutions

Useful Links

Project Overview

This is just a simple repo for me to put my LeetCode problem solutions into.

All solutions will be completed in C++.

Completed Solutions

Quick table overview of the completed solutions.

# Problem Difficulty
1 Two Sum Easy
2 Add Two Numbers Medium
3 Longest Substring Without Repeating Characters Medium
4 Median Of Two Sorted Arrays Hard
6 Zigzag Conversion Medium
7 Reverse Integer Medium
8 String To Integer (atoi) Medium
9 Palindrome Number Easy
10 Regular Expression Matching Hard
12 Integer To Roman Medium
13 Roman To Integer Easy
14 Longest Common Prefix Easy
20 Valid Parentheses Easy
21 Merge Two Sorted Lists Easy
26 Remove Duplicates From Sorted Array Easy
27 Remove Element Easy
28 Find the Index of the First Occurrence in a String Easy
42 Trapping Rain Water Hard
50 Pow(x, n) Medium
58 Length Of The Last Word Easy
75 Sort Colors Medium
78 Subsets Medium
79 Word Search Medium
84 Largest Rectangle in Histogram Hard
85 Maximal Rectangle Hard
129 Sum Root to Leaf Numbers Medium
131 Palindrome Partitioning Medium
140 Word Break II Hard
165 Compare Version Numbers Medium
200 Number of Islands Medium
205 Isomorphic Strings Easy
237 Delete Node in a Linked List Medium
260 Single Number III Medium
310 Minimum Height Trees Medium
330 Patching Array Hard
344 Reverse String Easy
402 Remove K Digits Medium
404 Sum of Left Leaves Easy
409 Longest Palindrome Easy
463 Island Perimeter Easy
502 IPO Hard
506 Relative Ranks Easy
514 Freedom Trial Hard
523 Continuous Subarray Sum Medium
552 Student Attendance Record II Hard
623 Add One Row to Tree Medium
633 Sum of Square Numbers Medium
648 Replace Words Medium
678 Valid Parenthesis String Medium
752 Open the Lock Medium
786* K-th Smallest Prime Fraction Medium
826 Most Profit Assigning Work Medium
834 Sum of Distances in Tree Hard
846 Hands of Straights Medium
857 Minimum Cost to Hire K Workers Hard
861 Score after Flipping Matrix Medium
881 Boats to Save People Medium
945 Minimum Increment to Make Array Unique Medium
950 Reveal Cards in Increasing Order Medium
974 Subarray Sums Divisible by K Medium
979 Distribute Coins in Binary Tree Medium
988 Smallest String Starting from Leaf Medium
995 Minimum Number of K Consecutive Bit Flips Hard
1002 Find Common Characters Easy
1038 Binary Search Tree to Greater Sum Tree Medium
1051 Height Checker Easy
1052 Grumpy Bookstore Owner Medium
1122 Relative Sort Array Easy
1137 Nth Tribonacci Number Easy
1208 Get Equal Substrings Within Budget Medium
1219 Path with Maximum Gold Medium
1248 Count Number of Nice Subarrays Medium
1249 Minimum Remove to Make Valid Parentheses Medium
1255 Maximum Score Words Formed by Letters Hard
1289 Minimum Falling Path Sum II Hard
1325 Delete Leaves With a Given Value Medium
1382 Balance a Binary Search Tree Medium
1404 Number of Steps to Reduce a Number in Binary Representation to One Medium
1438 Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit Medium
1442 Count Triplets That Can Form Two Arrays of Equal XOR Medium
1482 Minimum Number of Days to Make m Bouquets Medium
1544 Make The String Great Easy
1545 Find Kth Bit in Nth Binary String Medium
1550 Three Consecutive Odds Easy
1552 Magnetic Force Between Two Balls Medium
1579 Remove Max Number of Edges to Keep Graph Fully Traversable Hard
1608 Special Array With X Elements Greater Than or Equal X Easy
1614 Maximum Nesting Depth of the Parentheses Easy
1700 Number of Students Unable to Eat Lunch Easy
1791 Find Center of Star Graph Easy
1863 Sum of All Subset XOR Totals Easy
1915 Number of Wonderful Substrings Medium
1971 Find if Path Exists in Graph Easy
1992 Find All Groups of Farmland Medium
2000 Reverse Prefix of Word Easy
2037 Minimum Number of Moves to Seat Everyone Easy
2073 Time Needed to Buy Tickets Easy
2192 All Ancestors of a Node in a Directed Acyclic Graph Medium
2285 Maximum Total Importance of Roads Medium
2331 Evaluate Boolean Binary Tree Easy
2370 Longest Ideal Subsequence Medium
2373 Largest Local Value in a Matrix Easy
2441 Largest Positive Integer that Exists with its Negative Easy
2486 Append Characters to String to Make Subsequence Medium
2487 Remove Node from Linked List Medium
2597* The Number of Beautiful Subsets Medium
2812 Find the Safest Path in a Grid Medium
2816 Double a Number Represented as a Linked List Medium
2997 Minimum Number of Operations to Make Array XOR Equal to K Medium
3068 Find the Maximum Sum of Node Values Hard
3075 Maximize Happiness of Selected Children Medium
3110 Score of a String Easy

About

Just a simple repo to put my LeetCode work into. I'll mainly be doing the daily solutions.

Topics

Resources

License

Stars

Watchers

Forks

Languages