How kushal7820/kushal7820-dsa works
This repository is a portfolio of independent LeetCode solutions, not an integrated application: a learner selects a problem and studies or submits that problem’s standalone implementation. The README organizes problems by topic, while the source tree contains separate Python, C++, and Java solution files. The graph groups solutions by their primary problem domain; it does not imply calls or data flow between them. Source excerpts confirm several implementations, but many files were not sampled, so their specific algorithms are not inferred.
Components 24
Numeric problems
- Palindrome number
0009-palindrome-number/0009-palindrome-number.py - Roman to integer
0013-roman-to-integer/0013-roman-to-integer.py - Add binary
0067-add-binary/0067-add-binary.py - Power of two
0231-power-of-two/0231-power-of-two.java - Digit product and sum
1281-subtract-the-product-and-sum-of-digits-of-an-integer/1281-subtract-the-product-and-sum-of-digits-of-an-integer.java - Steps to zero
1342-number-of-steps-to-reduce-a-number-to-zero/1342-number-of-steps-to-reduce-a-number-to-zero.java
Array problems
- Remove array duplicates
0026-remove-duplicates-from-sorted-array/0026-remove-duplicates-from-sorted-array.java - Remove array element
0027-remove-element/0027-remove-element.py - Merge sorted arrays
0088-merge-sorted-array/0088-merge-sorted-array.py - Longest consecutive sequence
0128-longest-consecutive-sequence/0128-longest-consecutive-sequence.cpp - Majority element
0169-majority-element/0169-majority-element.py - Find duplicate number
0287-find-the-duplicate-number/0287-find-the-duplicate-number.java - Maximum pair product
1464-maximum-product-of-two-elements-in-an-array/1464-maximum-product-of-two-elements-in-an-array.java - Running sum
1480-running-sum-of-1d-array/1480-running-sum-of-1d-array.java - Buy two chocolates
2706-buy-two-chocolates/2706-buy-two-chocolates.java
String problems
- Longest common prefix
0014-longest-common-prefix/0014-longest-common-prefix.cpp - Reverse string
0344-reverse-string/0344-reverse-string.java
Stack problems
- Valid parentheses
0020-valid-parentheses/0020-valid-parentheses.py - Baseball game
0682-baseball-game/0682-baseball-game.java - Adjacent string duplicates
1047-remove-all-adjacent-duplicates-in-string/1047-remove-all-adjacent-duplicates-in-string.java
Linked lists and trees
- Add two numbers
0002-add-two-numbers/0002-add-two-numbers.cpp - List to integer
1290-convert-binary-number-in-a-linked-list-to-integer/1290-convert-binary-number-in-a-linked-list-to-integer.java - Tree path sum
0112-path-sum/0112-path-sum.py
Other components
- Learner