Challenges

Featured Challenge:
#176 — Buffon's Needle

How do toothpicks approximate the value of pi? I'll show you by coding a simulation in p5.js!

mar 14, 2023

Buffon's Needle

Filter by Language

Pick a language to filter

Filter by Topic

bubble sort algorithm

Yes, sorting numbers can be fun! In this challenge I attempt to implement the "bubble sort" algorithm in Processing (Java) and visualize the process itself with animated lines.

Bubble Sort Visualization