Purpose of this Repository - In this repository, I post Leetcode problems solved by me on the given day on a daily basis to showcase my coding skills and keep a track of the solved leetcode problems.
Structure of this Repository - There is a main problems folder in which there are sub-folders for each category of leetcode problem like for eg. Arrays, Strings, Linked list, Stack, Queue, etc. and within each of these folders there are 3 sub-folders name Easy, Medium and Hard signifying the difficulty level of the problems and within these folder are the files of the actual problems named in this format problemNumber_problemName.filetype.
Link to my Leetcode profile - https://leetcode.com/u/ashishnd
List of problems solved with links to the solutions -
- Set Matrix Zeros - https://github.com/ashishnd/LeetCode-Solutions/blob/main/Problems/Arrays/Medium/001_Set_Matrix_Zeros.cpp (Date Solved - 28th May 2024)
- Pascal's Triangle - https://github.com/ashishnd/LeetCode-Solutions/blob/main/Problems/Arrays/Easy/002_Pascals_triangle.py (Date Solved - 29th May 2024)
- Next Permutation - https://github.com/ashishnd/LeetCode-Solutions/blob/main/Problems/Arrays/Medium/003_Next_Permutation.py (Date Solved - 30th May 2024)
- Maximum Subarray - https://github.com/ashishnd/LeetCode-Solutions/blob/main/Problems/Arrays/Medium/004_Maximum_Subarray.py (Date Solved - 1st June 2024)
- Set Mismatch - https://github.com/ashishnd/LeetCode-Solutions/blob/main/Problems/Arrays/Easy/005_Set_Mismatch.py (Date Solved - 2nd June 2024)
- Search Insert Position - https://github.com/ashishnd/LeetCode-Solutions/blob/main/Problems/Arrays/Easy/006_Search_Insert_Position.py (Date Solved - 3rd June 2024)
- Missing Number - https://github.com/ashishnd/LeetCode-Solutions/blob/main/Problems/Arrays/Easy/007_Missing_Number.py (Date Solved - 4th June 2024)
- Remove Duplicates from Sorted Array - https://github.com/ashishnd/LeetCode-Solutions/blob/main/Problems/Arrays/Easy/008_Remove_Duplicates_From_Sorted_Array.py (Date Solved - 4th June 2024)
- Majority Element - https://github.com/ashishnd/LeetCode-Solutions/blob/main/Problems/Arrays/Easy/009_Majority_Element.py (Date Solved - 4th June 2024)
- Merge Two Sorted Lists - https://github.com/ashishnd/LeetCode-Solutions/blob/main/Problems/Linked%20List/Easy/010_Merge_Two_Sorted_Lists.py (Date Solved - 6th June 2024)
- Remove Duplicates from Sorted List - https://github.com/ashishnd/LeetCode-Solutions/blob/main/Problems/Linked%20List/Easy/011_Remove_Duplicates_From_Sorted_List.py (Date Solved - 6th June 2024)
- Linked List Cycle - https://github.com/ashishnd/LeetCode-Solutions/blob/main/Problems/Linked%20List/Easy/012_Linked_List_Cycle.py (Date Solved - 7th June 2024)
- Intersection of Two Linked Lists - https://github.com/ashishnd/LeetCode-Solutions/blob/main/Problems/Linked%20List/Easy/013_Intersection_Of_Two_Linked_Lists.py (Date Solved - 8th June 2024)
- Remove Linked List Elements - https://github.com/ashishnd/LeetCode-Solutions/blob/main/Problems/Linked%20List/Easy/014_Remove_Linked_List_Elements.py (Date Solved - 8th June 2024)
- Reverse Linked List - https://github.com/ashishnd/LeetCode-Solutions/blob/main/Problems/Linked%20List/Easy/015_Reverse_Linked_List.py (Date Solved - 9th June 2024)
- Palindrome Linked List - https://github.com/ashishnd/LeetCode-Solutions/blob/main/Problems/Linked%20List/Easy/016_Palindrome_Linked_List.py (Date Solved - 9th June 2024)
- Middle of the Linked List - https://github.com/ashishnd/LeetCode-Solutions/blob/main/Problems/Linked%20List/Easy/017_Middle_of_the_Linked_List.py (Date Solved - 9th June 2024)
- Add Two Numbers - https://github.com/ashishnd/LeetCode-Solutions/blob/main/Problems/Linked%20List/Medium/018_Add_Two_Numbers.py (Date Solved - 10th June 2024)
- Remove Nth Node From End of List - https://github.com/ashishnd/LeetCode-Solutions/blob/main/Problems/Linked%20List/Medium/019_Remove_Nth_Node_From_End_of_List.py (Date Solved - 11th June 2024)
- Merge k Sorted Lists - https://github.com/ashishnd/LeetCode-Solutions/blob/main/Problems/Linked%20List/Hard/020_Merge_k_Sorted_Lists.py (Date Solved - 12th June 2024)
- Swap Nodes in Pairs - https://github.com/ashishnd/LeetCode-Solutions/blob/main/Problems/Linked%20List/Medium/021_Swap_Nodes_in_Pairs.py (Date Solved - 14th June 2024)