How aishwarya5913/leetcode_ works
This repository is a collection of standalone LeetCode solutions, not a connected application or shared library. Each file implements an independently callable algorithm; the tree and sampled source show no common runtime, dispatcher, or calls between solutions. Groups classify the problems by broad input or technique, not by execution flow. The graph preserves the individual solution files; no edges are inferred between them.
Components 34
Arrays and matrices
- Two Sum
1-two-sum/two-sum.java - Pascal Triangle
118-pascals-triangle/pascals-triangle.java - Three Consecutive Odds
1293-three-consecutive-odds/three-consecutive-odds.java - Single Number
136-single-number/single-number.java - Single Number II
137-single-number-ii/single-number-ii.java - Threshold Subarrays
1445-number-of-sub-arrays-of-size-k-and-average-greater-than-or-equal-to-threshold/number-of-sub-arrays-of-size-k-and-average-greater-than-or-equal-to-threshold.java - XOR Array
1610-xor-operation-in-an-array/xor-operation-in-an-array.java - Customer Wealth
1791-richest-customer-wealth/richest-customer-wealth.java - Sorted Rotation Check
1878-check-if-array-is-sorted-and-rotated/check-if-array-is-sorted-and-rotated.java - Rotate Array
189-rotate-array/rotate-array.java - Product Sign
1950-sign-of-the-product-of-an-array/sign-of-the-product-of-an-array.java - K-Score Difference
2112-minimum-difference-between-highest-and-lowest-of-k-scores/minimum-difference-between-highest-and-lowest-of-k-scores.java - Nearby Duplicate
219-contains-duplicate-ii/contains-duplicate-ii.java - Radius Averages
2211-k-radius-subarray-averages/k-radius-subarray-averages.java - Product Except Self
238-product-of-array-except-self/product-of-array-except-self.java - Remove Duplicates
26-remove-duplicates-from-sorted-array/remove-duplicates-from-sorted-array.java - Element-Digit Sum
2624-difference-between-element-sum-and-digit-sum-of-an-array/difference-between-element-sum-and-digit-sum-of-an-array.java
Strings
- Common Prefix
14-longest-common-prefix/longest-common-prefix.java - Vowels in Window
1567-maximum-number-of-vowels-in-a-substring-of-given-length/maximum-number-of-vowels-in-a-substring-of-given-length.java - Second Highest Digit
1904-second-largest-digit-in-a-string/second-largest-digit-in-a-string.java - Pangram Check
1960-check-if-the-sentence-is-pangram/check-if-the-sentence-is-pangram.java - Sentence Word Count
2219-maximum-number-of-words-found-in-sentences/maximum-number-of-words-found-in-sentences.java - First Palindrome
2231-find-first-palindromic-string-in-the-array/find-first-palindromic-string-in-the-array.java - Valid Anagram
242-valid-anagram/valid-anagram.java
Numbers and games
- Fibonacci Number
1013-fibonacci-number/fibonacci-number.java - Divisor Game
1086-divisor-game/divisor-game.java - Digit Product-Sum
1406-subtract-the-product-and-sum-of-digits-of-an-integer/subtract-the-product-and-sum-of-digits-of-an-integer.java - K-Beauty
1430-find-the-k-beauty-of-a-number/find-the-k-beauty-of-a-number.java - Rectangle Area
223-rectangle-area/rectangle-area.java - Temperature Conversion
2556-convert-the-temperature/convert-the-temperature.java - Add Digits
258-add-digits/add-digits.java - Dividing Digits
2608-count-the-digits-that-divide-a-number/count-the-digits-that-divide-a-number.java
Searching and sorting
- Kth Largest
215-kth-largest-element-in-an-array/kth-largest-element-in-an-array.java - Kth Largest C++
215-kth-largest-element-in-an-array/kth-largest-element-in-an-array.cpp