Skip to content

Conversation

@BjornMelin
Copy link
Owner

Implement core Python sorting algorithms including Bubble Sort, Selection Sort, Insertion Sort, Merge Sort, Quick Sort, Heap Sort, Radix Sort, Counting Sort, Bucket Sort, and Tim Sort.

  • Bubble Sort: Add bubble_sort.py with implementation, comments, and complexity analysis. Add unit tests in test_bubble_sort.py. Add documentation in bubble_sort/README.md.
  • Selection Sort: Add selection_sort.py with implementation, comments, and complexity analysis. Add unit tests in test_selection_sort.py.
  • Insertion Sort: Add insertion_sort.py with implementation, comments, and complexity analysis. Add unit tests in test_insertion_sort.py.
  • Merge Sort: Add comments and complexity analysis to merge_sort.py. Add unit tests in test_merge_sort.py.
  • Quick Sort: Add comments and complexity analysis to quick_sort.py. Add unit tests in test_quick_sort.py.
  • Heap Sort: Add heap_sort.py with implementation, comments, and complexity analysis. Add unit tests in test_heap_sort.py.
  • Radix Sort: Add radix_sort.py with implementation, comments, and complexity analysis. Add unit tests in test_radix_sort.py.
  • Counting Sort: Add counting_sort.py with implementation, comments, and complexity analysis. Add unit tests in test_counting_sort.py.
  • Bucket Sort: Add bucket_sort.py with implementation, comments, and complexity analysis. Add unit tests in test_bucket_sort.py.
  • Tim Sort: Add tim_sort.py with implementation, comments, and complexity analysis. Add unit tests in test_tim_sort.py.
feat(java): Implemented core Java Data Structures & Algorithms
Implement core Python sorting algorithms including Bubble Sort, Selection Sort, Insertion Sort, Merge Sort, Quick Sort, Heap Sort, Radix Sort, Counting Sort, Bucket Sort, and Tim Sort. * **Bubble Sort**: Add `bubble_sort.py` with implementation, comments, and complexity analysis. Add unit tests in `test_bubble_sort.py`. Add documentation in `bubble_sort/README.md`. * **Selection Sort**: Add `selection_sort.py` with implementation, comments, and complexity analysis. Add unit tests in `test_selection_sort.py`. * **Insertion Sort**: Add `insertion_sort.py` with implementation, comments, and complexity analysis. Add unit tests in `test_insertion_sort.py`. * **Merge Sort**: Add comments and complexity analysis to `merge_sort.py`. Add unit tests in `test_merge_sort.py`. * **Quick Sort**: Add comments and complexity analysis to `quick_sort.py`. Add unit tests in `test_quick_sort.py`. * **Heap Sort**: Add `heap_sort.py` with implementation, comments, and complexity analysis. Add unit tests in `test_heap_sort.py`. * **Radix Sort**: Add `radix_sort.py` with implementation, comments, and complexity analysis. Add unit tests in `test_radix_sort.py`. * **Counting Sort**: Add `counting_sort.py` with implementation, comments, and complexity analysis. Add unit tests in `test_counting_sort.py`. * **Bucket Sort**: Add `bucket_sort.py` with implementation, comments, and complexity analysis. Add unit tests in `test_bucket_sort.py`. * **Tim Sort**: Add `tim_sort.py` with implementation, comments, and complexity analysis. Add unit tests in `test_tim_sort.py`.
@BjornMelin BjornMelin changed the base branch from main to dev January 28, 2025 15:01
@BjornMelin BjornMelin changed the title Implement core Python sorting algorithms feat(python-sorting): Implement core Python sorting algorithms Jan 28, 2025
@BjornMelin BjornMelin merged commit 0bc50cb into dev Jan 28, 2025
@BjornMelin BjornMelin deleted the feat-0.1.0-python-add-sorting-algorithms branch January 28, 2025 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants