Skip to content

In this repository, I post Leetcode problems solved by me on the given day on a daily basis to showcase my coding skills, keep track of the problems I solve and backup solutions

Notifications You must be signed in to change notification settings

ashishnd/LeetCode-Solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 

Repository files navigation

LeetCode-Solutions

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 -

  1. Set Matrix Zeros - https://github.com/ashishnd/LeetCode-Solutions/blob/main/Problems/Arrays/Medium/001_Set_Matrix_Zeros.cpp (Date Solved - 28th May 2024)
  2. Pascal's Triangle - https://github.com/ashishnd/LeetCode-Solutions/blob/main/Problems/Arrays/Easy/002_Pascals_triangle.py (Date Solved - 29th May 2024)
  3. Next Permutation - https://github.com/ashishnd/LeetCode-Solutions/blob/main/Problems/Arrays/Medium/003_Next_Permutation.py (Date Solved - 30th May 2024)
  4. Maximum Subarray - https://github.com/ashishnd/LeetCode-Solutions/blob/main/Problems/Arrays/Medium/004_Maximum_Subarray.py (Date Solved - 1st June 2024)
  5. Set Mismatch - https://github.com/ashishnd/LeetCode-Solutions/blob/main/Problems/Arrays/Easy/005_Set_Mismatch.py (Date Solved - 2nd June 2024)
  6. Search Insert Position - https://github.com/ashishnd/LeetCode-Solutions/blob/main/Problems/Arrays/Easy/006_Search_Insert_Position.py (Date Solved - 3rd June 2024)
  7. Missing Number - https://github.com/ashishnd/LeetCode-Solutions/blob/main/Problems/Arrays/Easy/007_Missing_Number.py (Date Solved - 4th June 2024)
  8. 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)
  9. Majority Element - https://github.com/ashishnd/LeetCode-Solutions/blob/main/Problems/Arrays/Easy/009_Majority_Element.py (Date Solved - 4th June 2024)
  10. 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)
  11. 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)
  12. 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)
  13. 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)
  14. 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)
  15. 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)
  16. 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)
  17. 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)
  18. 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)
  19. 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)
  20. 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)
  21. 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)

About

In this repository, I post Leetcode problems solved by me on the given day on a daily basis to showcase my coding skills, keep track of the problems I solve and backup solutions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published