The Tower of Hanoi hole will go live in approximately 4 hours. Why not try and solve it ahead of time?
Tutorial in C in bytes. Achievements Cheevos Holes Languages Medals Miscellaneous All Holes 12 Days of Christmas 24 Game 99 Bottles of Beer Abundant Numbers Abundant Numbers (Long) Arabic to Roman Arithmetic Numbers Arrows Ascending Primes ASCII Table Billiards brainfuck Card Number Validation Catalan Numbers Catalan’s Constant Christmas Trees Collatz CSS Colors Cubes Day of Week DFA Simulator Diamonds Divisors Emirp Numbers Emirp Numbers (Long) Emojify Evil Numbers Evil Numbers (Long) Factorial Factorisation Farey Sequence Fibonacci Fizz Buzz Foo Fizz Buzz Bar Forsyth–Edwards Notation Fractions Game of Life Gijswijt’s Sequence Happy Numbers Happy Numbers (Long) Hexdump Hilbert Curve Intersection Inventory Sequence ISBN Jacobi Symbol Kaprekar Numbers Kolakoski Constant Kolakoski Sequence Leap Years Levenshtein Distance Leyland Numbers ln 2 Look and Say Lucky Numbers Lucky Tickets Mahjong Mandelbrot Maze Medal Tally Minesweeper Morse Decoder Morse Encoder Musical Chords N Queens Niven Numbers Niven Numbers (Long) Number Spiral Odious Numbers Odious Numbers (Long) Ordinal Numbers PalindromemordnilaP Pangram Grep Partition Numbers Pascal’s Triangle Pernicious Numbers Pernicious Numbers (Long) Poker Polyominoes Prime Numbers Prime Numbers (Long) Proximity Grid QR Decoder Quine Recamán Repeating Decimals Reverse Polish Notation Reversi Rijndael S-box Rock-paper-scissors-Spock-lizard Roman to Arabic ROT13 Rule 110 Scrambled Sort Set Seven Segment SI Units Sierpiński Triangle Smith Numbers Spelling Numbers Star Wars GPT Star Wars Opening Crawl Sudoku Sudoku (Fill-in) Ten-pin Bowling Tic-tac-toe Time Distance Tongue-twisters Topological Sort Transpose Sentence Trinomial Triangle United States Vampire Numbers Van Eck Sequence Zeckendorf Representation Zodiac Signs γ λ π τ φ √2 𝑒 Apéry’s Constant Binary Lambda Calculus Calendar Connect Four Continued Fractions Crossword CSS Colors (Inverse) CSS Grid Ellipse Perimeters Flags Floyd-Steinberg Dithering Gray Code Decoder Gray Code Encoder Hexagonal Spiral Highly Composite Numbers NFA Simulator Odd Polyomino Tiling p-adic Expansion Polygon Triangulations QR Encoder Quadratic Formula Semiprime Numbers Smooth Numbers Snake Sphenic Numbers Taxicab Numbers Tower of Hanoi Turtle Tutorial All Languages ><> Assembly AWK Bash BASIC Berry brainfuck C C# C++ Civet Clojure COBOL Coconut Common Lisp Crystal D Dart Elixir Erlang F# Factor Forth Fortran Gleam Go GolfScript Groovy Haskell Hexagony J Janet Java JavaScript jq Julia K Kotlin Lua Nim OCaml Pascal Perl PHP PowerShell Prolog Python R Raku Rockstar Ruby Rust Scheme sed SQL Swift Tcl TeX V VimL Wren Zig 05AB1E ALGOL 68 APL Arturo Befunge BQN CJam CoffeeScript Egel Fennel Harbour Hare Haxe Hush Hy iogii Knight Luau Odin Picat Qore Racket Rebol Rexx Scala Squirrel Stax Uiua Umka Vala Vyxal Bytes Chars Scoring Bytes Chars Language All ><> Assembly AWK Bash BASIC Berry brainfuck C C# C++ Civet Clojure COBOL Coconut Common Lisp Crystal D Dart Elixir Erlang F# Factor Forth Fortran Gleam Go GolfScript Groovy Haskell Hexagony J Janet Java JavaScript jq Julia K Kotlin Lua Nim OCaml Pascal Perl PHP PowerShell Prolog Python R Raku Rockstar Ruby Rust Scheme sed SQL Swift Tcl TeX V VimL Wren Zig Experimental Language 05AB1E ALGOL 68 APL Arturo Befunge BQN CJam CoffeeScript Egel Fennel Harbour Hare Haxe Hush Hy iogii Knight Luau Odin Picat Qore Racket Rebol Rexx Scala Squirrel Stax Uiua Umka Vala Vyxal Hole All 12 Days of Christmas 24 Game 99 Bottles of Beer Abundant Numbers Abundant Numbers (Long) Arabic to Roman Arithmetic Numbers Arrows Ascending Primes ASCII Table Billiards brainfuck Card Number Validation Catalan Numbers Catalan’s Constant Christmas Trees Collatz CSS Colors Cubes Day of Week DFA Simulator Diamonds Divisors Emirp Numbers Emirp Numbers (Long) Emojify Evil Numbers Evil Numbers (Long) Factorial Factorisation Farey Sequence Fibonacci Fizz Buzz Foo Fizz Buzz Bar Forsyth–Edwards Notation Fractions Game of Life Gijswijt’s Sequence Happy Numbers Happy Numbers (Long) Hexdump Hilbert Curve Intersection Inventory Sequence ISBN Jacobi Symbol Kaprekar Numbers Kolakoski Constant Kolakoski Sequence Leap Years Levenshtein Distance Leyland Numbers ln 2 Look and Say Lucky Numbers Lucky Tickets Mahjong Mandelbrot Maze Medal Tally Minesweeper Morse Decoder Morse Encoder Musical Chords N Queens Niven Numbers Niven Numbers (Long) Number Spiral Odious Numbers Odious Numbers (Long) Ordinal Numbers PalindromemordnilaP Pangram Grep Partition Numbers Pascal’s Triangle Pernicious Numbers Pernicious Numbers (Long) Poker Polyominoes Prime Numbers Prime Numbers (Long) Proximity Grid QR Decoder Quine Recamán Repeating Decimals Reverse Polish Notation Reversi Rijndael S-box Rock-paper-scissors-Spock-lizard Roman to Arabic ROT13 Rule 110 Scrambled Sort Set Seven Segment SI Units Sierpiński Triangle Smith Numbers Spelling Numbers Star Wars GPT Star Wars Opening Crawl Sudoku Sudoku (Fill-in) Ten-pin Bowling Tic-tac-toe Time Distance Tongue-twisters Topological Sort Transpose Sentence Trinomial Triangle United States Vampire Numbers Van Eck Sequence Zeckendorf Representation Zodiac Signs γ λ π τ φ √2 𝑒 Experimental Hole Apéry’s Constant Binary Lambda Calculus Calendar Connect Four Continued Fractions Crossword CSS Colors (Inverse) CSS Grid Ellipse Perimeters Flags Floyd-Steinberg Dithering Gray Code Decoder Gray Code Encoder Hexagonal Spiral Highly Composite Numbers NFA Simulator Odd Polyomino Tiling p-adic Expansion Polygon Triangulations QR Encoder Quadratic Formula Semiprime Numbers Smooth Numbers Snake Sphenic Numbers Taxicab Numbers Tower of Hanoi Turtle Tutorial # Golfer Points Bytes Time Submitted 1st rhdqor213 0 68 2ms 16 Apr 2025 1st KasperKivimaeki 🇫🇮 0 68 3ms 18 Oct 2025 1st sean-niemann 🇺🇸 0 68 3ms 18 Oct 2025 1st SurmanPP 0 68 3ms 18 Oct 2025 1st GrayJoKing 🇦🇺 0 68 3ms 18 Oct 2025 1st GolfingSuccess 🇬🇷 0 68 3ms 18 Oct 2025 1st snoozingnewt 🇺🇸 0 68 2ms 18 Oct 2025 1st DialFrost 🇸🇬 0 68 3ms 18 Oct 2025 1st CaedenHarper 🇨🇦 0 68 3ms 18 Oct 2025 1st JOrE20 🇺🇸 0 68 3ms 12 days ago 1st Maashau 0 68 2ms 23 hours ago 12th edsrzf 🇳🇿 0 70 3ms 18 Apr 2025 12th rucin93 🇵🇱 0 70 3ms 18 Apr 2025 12th HumanoidCPU 0 70 2ms 19 Apr 2025 12th inventshah 0 70 3ms 23 Apr 2025 12th m-tkach 🇺🇦 0 70 4ms 23 Apr 2025 12th Mukundan314 0 70 3ms 25 Apr 2025 12th frankgraziano 0 70 3ms 8 May 2025 12th RYSF13 🇨🇳 0 70 3ms 17 May 2025 12th Shanethegamer 🇺🇸 0 70 3ms 6 Jun 2025 12th Jigglypuffed 0 70 2ms 15 Jul 2025 12th xiaoyiming123 0 70 2ms 24 Jul 2025 12th kkoenig 0 70 2ms 5 Sep 2025 12th SirBogman 🇺🇸 0 70 3ms 5 Oct 2025 12th Lydxn 🇨🇦 0 70 2ms 18 Oct 2025 26th zacjl 0 71 3ms 23 Jan 2025 26th kdx2a 0 71 2ms 12 Feb 2025 26th FlyingPenguin223 0 71 3ms 12 Feb 2025 26th BoBz200 0 71 2ms 11 Mar 2025 26th xsot 🇸🇬 0 71 4ms 17 Apr 2025 31st ovs-code 🇩🇪 0 72 5ms 17 Apr 2025 31st yanjs 0 72 2ms 4 Jul 2025 33rd Alex-x90 🇺🇸 0 74 3ms 28 Nov 2024 33rd prplz 🇦🇺 0 74 2ms 23 Jan 2025 33rd CLOStrophobic 🇮🇹 0 74 3ms 25 Jan 2025 33rd madex 🇩🇪 0 74 2ms 13 Feb 2025 33rd Zilog80a 0 74 2ms 24 May 2025 33rd targrik 0 74 2ms 18 Sep 2025 39th qwertyuiop3 🇷🇺 0 75 3ms 3 Jun 2025 40th oscargeerts 0 76 2ms 23 Jun 2025 41st error256 0 77 2ms 23 Jan 2025 41st b-illy 🇬🇧 0 77 3ms 23 Jan 2025 41st voytxt 🇨🇿 0 77 3ms 16 Apr 2025 41st maksgranko 0 77 3ms 5 Oct 2025 45th MeWhenI 🇻🇦 0 78 2ms 11 Dec 2024 45th nilan425 0 78 2ms 16 Apr 2025 47th plcc0 0 80 2ms 26 Feb 2025 48th prestosilver 🇺🇸 0 81 2ms 23 days ago 48th GodlyProgrammer1 0 81 3ms 8 days ago 50th emgordon154 0 82 2ms 27 Nov 2024 50th Mandrzejy 🇵🇱 0 82 3ms 27 Nov 2024 50th 09cf 0 82 2ms 18 Apr 2025 50th Bpc-CPU 0 82 2ms 12 Jul 2025 50th cyanbun96 0 82 7ms 18 Sep 2025 50th peachey2k2 0 82 2ms 8 days ago 56th now4est 🇯🇵 0 83 2ms 22 Sep 2025 57th Natanaelel 🇸🇪 0 85 3ms 9 Dec 2024 57th dokutan 0 85 2ms 22 days ago 59th BlankSpruce 0 86 3ms 9 Apr 2025 60th Jonatan6 🇩🇰 0 87 3ms 30 Jan 2025 60th remodik 0 87 3ms 5 Oct 2025 62nd luuumine 🇫🇷 0 88 2ms 20 days ago 63rd AdrienHache 🇫🇷 0 89 2ms 25 Nov 2024 63rd Iznoanygod 🇺🇸 0 89 3ms 16 Apr 2025 63rd RoBoardGod 0 89 2ms 15 May 2025 63rd katss2 0 89 3ms 18 Aug 2025 63rd biocommando 🇫🇮 0 89 3ms 18 Aug 2025 68th TeodorDyakov 🇧🇬 0 90 2ms 26 Feb 2025 68th mathb0y512 0 90 2ms 19 May 2025 70th roupiq 🇵🇱 0 92 3ms 1 Dec 2024 70th AlephSquirrel 0 92 2ms 18 Apr 2025 70th SirObby 🇫🇮 0 92 3ms 26 Jun 2025 70th gastropner 0 92 2ms 7 Jul 2025 70th M4rc0g1 0 92 2ms 13 days ago 75th retrohun 0 94 2ms 1 Apr 2025 1–75 of 108 Next Last