Skip to content

Rubix982/LeetCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode

LeetCode

Table Of Contents

About

Here I publish my LeetCode solutions

Officially this repository starts at the date 18th May, 2022.

The goal is to solve AT LEAST 2 problems, and AT MOST 3 problems, per day.

For guidance on what problems to solve, I will use the following guides on the dashboard of LeetCode.

LeetCode Dashboard

These are my steps,

  1. Finish all the study plans as outlined, SQL Study Plan, Binary Search Study Plan, 14 Days Study Plan To Crack Algo, and so on
  2. Approach questions by TOPICS filtered by difficulty in DESCENDING order (starting from HARD problems)

Template

Please follow the steps and copy the following template to generate a folder for a new problem.

  1. Create a folder with the following format, <PROBLEM_NUMBER>. <PROBLEM_NAME> (<PROBLEM_DIFFICULTY>)

  2. Create a README.md in the folder

  3. Fill the README.md with the following template for the content,

    # <PROBLEM_NUMBER>. <PROBLEM_NAME> (<PROBLEM_DIFFICULTY>)
    
    ## Table Of Contents
    
    - [<PROBLEM_NUMBER>. <PROBLEM_NAME> (<PROBLEM_DIFFICULTY>)](#problem_number-problem_name-problem_difficulty)
      - [Table Of Contents](#table-of-contents)
      - [Link](#link)
      - [Description](#description)
      - [Hints](#hints)
      - [Result Details](#result-details)
    
    ## Link
    
    Problem can be found [here](https://leetcode.com/study-plan/).
    
    ## Description
    
    ...
    
    ## Hints
    
    ...
    
    ## Result Details
    
    ...
    
  4. Copy paste the material starting from <PROBLEM_NUMBER>. <PROBLEM_NAME> to Constraints in the description

    example-description-copy-paste

  5. Copy paste the Hint or Follow Up under Hints

  6. After solving, share the output generated by LeetCode for time and space complexity under Result Details

  7. Create a file called Solution.java in the respective folder, copy paste results

Support Me

If you like what I am doing, please star or fork. Thanks!

LeetCode Topics

String

0008-string-to-integer-atoi
0012-integer-to-roman
0013-roman-to-integer
0020-valid-parentheses
0030-substring-with-concatenation-of-all-words
0032-longest-valid-parentheses
0044-wildcard-matching
0058-length-of-last-word
0067-add-binary
0076-minimum-window-substring
0127-word-ladder
0297-serialize-and-deserialize-binary-tree
1781-check-if-two-string-arrays-are-equivalent
2184-check-if-an-original-string-exists-given-two-encoded-strings

Tree

0297-serialize-and-deserialize-binary-tree

Depth-First Search

0297-serialize-and-deserialize-binary-tree
0329-longest-increasing-path-in-a-matrix

Breadth-First Search

0127-word-ladder
0297-serialize-and-deserialize-binary-tree
0329-longest-increasing-path-in-a-matrix

Design

0295-find-median-from-data-stream
0297-serialize-and-deserialize-binary-tree

Binary Tree

0297-serialize-and-deserialize-binary-tree

Dynamic Programming

0032-longest-valid-parentheses
0042-trapping-rain-water
0044-wildcard-matching
0085-maximal-rectangle
0118-pascals-triangle
0119-pascals-triangle-ii
0221-maximal-square
0329-longest-increasing-path-in-a-matrix
0769-largest-plus-sign
2184-check-if-an-original-string-exists-given-two-encoded-strings

Stack

0020-valid-parentheses
0032-longest-valid-parentheses
0042-trapping-rain-water
0084-largest-rectangle-in-histogram
0085-maximal-rectangle
0150-evaluate-reverse-polish-notation

Greedy

0044-wildcard-matching

Recursion

0025-reverse-nodes-in-k-group
0044-wildcard-matching

Hash Table

0012-integer-to-roman
0013-roman-to-integer
0030-substring-with-concatenation-of-all-words
0041-first-missing-positive
0076-minimum-window-substring
0127-word-ladder
0149-max-points-on-a-line

Sliding Window

0030-substring-with-concatenation-of-all-words
0076-minimum-window-substring

Array

0026-remove-duplicates-from-sorted-array
0027-remove-element
0041-first-missing-positive
0042-trapping-rain-water
0051-n-queens
0066-plus-one
0084-largest-rectangle-in-histogram
0085-maximal-rectangle
0118-pascals-triangle
0119-pascals-triangle-ii
0149-max-points-on-a-line
0150-evaluate-reverse-polish-notation
0221-maximal-square
0315-count-of-smaller-numbers-after-self
0329-longest-increasing-path-in-a-matrix
0769-largest-plus-sign
1781-check-if-two-string-arrays-are-equivalent
2324-find-triangular-sum-of-an-array
3555-final-array-state-after-k-multiplication-operations-i

Graph

0329-longest-increasing-path-in-a-matrix

Topological Sort

0329-longest-increasing-path-in-a-matrix

Memoization

0329-longest-increasing-path-in-a-matrix

Matrix

0085-maximal-rectangle
0221-maximal-square
0329-longest-increasing-path-in-a-matrix

Math

0009-palindrome-number
0012-integer-to-roman
0013-roman-to-integer
0066-plus-one
0067-add-binary
0149-max-points-on-a-line
0150-evaluate-reverse-polish-notation
2324-find-triangular-sum-of-an-array
3555-final-array-state-after-k-multiplication-operations-i

Geometry

0149-max-points-on-a-line

Heap (Priority Queue)

0023-merge-k-sorted-lists
0295-find-median-from-data-stream
3555-final-array-state-after-k-multiplication-operations-i

Simulation

0067-add-binary
2324-find-triangular-sum-of-an-array
3555-final-array-state-after-k-multiplication-operations-i

Two Pointers

0026-remove-duplicates-from-sorted-array
0027-remove-element
0042-trapping-rain-water
0295-find-median-from-data-stream

Monotonic Stack

0042-trapping-rain-water
0084-largest-rectangle-in-histogram
0085-maximal-rectangle

Binary Search

0315-count-of-smaller-numbers-after-self

Divide and Conquer

0023-merge-k-sorted-lists
0315-count-of-smaller-numbers-after-self

Binary Indexed Tree

0315-count-of-smaller-numbers-after-self

Segment Tree

0315-count-of-smaller-numbers-after-self

Merge Sort

0023-merge-k-sorted-lists
0315-count-of-smaller-numbers-after-self

Ordered Set

0315-count-of-smaller-numbers-after-self

Linked List

0023-merge-k-sorted-lists
0025-reverse-nodes-in-k-group

Sorting

0295-find-median-from-data-stream

Data Stream

0295-find-median-from-data-stream

Backtracking

0051-n-queens
0052-n-queens-ii

Combinatorics

2324-find-triangular-sum-of-an-array

Bit Manipulation

0067-add-binary

Database

0175-combine-two-tables
0181-employees-earning-more-than-their-managers

About

Here I publish my leetcode solutions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages