Tagged articles
bubble sort
14 articles · Page 1 of 1
This article explains Java's loop constructs—including while, do‑while, for, nested loops, foreach, and bubble‑sort implementations—through detailed syntax descriptions, step‑by‑step execution processes, and multiple concrete code examples with expected outputs.
JavaLoop Statementsbubble sort
0 likes · 16 min read

This article reviews Alibaba's Tongyi Qianwen large language model, shares personal impressions, provides a fish‑flavored pork recipe, conducts a SWOT analysis, and includes Scala Spark and Java code examples illustrating its capabilities and usage scenarios.
JavaSWOT analysisScala
0 likes · 12 min read

The article reviews Alibaba’s Tongyi Qianwen large‑language model, shares a cooking recipe generated by the AI, presents a SWOT analysis, and provides code examples—including a Spark Scala script for same‑period month‑over‑month calculations and a Java bubble‑sort implementation.
AIJavaSWOT
0 likes · 12 min read

This article introduces six fundamental sorting algorithms—bubble, selection, insertion, shell, merge, and quick sort—explains their principles, provides Python implementations with code examples, visual animations, and compares built‑in sorting methods, helping readers understand and apply these techniques effectively.
PythonQuick SortSorting Algorithms
0 likes · 16 min read

This article introduces four classic sorting algorithms—bubble sort, selection sort, insertion sort, and quick sort—explaining their principles and providing complete PHP implementations for each to help readers understand and apply these fundamental techniques.
AlgorithmPHPQuick Sort
0 likes · 4 min read


21CTOOct 18, 2022 · Fundamentals
A simple benchmark using Bubble Sort on a 10,000‑element random array compares several popular programming languages, revealing that Python performs the worst while Go (Golang) delivers a striking performance advantage even over Node.js.
GoPythonbenchmark
0 likes · 3 min read

This article introduces four fundamental sorting algorithms—bubble sort, insertion sort, merge sort, and quick sort—explaining their concepts, step‑by‑step operations, and providing complete Python implementations to help readers understand and apply these techniques effectively.
PythonQuick SortSorting Algorithms
0 likes · 8 min read

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.
AlgorithmPythonbubble sort
0 likes · 5 min read

This article provides a comprehensive overview of eight classic sorting algorithms—including bubble sort, quick sort, insertion sort, shell sort, selection sort, heap sort, merge sort, and radix sort—detailing their core ideas, Java implementations, performance characteristics, space usage, and stability considerations.
ComplexityQuick Sortbubble sort
0 likes · 30 min read

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.
JavaSorting Algorithmsalgorithm fundamentals
0 likes · 4 min read

The article recounts a interview scenario where a candidate struggled with a basic bubble sort implementation, then explains the standard bubble sort algorithm, its inefficiencies, and demonstrates an optimization that adds a boolean flag to detect a sorted pass and terminate early, improving performance.
Javaalgorithm optimizationbubble sort
0 likes · 5 min read

This comprehensive guide explains linear search, binary search, bubble sort, insertion sort, selection sort, quicksort, and merge sort, detailing their concepts, step‑by‑step procedures, and providing complete, ready‑to‑run C code examples for each algorithm.
Quick SortSearch AlgorithmsSorting Algorithms
0 likes · 32 min read

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 optimizationbubble sortexternal sorting
0 likes · 6 min read

This article introduces seven classic sorting algorithms—Quick Sort, Merge Sort, Heap Sort, Selection Sort, Bubble Sort, Insertion Sort, and Shell Sort—explaining their principles, step-by-step procedures, and visual performance illustrations to help readers understand their operation and efficiency.
AlgorithmsQuick Sortbubble sort
0 likes · 8 min read
