Bilingual technical writing, project notes, and public resources.
haotianblog
Algorithm Visualization Tutorials

Algorithm Visualization Tutorials

Topic hub

Algorithm Visualization Tutorials

An interactive hub for eight queens, N-Queens, backtracking, bitmasks, complexity, and browser-based algorithm demos.

Designed for searches around eight queens backtracking, bitmask optimization, N-Queens complexity, and algorithm visualization playgrounds.

What you will build

You will see how the same problem moves from classic backtracking to bitmask optimization, then inspect the search in the playground.

  • eight queens backtracking
  • N-Queens bitmask optimization
  • backtracking visualization
  • K-means visualization

Recommended reading order

Start with concepts, then move into runnable projects

Eight queens with classic backtracking

Start with state representation, conflict checks, recursive search, and the full C/Python solving flow.

Level: Beginner Reading time: 10 min
  • C
  • Python
  • Backtracking
  • K-means

K-means clustering on the Iris dataset in C

Study standardization, K-means++ initialization, restart selection, SSE, and the final clustering result.

Level: Beginner Reading time: 10 min
  • C
  • Python
  • Backtracking
  • K-means

Resources and distribution assets

Code, data, diagrams, and share assets in one place

FAQ

Direct answers to common search questions

Why pair algorithm articles with a playground?

The playground makes recursion, backtracking, and iteration states observable, which lowers the cost of reading code-only explanations.

Why do some English pages link to Chinese algorithm posts?

Some long algorithm posts are currently published only in Chinese. The English hub provides English context first, with full translations planned later.