Tagged articles
12 articles
Page 1 of 1
Model Perspective
Model Perspective
Oct 27, 2025 · Fundamentals

Recurrence vs Recursion: Master the Core Concepts Behind Algorithms

This article explains the definitions, mathematical foundations, classic examples, solving methods, and practical differences between recurrence relations and recursion, illustrating how each approach works, their implementation details, and how they can be transformed into one another.

Recursionalgorithm designalgorithm fundamentals
0 likes · 8 min read
Recurrence vs Recursion: Master the Core Concepts Behind Algorithms
Model Perspective
Model Perspective
Jan 17, 2023 · Fundamentals

Master Six Classic Sorting Algorithms in Python: From Bubble to Quick Sort

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
Master Six Classic Sorting Algorithms in Python: From Bubble to Quick Sort
Laravel Tech Community
Laravel Tech Community
Jun 14, 2022 · Fundamentals

Bubble Sort Algorithm Explained with PHP Implementation

This article explains the Bubble Sort algorithm, its O(n²) time and O(1) space complexities, describes the step‑by‑step sorting process, provides a complete PHP implementation, and shows sample input and output to illustrate how the algorithm orders data.

Code ExamplePHPSorting Algorithm
0 likes · 3 min read
Bubble Sort Algorithm Explained with PHP Implementation
Architect's Journey
Architect's Journey
May 12, 2022 · Fundamentals

Dynamic Programming Made Simple: Divide‑and‑Conquer and Redundancy Elimination

The article explains that dynamic programming boils down to two core ideas—treating problems as a set of independent sub‑problems via divide‑and‑conquer and using memoization to avoid redundant calculations—illustrated with analogies to business management and contrasted with plain recursion.

RecursionSoftware Engineeringalgorithm fundamentals
0 likes · 6 min read
Dynamic Programming Made Simple: Divide‑and‑Conquer and Redundancy Elimination
NetEase LeiHuo UX Big Data Technology
NetEase LeiHuo UX Big Data Technology
Feb 14, 2022 · Fundamentals

Understanding Random Number Generation and the Linear Congruential Method for Game Gacha Systems

This article explains how linear congruential generators produce pseudo‑random numbers, demonstrates their use with step‑by‑step examples, visualizes the distribution of generated values, and applies the method to design a simple gacha system while discussing its statistical properties and practical limitations.

Random Number Generationalgorithm fundamentalsgacha system
0 likes · 6 min read
Understanding Random Number Generation and the Linear Congruential Method for Game Gacha Systems
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Aug 25, 2020 · Fundamentals

Understanding Bitwise Operations in Java: Uses, Representations, and the Seven Operators

This article explains the purpose and practical benefits of bitwise operations in Java, describes signed number representations (sign‑magnitude, ones' complement, two's complement), shows how bits can optimize time and space, and details the seven common bitwise operators with examples and a reference table.

JavaPerformance Optimizationalgorithm fundamentals
0 likes · 13 min read
Understanding Bitwise Operations in Java: Uses, Representations, and the Seven Operators
AI Code to Success
AI Code to Success
Jan 8, 2020 · Fundamentals

Mastering Greedy Algorithms: Concepts, Framework, and Classic Problems

This article explains the core idea of greedy algorithms, outlines their basic workflow, identifies problem types where they apply, presents a generic greedy framework, demonstrates a fractional knapsack implementation in C++, and lists several classic greedy problems with brief solutions.

Cactivity selectionalgorithm examples
0 likes · 9 min read
Mastering Greedy Algorithms: Concepts, Framework, and Classic Problems
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.

JavaSorting Algorithmsalgorithm fundamentals
0 likes · 4 min read
Bubble Sort Principle Explained with Visual Storytelling and Java Selection Sort Example
Java Captain
Java Captain
Dec 7, 2018 · Fundamentals

Overview of Common Sorting Algorithms and Their Characteristics

This article introduces sorting algorithms, distinguishing internal and external sorting, listing major internal sorts, explaining their time‑complexity categories and stability properties, and providing visual illustrations for each algorithm along with a reference to an open‑source implementation.

Data StructuresSorting Algorithmsalgorithm fundamentals
0 likes · 3 min read
Overview of Common Sorting Algorithms and Their Characteristics
Hulu Beijing
Hulu Beijing
Jan 2, 2018 · Fundamentals

Master Classic Optimization Algorithms: Direct vs Iterative Methods Explained

This article introduces classic optimization algorithms, distinguishing direct methods that require convexity and closed‑form solutions from iterative first‑ and second‑order methods, and explains their applicability, underlying theory, and key references for solving smooth unconstrained problems.

Newton's methodalgorithm fundamentalsconvex optimization
0 likes · 8 min read
Master Classic Optimization Algorithms: Direct vs Iterative Methods Explained
Qunar Tech Salon
Qunar Tech Salon
Mar 29, 2016 · Fundamentals

Overview of Ten Classic Algorithms: Sorting, Searching, Graph Traversal, and Machine Learning

This article presents concise explanations and step‑by‑step procedures for ten classic algorithms—including quick sort, heap sort, merge sort, binary search, BFPRT selection, depth‑first and breadth‑first graph traversals, Dijkstra’s shortest‑path method, dynamic programming principles, and the Naive Bayes classifier—highlighting their complexities and core ideas.

SearchingSortingalgorithm fundamentals
0 likes · 11 min read
Overview of Ten Classic Algorithms: Sorting, Searching, Graph Traversal, and Machine Learning