Tagged articles
8 articles
Page 1 of 1
php Courses
php Courses
Mar 25, 2025 · Backend Development

Counting Sort in PHP: Implementation, Steps, Advantages, and Use Cases

Counting sort is a non‑comparison integer sorting algorithm with O(n + k) time complexity, and this article explains its principles, step‑by‑step process, PHP implementation code, advantages, drawbacks, and suitable use cases for efficient data handling in backend development.

PHPSorting Algorithmalgorithm implementation
0 likes · 5 min read
Counting Sort in PHP: Implementation, Steps, Advantages, and Use Cases
Python Programming Learning Circle
Python Programming Learning Circle
Sep 9, 2024 · Fundamentals

Classification and Implementation of Common Sorting Algorithms in Python

This article classifies sorting algorithms into internal, external, comparison, and non‑comparison types, discusses stability and time‑complexity, and provides clear Python implementations with examples for Bubble Sort, Selection Sort, Insertion Sort, Shell Sort, Merge Sort, Quick Sort, Heap Sort, Counting Sort, Bucket Sort, and Radix Sort.

Data StructuresPythonSorting Algorithms
0 likes · 44 min read
Classification and Implementation of Common Sorting Algorithms in Python
Ops Development & AI Practice
Ops Development & AI Practice
Apr 21, 2024 · Fundamentals

Master QuickSort in Go: Dive into the Algorithm and Its Real-World Use

This article explains the QuickSort algorithm’s divide-and-conquer principle, walks through its step-by-step process, provides a complete Go implementation with code, discusses practical applications, performance considerations, and future optimization directions, offering readers a solid grasp of sorting fundamentals.

Go ProgrammingQuickSortSorting Algorithm
0 likes · 5 min read
Master QuickSort in Go: Dive into the Algorithm and Its Real-World Use
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Dec 20, 2021 · Backend Development

Mastering Sliding Window Rate Limiting in Sentinel-Go: From Theory to Code

This article explores why engineering skills outrank pure algorithm knowledge, explains the challenges of implementing flow‑control algorithms such as token bucket and sliding‑window rate limiting, and walks through Sentinel‑Go's concrete LeapArray implementation with detailed Go code examples.

BackendSentinel GoSliding Window
0 likes · 11 min read
Mastering Sliding Window Rate Limiting in Sentinel-Go: From Theory to Code
ByteFE
ByteFE
Oct 14, 2021 · Fundamentals

Strategy Design Pattern: A Comprehensive Guide

This article explains the Strategy Design Pattern, a behavioral design pattern that enables defining a family of algorithms, encapsulating each one, and making them interchangeable to improve code maintainability and flexibility in software development.

Code RefactoringObject-Oriented DesignStrategy Pattern
0 likes · 7 min read
Strategy Design Pattern: A Comprehensive Guide
AI Large-Model Wave and Transformation Guide
AI Large-Model Wave and Transformation Guide
Jan 6, 2019 · Artificial Intelligence

Can JavaScript Teach k‑Nearest Neighbors? Build a Visual kNN Classifier from Scratch

This article walks through the theory of k‑nearest‑neighbors, explains feature selection and normalization, shows how to implement the algorithm with plain JavaScript classes, visualizes results on an HTML canvas, and discusses practical limitations and extensions.

JavaScriptalgorithm implementationfeature normalization
0 likes · 22 min read
Can JavaScript Teach k‑Nearest Neighbors? Build a Visual kNN Classifier from Scratch
Tencent Cloud Developer
Tencent Cloud Developer
Sep 19, 2018 · Artificial Intelligence

Data Structures Related to Machine Learning Algorithms

The article explains that machine‑learning programs rely on the same fundamental data structures as other software—especially arrays for linear algebra—but mastering their implementation, dynamic behavior, and alternatives such as linked lists, trees, heaps, stacks, queues, and hash maps is crucial for scaling and optimizing complex AI tasks.

ArraysData Structuresalgorithm implementation
0 likes · 11 min read
Data Structures Related to Machine Learning Algorithms