Skip to content

Amrat26728/LeetcodeProblems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode Solutions

Welcome to my repository of LeetCode problem solutions! 🎉

This repository contains solutions to over 300+ LeetCode problems, covering a wide range of topics including Arrsys, LinkedList, Tree, and more.

Problem Categories

  • Arrays
  • Strings
  • Linked Lists
  • Trees
  • Graphs
  • Sorting & Searching
  • Recursion
  • Mathematics

Contribution

If you'd like to contribute to this repository by adding more solutions, feel free to fork the repository and create a pull request. Contributions are always welcome!

To contribute:

  1. Fork this repository.
  2. Clone your fork to your local machine.
  3. Create a new branch (git checkout -b new-solutions).
  4. Add your solution (in the appropriate directory).
  5. Commit your changes (git commit -m 'Add new problem solution').
  6. Push your changes (git push origin new-solutions).
  7. Create a pull request.

Node class for Linked list problems

class Node{ int val; Node next; Node(int val){ this.val = val; } }

Node class for Tree problems

class TreeNode{ int val; TreeNode left; TreeNode right; TreeNode(int val){ this.val = val; } }

Happy Coding! ✨

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages