Skip to content

puneetrai07/LeetCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,506 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode

  • Collection of LeetCode questions with solutions to ace the coding interview!

  • Both questions and solutions are updated in this repository.

  • CPP and SQL (Database) Solutions

How to find your question ?

  • You can easily find the solution for your question, just press CTRL+F and search either using the question number or you can enter the topic of your question from LeetCode.

  • For Example : Question Number 1 - Two Sum can be found either by searching 1, or if it is difficult, you should try CTRL+F and than by typing "1-TWO-SUM"

THANK YOU!!

Hope you like this!

LeetCode Topics

Array

0001-two-sum
0011-container-with-most-water
0015-3sum
0036-valid-sudoku
0049-group-anagrams
0128-longest-consecutive-sequence
0167-two-sum-ii-input-array-is-sorted
0217-contains-duplicate
0347-top-k-frequent-elements
0739-daily-temperatures

Hash Table

0001-two-sum
0036-valid-sudoku
0049-group-anagrams
0128-longest-consecutive-sequence
0141-linked-list-cycle
0217-contains-duplicate
0242-valid-anagram
0347-top-k-frequent-elements

Sorting

0015-3sum
0049-group-anagrams
0217-contains-duplicate
0242-valid-anagram
0347-top-k-frequent-elements

String

0049-group-anagrams
0125-valid-palindrome
0242-valid-anagram
0344-reverse-string

Divide and Conquer

0347-top-k-frequent-elements

Heap (Priority Queue)

0347-top-k-frequent-elements

Bucket Sort

0347-top-k-frequent-elements

Counting

0347-top-k-frequent-elements

Quickselect

0347-top-k-frequent-elements

Matrix

0036-valid-sudoku

Union-Find

0128-longest-consecutive-sequence

Two Pointers

0011-container-with-most-water
0015-3sum
0019-remove-nth-node-from-end-of-list
0125-valid-palindrome
0141-linked-list-cycle
0167-two-sum-ii-input-array-is-sorted
0344-reverse-string
0876-middle-of-the-linked-list

Binary Search

0167-two-sum-ii-input-array-is-sorted

Greedy

0011-container-with-most-water

Linked List

0019-remove-nth-node-from-end-of-list
0021-merge-two-sorted-lists
0141-linked-list-cycle
0237-delete-node-in-a-linked-list
0876-middle-of-the-linked-list

Recursion

0021-merge-two-sorted-lists

Stack

0739-daily-temperatures

Monotonic Stack

0739-daily-temperatures

Tree

0236-lowest-common-ancestor-of-a-binary-tree

Depth-First Search

0236-lowest-common-ancestor-of-a-binary-tree

Binary Tree

0236-lowest-common-ancestor-of-a-binary-tree

About

Collection of LeetCode questions to ace the coding interview!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors