How sanjay251206/sanjay-s-leetcode- works
This repository is a collection of independent Java LeetCode solutions, not a single application. The user-facing workflow is to select a problem’s Solution class, provide its expected input, and receive the computed result; there is no shared runtime entry point or cross-solution orchestration shown. Groups below organize the solutions by broad problem domain. The README describes the collection, while the sampled files show individual algorithms; no edges are drawn because no shared calls or runtime dispatch between components are evidenced.
Components 34
Arrays and Collections
- Sorted Squares
1019-squares-of-a-sorted-array/squares-of-a-sorted-array.java - Pascal Triangle
118-pascals-triangle/pascals-triangle.java - Trimmed Mean
1210-mean-of-array-after-removing-some-elements/mean-of-array-after-removing-some-elements.java - Unique Occurrences
1319-unique-number-of-occurrences/unique-number-of-occurrences.java - Array Differences
1392-find-the-difference-of-two-arrays/find-the-difference-of-two-arrays.java - Double Exists
1468-check-if-n-and-its-double-exist/check-if-n-and-its-double-exist.java - Greatest Candies
1528-kids-with-the-greatest-number-of-candies/kids-with-the-greatest-number-of-candies.java - Two Sum II
167-two-sum-ii-input-array-is-sorted/two-sum-ii-input-array-is-sorted.java - Customer Wealth
1791-richest-customer-wealth/richest-customer-wealth.java - Highest Altitude
1833-find-the-highest-altitude/find-the-highest-altitude.java - Strict Increase
2020-remove-one-element-to-make-the-array-strictly-increasing/remove-one-element-to-make-the-array-strictly-increasing.java - Summary Ranges
228-summary-ranges/summary-ranges.java - Array Concatenation
2698-find-the-array-concatenation-value/find-the-array-concatenation-value.java - Remove Element
27-remove-element/remove-element.java - Move Zeroes
283-move-zeroes/move-zeroes.java - Find Duplicate
287-find-the-duplicate-number/find-the-duplicate-number.java - Pair Sum Count
2917-count-pairs-whose-sum-is-less-than-target/count-pairs-whose-sum-is-less-than-target.java - Missing Integer
3236-smallest-missing-integer-greater-than-sequential-prefix-sum/smallest-missing-integer-greater-than-sequential-prefix-sum.java
Strings and Parsing
- Reverse Words
151-reverse-words-in-a-string/reverse-words-in-a-string.java - Parentheses Depth
1737-maximum-nesting-depth-of-the-parentheses/maximum-nesting-depth-of-the-parentheses.java - Consistent Strings
1786-count-the-number-of-consistent-strings/count-the-number-of-consistent-strings.java - Valid Anagram
242-valid-anagram/valid-anagram.java - Remove Stars
2470-removing-stars-from-a-string/removing-stars-from-a-string.java - First String Match
28-find-the-index-of-the-first-occurrence-in-a-string/find-the-index-of-the-first-occurrence-in-a-string.java - Longest Valid Parentheses
32-longest-valid-parentheses/longest-valid-parentheses.java
Lists and Trees
- Sort List
148-sort-list/sort-list.java - Reverse List
206-reverse-linked-list/reverse-linked-list.java
Math and Search
- Valid Boomerang
1115-valid-boomerang/valid-boomerang.java - Stone Game IV
1617-stone-game-iv/stone-game-iv.java - Peak Element
162-find-peak-element/find-peak-element.java - Happy Number
202-happy-number/happy-number.java - Digits Divide Number
2608-count-the-digits-that-divide-a-number/count-the-digits-that-divide-a-number.java - Numbers on Board
2679-count-distinct-numbers-on-board/count-distinct-numbers-on-board.java - First Bad Version
278-first-bad-version/first-bad-version.java