Tagged articles

BFS

22 articles · Page 1 of 1
liandk
liandk
Aug 29, 2026 · Fundamentals

Queue Essentials – Master FIFO for Queuing and Message Push

This tutorial explains the FIFO principle of queues with everyday analogies, compares stacks and queues, lists core operations, provides a full Python implementation, demonstrates real‑world scenarios like server requests and printer jobs, and highlights common beginner pitfalls.

BFSData StructuresFIFO
0 likes · 7 min read
Queue Essentials – Master FIFO for Queuing and Message Push
CTO Full-Stack Academy
CTO Full-Stack Academy
Jul 22, 2026 · Fundamentals

Essential Algorithms Every Software Developer Should Master

The article systematically explains the most common algorithms—search, sorting, two‑pointer, hash, recursion, graph traversal, greedy and dynamic programming—detailing their principles, typical use cases, real‑world code examples, and practical advice for when to apply or avoid them in everyday software development.

AlgorithmsBFSDFS
0 likes · 15 min read
Essential Algorithms Every Software Developer Should Master
YiSu Grain
YiSu Grain
Oct 16, 2024 · Fundamentals

Understanding BFS Without Any Coding Experience

This article explains the breadth‑first search algorithm step by step, modeling a 0/1 grid as a graph, showing how a queue and a visited set work, and providing a complete Python implementation that finds the shortest path in a maze.

BFSBreadth-First SearchPathfinding
0 likes · 12 min read
Understanding BFS Without Any Coding Experience
Nullbody Notes
Nullbody Notes
Nov 26, 2023 · Fundamentals

Binary Tree Right Side View Using Level‑Order Traversal in Go

The article explains how to obtain the rightmost node values at each depth of a binary tree by performing a level‑order (BFS) traversal, and provides a complete Go implementation that records the last node of every level as the right‑side view.

BFSGoalgorithm
0 likes · 4 min read
Binary Tree Right Side View Using Level‑Order Traversal in Go
Wu Shixiong's Large Model Academy
Wu Shixiong's Large Model Academy
Aug 13, 2023 · Fundamentals

Multi-Source BFS Solution for the 2023Q2B Mars Terraforming Challenge

The article presents a grid‑based Mars terraforming problem where cells are marked YES, NO, or NA, and asks to determine the minimum number of solar days needed to convert all convertible (NO) cells to habitable (YES) using a multi‑source BFS approach, returning –1 if impossible, with full Python implementation and complexity analysis.

BFSGridPython
0 likes · 8 min read
Multi-Source BFS Solution for the 2023Q2B Mars Terraforming Challenge
Wu Shixiong's Large Model Academy
Wu Shixiong's Large Model Academy
Aug 9, 2023 · Interview Experience

Compute the Longest Broadcast Response Time with BFS

This article explains a graph‑based interview problem where, given an undirected network of N nodes and their connections, you must determine the minimum time for a broadcast node to receive all responses, and provides a full Python BFS solution with complexity analysis.

BFSGraphPython
0 likes · 6 min read
Compute the Longest Broadcast Response Time with BFS
Sohu Tech Products
Sohu Tech Products
May 31, 2023 · Fundamentals

Graph Theory Basics: Concepts, Storage, and Traversal (DFS & BFS)

This article introduces the basic concepts of graphs, including vertices, edges, directed and undirected types, explains common storage methods such as adjacency matrices and adjacency lists with examples, and demonstrates graph traversal techniques like depth‑first and breadth‑first search using Java code.

Adjacency ListBFSDFS
0 likes · 6 min read
Graph Theory Basics: Concepts, Storage, and Traversal (DFS & BFS)
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
May 6, 2023 · Artificial Intelligence

How We Won a Multi‑Robot Competition: Greedy Scheduling, A* Pathfinding, and Dynamic Window Control

This article details the end‑to‑end algorithmic strategy our team used to rank third in a multi‑robot competition, covering task analysis, distance‑based scheduling, custom collision detection, A* and DWA path planning, Euclidean distance transforms, radar‑based enemy tracking, and the final round’s dual‑team tactics, complete with code snippets and performance insights.

BFSCollision Detectionat
0 likes · 39 min read
How We Won a Multi‑Robot Competition: Greedy Scheduling, A* Pathfinding, and Dynamic Window Control
Liangxu Linux
Liangxu Linux
Jun 2, 2021 · Operations

Mastering Linux Multi‑Core Scheduling: Strategies, Algorithms, and Performance Optimizations

This article explains Linux's sophisticated scheduling system for multi‑core, SMP, and NUMA architectures, describes global, clustered, partitioned, and arbitrary schedulers, details scheduling domains and load‑balancing mechanisms, and provides practical performance‑tuning techniques using tools like perf, flame graphs, and various kernel optimizations.

BFSCFSCPU Optimization
0 likes · 31 min read
Mastering Linux Multi‑Core Scheduling: Strategies, Algorithms, and Performance Optimizations
DataFunTalk
DataFunTalk
Apr 4, 2021 · Fundamentals

Open the Lock Problem – BFS Solution in Java

Given a four‑wheel combination lock with digits 0‑9, the task is to find the minimum number of rotations needed to reach a target combination while avoiding a list of dead‑end states, using a breadth‑first search algorithm illustrated with Java code examples.

BFSJavaLock Problem
0 likes · 7 min read
Open the Lock Problem – BFS Solution in Java