/asheessharma-MySql

A collection of LeetCode solutions.

Primary LanguageJava

asheessharma-MySql

This repository contains my solutions to LeetCode problems categorized into JavaScript, Data Structures and Algorithms (DSA), and database-specific challenges. 🌟 Features: | JavaScript Solutions: Clear and concise implementations of LeetCode problems in JavaScript. | | DSA Implementations: Efficient algorithms and data structures tailored for LeetCode's challenges. | | Database Queries: SQL solutions to database-specific problems on LeetCode. |

Database

0197-rising-temperature
0570-managers-with-at-least-5-direct-reports
0577-employee-bonus
0584-find-customer-referee
0595-big-countries
0620-not-boring-movies
1153-product-sales-analysis-i
1161-project-employees-i
1258-article-views-i
1415-students-and-examinations
1509-replace-employee-id-with-the-unique-identifier
1724-customer-who-visited-but-did-not-make-any-transactions
1773-percentage-of-users-attended-a-contest
1801-average-time-of-process-per-machine
1827-invalid-tweets
1908-recyclable-and-low-fat-products
2087-confirmation-rate

Two Pointers

0345-reverse-vowels-of-a-string
0392-is-subsequence
0443-string-compression
1798-max-number-of-k-sum-pairs

String

0345-reverse-vowels-of-a-string
0392-is-subsequence
0443-string-compression
1146-greatest-common-divisor-of-strings
1567-maximum-number-of-vowels-in-a-substring-of-given-length

Array

0605-can-place-flowers
0643-maximum-average-subarray-i
0724-find-pivot-index
0940-fruit-into-baskets
1046-max-consecutive-ones-iii
1586-longest-subarray-of-1s-after-deleting-one-element
1798-max-number-of-k-sum-pairs

Hash Table

0940-fruit-into-baskets
1798-max-number-of-k-sum-pairs

Sorting

1798-max-number-of-k-sum-pairs

Dynamic Programming

0392-is-subsequence
1586-longest-subarray-of-1s-after-deleting-one-element

Binary Search

1046-max-consecutive-ones-iii

Sliding Window

0643-maximum-average-subarray-i
0940-fruit-into-baskets
1046-max-consecutive-ones-iii
1567-maximum-number-of-vowels-in-a-substring-of-given-length
1586-longest-subarray-of-1s-after-deleting-one-element

Prefix Sum

0724-find-pivot-index
1046-max-consecutive-ones-iii

Math

1146-greatest-common-divisor-of-strings

Greedy

0605-can-place-flowers

LeetCode Topics

Array

0042-trapping-rain-water
1319-unique-number-of-occurrences
1392-find-the-difference-of-two-arrays

Hash Table

0076-minimum-window-substring
1319-unique-number-of-occurrences
1392-find-the-difference-of-two-arrays
1777-determine-if-two-strings-are-close

String

0020-valid-parentheses
0076-minimum-window-substring
0394-decode-string
0957-minimum-add-to-make-parentheses-valid
1648-minimum-insertions-to-balance-a-parentheses-string
1777-determine-if-two-strings-are-close
2470-removing-stars-from-a-string

Sorting

1777-determine-if-two-strings-are-close

Counting

1777-determine-if-two-strings-are-close

Stack

0020-valid-parentheses
0042-trapping-rain-water
0232-implement-queue-using-stacks
0394-decode-string
0957-minimum-add-to-make-parentheses-valid
1648-minimum-insertions-to-balance-a-parentheses-string
2470-removing-stars-from-a-string

Recursion

0394-decode-string

Simulation

2470-removing-stars-from-a-string

Two Pointers

0042-trapping-rain-water

Dynamic Programming

0042-trapping-rain-water

Monotonic Stack

0042-trapping-rain-water

Sliding Window

0076-minimum-window-substring

Design

0232-implement-queue-using-stacks

Queue

0232-implement-queue-using-stacks

Greedy

0957-minimum-add-to-make-parentheses-valid
1648-minimum-insertions-to-balance-a-parentheses-string