Python
Python copied to clipboard
All Algorithms implemented in Python
### Describe your change: Corrected and Updated the longest_increasing_subsequence algorithm. * [ ] Add an algorithm? * [x] Fix a bug or typo in an existing algorithm? * [ ]...
### Describe your change: * [x] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [ ] Documentation change? ### Checklist: * [x]...
### Describe your change: This PR moves all implementations of n queens concepts into one file named all_n_queens.py, which includes n_queens.py, n_queens_math.py, and sudoku.py which are all the implementations of...
### Describe your change: Related to https://github.com/TheAlgorithms/Python/issues/9943 * [ ] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [x] Documentation change? ###...
### Describe your change: Related tohttps://github.com/TheAlgorithms/Python/issues/9943 * [ ] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [x] Documentation change? ### Checklist:...
- [ ] ### Describe your change: * [x] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [ ] Documentation change? ###...
### Describe your change: This adds categorical focal cross entropy loss. It's a variation of categorical cross-entropy that addresses class imbalance by focusing on hard examples. * [x] Add an...
### Describe your change: * [x] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [ ] Add or change doctests? -- Note:...
### Describe your change: * [x] Add an algorithm? union find * [ ] Fix a bug or typo in an existing algorithm? * [ ] Add or change doctests?...
### Describe your change: Contributes to #9943 * [ ] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [ ] Documentation change?...