Published
Edited
Feb 9, 2022
2 forks
3 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
async function hanoi(A, B, C, scale) {
if (scale == 1) return await A.move(C);
await hanoi(A, C, B, scale - 1);
await A.move(C);
await hanoi(B, A, C, scale - 1);
}
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more