Skip to content

Here I solve leetcode problems by different approach , you can see and try to solve by own .

Notifications You must be signed in to change notification settings

Suraj1719/LeetCodeProblem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCodeProblem

Here I solve leetcode problems by different approach , you can see and try to solve by own . Here you can find the problems solution if you find problem or have doubt in any problem . Try to understand , then solve by yourself .

Keep learning and Growing .

Two Pointers

0075-sort-colors
0853-most-profit-assigning-work
2572-append-characters-to-string-to-make-subsequence

String

0648-replace-words
1044-find-common-characters
2572-append-characters-to-string-to-make-subsequence

Greedy

0330-patching-array
0853-most-profit-assigning-work
0876-hand-of-straights
0982-minimum-increment-to-make-array-unique
1422-divide-array-in-sets-of-k-consecutive-numbers
2148-minimum-number-of-moves-to-seat-everyone
2572-append-characters-to-string-to-make-subsequence

Array

0075-sort-colors
0330-patching-array
0648-replace-words
0853-most-profit-assigning-work
0876-hand-of-straights
0982-minimum-increment-to-make-array-unique
1044-find-common-characters
1217-relative-sort-array
1422-divide-array-in-sets-of-k-consecutive-numbers
1553-count-triplets-that-can-form-two-arrays-of-equal-xor
1631-number-of-sub-arrays-with-odd-sum
2148-minimum-number-of-moves-to-seat-everyone

Hash Table

0648-replace-words
0876-hand-of-straights
1044-find-common-characters
1217-relative-sort-array
1422-divide-array-in-sets-of-k-consecutive-numbers
1553-count-triplets-that-can-form-two-arrays-of-equal-xor

Math

1553-count-triplets-that-can-form-two-arrays-of-equal-xor
1631-number-of-sub-arrays-with-odd-sum

Bit Manipulation

1553-count-triplets-that-can-form-two-arrays-of-equal-xor

Prefix Sum

1553-count-triplets-that-can-form-two-arrays-of-equal-xor
1631-number-of-sub-arrays-with-odd-sum

Sorting

0075-sort-colors
0853-most-profit-assigning-work
0876-hand-of-straights
0982-minimum-increment-to-make-array-unique
1217-relative-sort-array
1422-divide-array-in-sets-of-k-consecutive-numbers
2148-minimum-number-of-moves-to-seat-everyone

Trie

0648-replace-words

Dynamic Programming

1631-number-of-sub-arrays-with-odd-sum

Counting Sort

0982-minimum-increment-to-make-array-unique
1217-relative-sort-array

Tree

0103-binary-tree-zigzag-level-order-traversal

Breadth-First Search

0103-binary-tree-zigzag-level-order-traversal

Binary Tree

0103-binary-tree-zigzag-level-order-traversal

Binary Search

0853-most-profit-assigning-work

LeetCode Topics

Hash Table

0906-walking-robot-simulation
2044-number-of-wonderful-substrings
2586-longest-square-streak-in-an-array
3276-minimum-number-of-pushes-to-type-word-ii

String

0539-minimum-time-difference
2044-number-of-wonderful-substrings
2095-minimum-number-of-swaps-to-make-the-string-balanced
3276-minimum-number-of-pushes-to-type-word-ii

Greedy

0045-jump-game-ii
0055-jump-game
0134-gas-station
1346-maximize-the-topmost-element-after-k-moves
2095-minimum-number-of-swaps-to-make-the-string-balanced
3276-minimum-number-of-pushes-to-type-word-ii

Sorting

0088-merge-sorted-array
0274-h-index
0539-minimum-time-difference
2586-longest-square-streak-in-an-array
2646-kth-largest-sum-in-a-binary-tree
3276-minimum-number-of-pushes-to-type-word-ii

Counting

3276-minimum-number-of-pushes-to-type-word-ii

Array

0039-combination-sum
0040-combination-sum-ii
0045-jump-game-ii
0055-jump-game
0080-remove-duplicates-from-sorted-array-ii
0088-merge-sorted-array
0134-gas-station
0238-product-of-array-except-self
0274-h-index
0539-minimum-time-difference
0906-walking-robot-simulation
1346-maximize-the-topmost-element-after-k-moves
1435-xor-queries-of-a-subarray
2006-find-the-student-that-will-replace-the-chalk
2132-convert-1d-array-into-2d-array
2503-longest-subarray-with-maximum-bitwise-and
2586-longest-square-streak-in-an-array
2794-maximum-number-of-moves-in-a-grid

Backtracking

0039-combination-sum
0040-combination-sum-ii

Matrix

2132-convert-1d-array-into-2d-array
2794-maximum-number-of-moves-in-a-grid

Simulation

0906-walking-robot-simulation
2006-find-the-student-that-will-replace-the-chalk
2132-convert-1d-array-into-2d-array

Binary Search

2006-find-the-student-that-will-replace-the-chalk
2586-longest-square-streak-in-an-array

Prefix Sum

0238-product-of-array-except-self
1435-xor-queries-of-a-subarray
2006-find-the-student-that-will-replace-the-chalk
2044-number-of-wonderful-substrings

Bit Manipulation

1435-xor-queries-of-a-subarray
2044-number-of-wonderful-substrings
2503-longest-subarray-with-maximum-bitwise-and

Brainteaser

2503-longest-subarray-with-maximum-bitwise-and

Two Pointers

0080-remove-duplicates-from-sorted-array-ii
0088-merge-sorted-array
2095-minimum-number-of-swaps-to-make-the-string-balanced

Dynamic Programming

0045-jump-game-ii
0055-jump-game
2586-longest-square-streak-in-an-array
2794-maximum-number-of-moves-in-a-grid

Counting Sort

0274-h-index

Stack

2095-minimum-number-of-swaps-to-make-the-string-balanced

Tree

2646-kth-largest-sum-in-a-binary-tree

Breadth-First Search

2646-kth-largest-sum-in-a-binary-tree

Binary Tree

2646-kth-largest-sum-in-a-binary-tree

Math

0539-minimum-time-difference

About

Here I solve leetcode problems by different approach , you can see and try to solve by own .

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages