Tagged articles
3 articles
Page 1 of 1
Python Programming Learning Circle
Python Programming Learning Circle
May 9, 2020 · Fundamentals

Fish Division Puzzle and Classic Sorting Algorithms (Merge, Selection, Bubble) with Python Implementations

This article presents a combinatorial fish‑division puzzle solved by exhaustive search with Python code, followed by clear explanations and Python implementations of three fundamental sorting algorithms—merge sort, selection sort, and bubble sort—illustrating their core ideas and step‑by‑step processes.

PythonSortingalgorithm
0 likes · 5 min read
Fish Division Puzzle and Classic Sorting Algorithms (Merge, Selection, Bubble) with Python Implementations
Architecture Digest
Architecture Digest
Jul 19, 2019 · Fundamentals

Bubble Sort Principle Explained with Visual Storytelling and Java Selection Sort Example

The article illustrates the basic principle of bubble sort through a series of comic‑style images, explains how repeated element comparisons and swaps gradually produce an ascending sequence, discusses performance implications of excessive swaps, and provides a complete Java implementation of selection sort for comparison.

Sorting Algorithmsalgorithm fundamentalsbubble sort
0 likes · 4 min read
Bubble Sort Principle Explained with Visual Storytelling and Java Selection Sort Example
MaGe Linux Operations
MaGe Linux Operations
Oct 21, 2017 · Fundamentals

Master Python Sorting: Bubble & Selection Sort Explained and Optimized

This article introduces internal and external sorting concepts, then walks through Python implementations of bubble sort and selection sort, detailing basic algorithms, optimization techniques such as early‑exit flags and binary selection, and analyzes their time complexities and trade‑offs.

Algorithm OptimizationSortingbubble sort
0 likes · 6 min read
Master Python Sorting: Bubble & Selection Sort Explained and Optimized