/DSA-Journey---JAVA

This repository is for leetcode's solutions

Primary LanguageJava

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

LeetCode Topics

Hash Table

0141-linked-list-cycle
0347-top-k-frequent-elements
0621-task-scheduler

Linked List

0141-linked-list-cycle

Two Pointers

0141-linked-list-cycle
0658-find-k-closest-elements

Array

0054-spiral-matrix
0084-largest-rectangle-in-histogram
0123-best-time-to-buy-and-sell-stock-iii
0215-kth-largest-element-in-an-array
0347-top-k-frequent-elements
0498-diagonal-traverse
0621-task-scheduler
0658-find-k-closest-elements
1293-three-consecutive-odds
1616-minimum-difference-between-largest-and-smallest-value-in-three-moves
1720-crawler-log-folder
1803-average-waiting-time
2846-robot-collisions
3463-alternating-groups-i

Matrix

0054-spiral-matrix
0498-diagonal-traverse

Simulation

0054-spiral-matrix
0498-diagonal-traverse
1803-average-waiting-time
2645-pass-the-pillow
2846-robot-collisions

Stack

0071-simplify-path
0084-largest-rectangle-in-histogram
0155-min-stack
1298-reverse-substrings-between-each-pair-of-parentheses
1720-crawler-log-folder
2846-robot-collisions

Design

0155-min-stack

String

0071-simplify-path
1298-reverse-substrings-between-each-pair-of-parentheses
1720-crawler-log-folder

Greedy

0621-task-scheduler
1616-minimum-difference-between-largest-and-smallest-value-in-three-moves

Sorting

0215-kth-largest-element-in-an-array
0347-top-k-frequent-elements
0621-task-scheduler
0658-find-k-closest-elements
1616-minimum-difference-between-largest-and-smallest-value-in-three-moves
2846-robot-collisions

Monotonic Stack

0084-largest-rectangle-in-histogram

Divide and Conquer

0215-kth-largest-element-in-an-array
0347-top-k-frequent-elements

Heap (Priority Queue)

0215-kth-largest-element-in-an-array
0347-top-k-frequent-elements
0621-task-scheduler
0658-find-k-closest-elements

Quickselect

0215-kth-largest-element-in-an-array
0347-top-k-frequent-elements

Counting

0347-top-k-frequent-elements
0621-task-scheduler

Math

2645-pass-the-pillow

Binary Search

0658-find-k-closest-elements

Sliding Window

0658-find-k-closest-elements
3463-alternating-groups-i

Bucket Sort

0347-top-k-frequent-elements

Dynamic Programming

0123-best-time-to-buy-and-sell-stock-iii