How yosefhosam/leetcode works
This repository is a collection of independent C# LeetCode solutions, not a single application or shared runtime. The user-facing workflow is to choose a problem, provide its expected input to that solution’s public method, and receive its result. The groups reflect the README’s broad topic areas; individual solutions do not form a shared execution pipeline. The tree and README identify the collection, but the excerpts do not show a common caller, so invocation edges are marked unverified.
Main entry points: 0001-two-sum.cs Two Sum · 0011-container-with-most-water.cs Container Water · 0015-3sum.cs Three Sum · 0121-best-time-to-buy-and-sell-stock.cs Stock Profit
Components 25
Array algorithms
- Two Sum
0001-two-sum/0001-two-sum.cs - Container Water
0011-container-with-most-water/0011-container-with-most-water.cs - Three Sum
0015-3sum/0015-3sum.cs - Stock Profit
0121-best-time-to-buy-and-sell-stock/0121-best-time-to-buy-and-sell-stock.cs - Consecutive Sequence
0128-longest-consecutive-sequence/0128-longest-consecutive-sequence.cs - Sorted Two Sum
0167-two-sum-ii-input-array-is-sorted/0167-two-sum-ii-input-array-is-sorted.cs - Contains Duplicate
0217-contains-duplicate/0217-contains-duplicate.cs - Array Product
0238-product-of-array-except-self/0238-product-of-array-except-self.cs
Strings and hashing
- Longest Unique Substring
0003-longest-substring-without-repeating-characters/0003-longest-substring-without-repeating-characters.cs - Valid Parentheses
0020-valid-parentheses/0020-valid-parentheses.cs - Group Anagrams
0049-group-anagrams/0049-group-anagrams.cs - Valid Palindrome
0125-valid-palindrome/0125-valid-palindrome.cs - Valid Anagram
0242-valid-anagram/0242-valid-anagram.cs - Character Replacement
0424-longest-repeating-character-replacement/0424-longest-repeating-character-replacement.cs
Linked lists
- Remove List Node
0019-remove-nth-node-from-end-of-list/0019-remove-nth-node-from-end-of-list.cs - Merge Two Lists
0021-merge-two-sorted-lists/0021-merge-two-sorted-lists.cs - Merge K Lists
0023-merge-k-sorted-lists/0023-merge-k-sorted-lists.cs - List Cycle
0141-linked-list-cycle/0141-linked-list-cycle.cs - Reorder List
0143-reorder-list/0143-reorder-list.cs - Reverse List
0206-reverse-linked-list/0206-reverse-linked-list.cs
Search and selection
- Rotated Search
0033-search-in-rotated-sorted-array/0033-search-in-rotated-sorted-array.cs - Rotated Minimum
0153-find-minimum-in-rotated-sorted-array/0153-find-minimum-in-rotated-sorted-array.cs - Top K Frequent
0347-top-k-frequent-elements/0347-top-k-frequent-elements.cs - Binary Search
0704-binary-search/0704-binary-search.cs
Other components
- Problem solver
Connections 24
- Problem solver → Two Sum: selects problem
- Problem solver → Container Water: selects problem
- Problem solver → Three Sum: selects problem
- Problem solver → Stock Profit: selects problem
- Problem solver → Consecutive Sequence: selects problem
- Problem solver → Sorted Two Sum: selects problem
- Problem solver → Contains Duplicate: selects problem
- Problem solver → Array Product: selects problem
- Problem solver → Longest Unique Substring: selects problem
- Problem solver → Valid Parentheses: selects problem
- Problem solver → Group Anagrams: selects problem
- Problem solver → Valid Palindrome: selects problem
- Problem solver → Valid Anagram: selects problem
- Problem solver → Character Replacement: selects problem
- Problem solver → Remove List Node: selects problem
- Problem solver → Merge Two Lists: selects problem
- Problem solver → Merge K Lists: selects problem
- Problem solver → List Cycle: selects problem
- Problem solver → Reorder List: selects problem
- Problem solver → Reverse List: selects problem
- Problem solver → Rotated Search: selects problem
- Problem solver → Rotated Minimum: selects problem
- Problem solver → Top K Frequent: selects problem
- Problem solver → Binary Search: selects problem