Skip to content

s-surineni/atice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A collection of LeetCode questions to ace the coding interview! - Created using LeetHub v2

LeetCode Topics

Depth-First Search

0684-redundant-connection
1218-lowest-common-ancestor-of-deepest-leaves
1387-find-elements-in-a-contaminated-binary-tree
2564-most-profitable-path-in-a-tree
2793-count-the-number-of-complete-components

Breadth-First Search

0684-redundant-connection
1218-lowest-common-ancestor-of-deepest-leaves
1387-find-elements-in-a-contaminated-binary-tree
2564-most-profitable-path-in-a-tree
2793-count-the-number-of-complete-components

Union Find

0684-redundant-connection
2793-count-the-number-of-complete-components
3348-minimum-cost-walk-in-weighted-graph

Graph

0684-redundant-connection
2090-number-of-ways-to-arrive-at-destination
2220-find-all-possible-recipes-from-given-supplies
2564-most-profitable-path-in-a-tree
2793-count-the-number-of-complete-components
3348-minimum-cost-walk-in-weighted-graph

Array

0905-length-of-longest-fibonacci-subsequence
1335-maximum-candies-allocated-to-k-children
1364-tuple-with-same-product
1421-find-numbers-with-even-number-of-digits
1631-number-of-sub-arrays-with-odd-sum
1849-maximum-absolute-sum-of-any-subarray
1878-check-if-array-is-sorted-and-rotated
1927-maximum-ascending-subarray-sum
2048-build-array-from-permutation
2107-find-unique-binary-string
2220-find-all-possible-recipes-from-given-supplies
2249-count-the-hidden-sequences
2262-solving-questions-with-brainpower
2265-partition-array-according-to-given-pivot
2277-count-equal-and-divisible-pairs-in-an-array
2394-count-subarrays-with-score-less-than-k
2448-count-number-of-bad-pairs
2551-apply-operations-to-an-array
2564-most-profitable-path-in-a-tree
2614-maximum-count-of-positive-integer-and-negative-integer
2626-count-the-number-of-good-subarrays
2665-minimum-time-to-repair-cars
2707-merge-two-2d-arrays-by-summing-values
3152-maximum-value-of-an-ordered-triplet-ii
3154-maximum-value-of-an-ordered-triplet-i
3213-count-subarrays-where-max-element-appears-at-least-k-times
3227-find-missing-and-repeated-values
3348-minimum-cost-walk-in-weighted-graph
3372-longest-strictly-increasing-or-strictly-decreasing-subarray
3429-special-array-i
3434-find-the-number-of-distinct-colors-among-the-balls
3621-minimum-operations-to-make-array-values-equal-to-k
3643-zero-array-transformation-ii
3656-minimum-number-of-operations-to-make-elements-in-array-distinct

Hash Table

0905-length-of-longest-fibonacci-subsequence
1160-letter-tile-possibilities
1218-lowest-common-ancestor-of-deepest-leaves
1364-tuple-with-same-product
1387-find-elements-in-a-contaminated-binary-tree
1460-number-of-substrings-containing-all-three-characters
1500-count-largest-group
1915-check-if-one-string-swap-can-make-strings-equal
2107-find-unique-binary-string
2220-find-all-possible-recipes-from-given-supplies
2434-design-a-number-container-system
2448-count-number-of-bad-pairs
2626-count-the-number-of-good-subarrays
2707-merge-two-2d-arrays-by-summing-values
3227-find-missing-and-repeated-values
3434-find-the-number-of-distinct-colors-among-the-balls
3569-count-of-substrings-containing-every-vowel-and-k-consonants-ii
3621-minimum-operations-to-make-array-values-equal-to-k
3656-minimum-number-of-operations-to-make-elements-in-array-distinct

String

0038-count-and-say
1160-letter-tile-possibilities
1460-number-of-substrings-containing-all-three-characters
1516-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
1915-check-if-one-string-swap-can-make-strings-equal
2107-find-unique-binary-string
2220-find-all-possible-recipes-from-given-supplies
2456-construct-smallest-number-from-di-string
2463-minimum-recolors-to-get-k-consecutive-black-blocks
3447-clear-digits
3569-count-of-substrings-containing-every-vowel-and-k-consonants-ii

Counting

1160-letter-tile-possibilities
1364-tuple-with-same-product
1915-check-if-one-string-swap-can-make-strings-equal
2448-count-number-of-bad-pairs
2614-maximum-count-of-positive-integer-and-negative-integer

Simulation

2048-build-array-from-permutation
2265-partition-array-according-to-given-pivot
2551-apply-operations-to-an-array
3434-find-the-number-of-distinct-colors-among-the-balls
3447-clear-digits

Design

1387-find-elements-in-a-contaminated-binary-tree
2434-design-a-number-container-system

Heap (Priority Queue)

2434-design-a-number-container-system

Ordered Set

2434-design-a-number-container-system

Math

0069-sqrtx
1421-find-numbers-with-even-number-of-digits
1500-count-largest-group
1631-number-of-sub-arrays-with-odd-sum
2448-count-number-of-bad-pairs
2610-closest-prime-numbers-in-range
2649-count-total-number-of-colored-cells
2802-find-the-punishment-number-of-an-integer
3227-find-missing-and-repeated-values

Stack

2456-construct-smallest-number-from-di-string
3447-clear-digits

Backtracking

1160-letter-tile-possibilities
1516-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
2107-find-unique-binary-string
2456-construct-smallest-number-from-di-string
2802-find-the-punishment-number-of-an-integer

Greedy

2456-construct-smallest-number-from-di-string

Tree

1218-lowest-common-ancestor-of-deepest-leaves
1387-find-elements-in-a-contaminated-binary-tree
2564-most-profitable-path-in-a-tree

Binary Tree

1218-lowest-common-ancestor-of-deepest-leaves
1387-find-elements-in-a-contaminated-binary-tree

Dynamic Programming

0905-length-of-longest-fibonacci-subsequence
1631-number-of-sub-arrays-with-odd-sum
1849-maximum-absolute-sum-of-any-subarray
2090-number-of-ways-to-arrive-at-destination
2262-solving-questions-with-brainpower

Prefix Sum

1631-number-of-sub-arrays-with-odd-sum
2249-count-the-hidden-sequences
2394-count-subarrays-with-score-less-than-k
3643-zero-array-transformation-ii

Two Pointers

2265-partition-array-according-to-given-pivot
2551-apply-operations-to-an-array
2707-merge-two-2d-arrays-by-summing-values

Matrix

3227-find-missing-and-repeated-values

Number Theory

2610-closest-prime-numbers-in-range

Sliding Window

1460-number-of-substrings-containing-all-three-characters
2394-count-subarrays-with-score-less-than-k
2463-minimum-recolors-to-get-k-consecutive-black-blocks
2626-count-the-number-of-good-subarrays
3213-count-subarrays-where-max-element-appears-at-least-k-times
3569-count-of-substrings-containing-every-vowel-and-k-consonants-ii

Binary Search

0069-sqrtx
1335-maximum-candies-allocated-to-k-children
2394-count-subarrays-with-score-less-than-k
2614-maximum-count-of-positive-integer-and-negative-integer
2665-minimum-time-to-repair-cars
3643-zero-array-transformation-ii

Bit Manipulation

3348-minimum-cost-walk-in-weighted-graph

Topological Sort

2090-number-of-ways-to-arrive-at-destination
2220-find-all-possible-recipes-from-given-supplies

Shortest Path

2090-number-of-ways-to-arrive-at-destination

About

this is the rep for all my algo practive

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •