Skip to content

rushangchandekar/Leetcode-Solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leetcode Solutions

Welcome to my repository of Leetcode solutions! This repository contains solutions to problems I have solved on Leetcode, all implemented in C++. The problems are organized by it's name and problem number, making it easier to navigate and understand different problem-solving approaches.

Contents

  • Easy: Solutions to easy-level problems.
  • Medium: Solutions to medium-level problems.
  • Hard: Solutions to hard-level problems.
  • Topics: Grouped solutions based on various topics like Arrays, Linked Lists, Dynamic Programming, etc.

Language Used

  • C++: All solutions are implemented in C++.

Contribution

Feel free to open issues or contribute by submitting pull requests! Any feedback or suggestions for improvements are welcome.

How to Use

  1. Clone the repository to your local machine:
    git clone https://github.com/rushangchandekar/Leetcode-Solutions.git
    

LeetCode Topics

Array

0075-sort-colors
0108-convert-sorted-array-to-binary-search-tree
0283-move-zeroes
1008-construct-binary-search-tree-from-preorder-traversal

Two Pointers

0075-sort-colors
0283-move-zeroes

Linked List

0114-flatten-binary-tree-to-linked-list

Stack

0114-flatten-binary-tree-to-linked-list
1008-construct-binary-search-tree-from-preorder-traversal

Tree

0098-validate-binary-search-tree
0108-convert-sorted-array-to-binary-search-tree
0114-flatten-binary-tree-to-linked-list
0230-kth-smallest-element-in-a-bst
0235-lowest-common-ancestor-of-a-binary-search-tree
0783-minimum-distance-between-bst-nodes
1008-construct-binary-search-tree-from-preorder-traversal

Depth-First Search

0098-validate-binary-search-tree
0114-flatten-binary-tree-to-linked-list
0230-kth-smallest-element-in-a-bst
0235-lowest-common-ancestor-of-a-binary-search-tree
0783-minimum-distance-between-bst-nodes

Binary Tree

0098-validate-binary-search-tree
0108-convert-sorted-array-to-binary-search-tree
0114-flatten-binary-tree-to-linked-list
0230-kth-smallest-element-in-a-bst
0235-lowest-common-ancestor-of-a-binary-search-tree
0783-minimum-distance-between-bst-nodes
1008-construct-binary-search-tree-from-preorder-traversal

Divide and Conquer

0108-convert-sorted-array-to-binary-search-tree

Binary Search Tree

0098-validate-binary-search-tree
0108-convert-sorted-array-to-binary-search-tree
0230-kth-smallest-element-in-a-bst
0235-lowest-common-ancestor-of-a-binary-search-tree
0783-minimum-distance-between-bst-nodes
1008-construct-binary-search-tree-from-preorder-traversal

Breadth-First Search

0783-minimum-distance-between-bst-nodes

Sorting

0075-sort-colors

Monotonic Stack

1008-construct-binary-search-tree-from-preorder-traversal

About

Leetcode Solutions: A collection of my solutions to various problems on Leetcode, all implemented in C++. This repository serves as a personal reference and learning resource for solving algorithmic challenges. The problems are organized by difficulty and topic to help you navigate through them easily.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages