Topological Sort in Python 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 Calendar Card Number Validation Catalan Numbers Catalan’s Constant Christmas Trees Collatz Continued Fractions 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 Gray Code Decoder Gray Code Encoder 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 Multitap Input 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 Tower of Hanoi Transpose Sentence Trinomial Triangle United States Vampire Numbers Van Eck Sequence Zeckendorf Representation Zodiac Signs γ λ π τ φ √2 𝑒 Alphabetic Numbers Apéry’s Constant Binary Lambda Calculus Connect Four Crossword CSS Colors (Inverse) CSS Grid Ellipse Perimeters Flags Floyd-Steinberg Dithering Hexagonal Spiral Highly Composite Numbers NFA Simulator Numbrix Odd Polyomino Tiling p-adic Expansion Polygon Triangulations QR Encoder Quadratic Formula Rectangle Fill Semiprime Numbers Smooth Numbers Snake Sphenic Numbers Taxicab Numbers Turtle Tutorial All Languages ><> ALGOL 68 ArkScript 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 APL Arturo Befunge BQN CJam CoffeeScript Egel Fennel Harbour Hare Haxe Hush Hy iogii Knight Lily Luau Odin Picat Qore Racket Rebol Rexx Scala Squirrel Stax Uiua Umka Vala Vyxal Bytes Chars Scoring Bytes Chars Language All ><> ALGOL 68 ArkScript 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 APL Arturo Befunge BQN CJam CoffeeScript Egel Fennel Harbour Hare Haxe Hush Hy iogii Knight Lily 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 Calendar Card Number Validation Catalan Numbers Catalan’s Constant Christmas Trees Collatz Continued Fractions 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 Gray Code Decoder Gray Code Encoder 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 Multitap Input 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 Tower of Hanoi Transpose Sentence Trinomial Triangle United States Vampire Numbers Van Eck Sequence Zeckendorf Representation Zodiac Signs γ λ π τ φ √2 𝑒 Experimental Hole Alphabetic Numbers Apéry’s Constant Binary Lambda Calculus Connect Four Crossword CSS Colors (Inverse) CSS Grid Ellipse Perimeters Flags Floyd-Steinberg Dithering Hexagonal Spiral Highly Composite Numbers NFA Simulator Numbrix Odd Polyomino Tiling p-adic Expansion Polygon Triangulations QR Encoder Quadratic Formula Rectangle Fill Semiprime Numbers Smooth Numbers Snake Sphenic Numbers Taxicab Numbers Turtle Tutorial # Golfer Points Bytes Time Submitted 1st Mukundan314 1,000 95 22ms 10 Jul 2025 2nd 4atj 960 99 32ms 21 Jul 2025 3rd kg583 🇺🇸 950 100 41ms 10 Jul 2025 4th nwellnhof 🇩🇪 941 101 789ms 15 Aug 2025 5th m-tkach 🇺🇦 931 102 645ms 12 Jul 2025 6th lukegustafson 🇺🇸 913 104 88ms 20 Jul 2025 7th pardouin 🇫🇷 880 108 77ms 13 Jul 2025 7th bizy-coder 880 108 114ms 25 Jul 2025 7th zacjl 880 108 97ms 26 Jul 2025 10th Seek64 🇩🇪 864 110 65ms 30 Jul 2025 11th GolfingSuccess 🇬🇷 856 111 30ms 11 Jul 2025 11th blaztoma 🇱🇹 856 111 26ms 23 days ago 13th 5cw 🇺🇸 848 112 249ms 7 Aug 2025 14th ovs-code 🇩🇪 841 113 107ms 10 Jul 2025 14th edsrzf 🇳🇿 841 113 33ms 30 Dec 2025 16th sean-niemann 🇺🇸 826 115 84ms 8 Feb 2026 16th Steffan153 🇫🇮 826 115 67ms 11 Feb 2026 18th duckyluuk 🇳🇱 819 116 617ms 31 Jul 2025 19th Shanethegamer 🇺🇸 785 121 136ms 11 Jul 2025 19th SirBogman 🇺🇸 785 121 60ms 30 Jul 2025 21st inventshah 779 122 17ms 4 Aug 2025 21st ryyyn 🇺🇸 779 122 18ms 5 Nov 2025 21st KasperKivimaeki 🇫🇮 779 122 198ms 26 Nov 2025 21st Emutis 🇱🇹 779 122 17ms 12 Dec 2025 25th AlephSquirrel 772 123 21ms 10 Jul 2025 25th commandz0 🇺🇸 772 123 38ms 11 Jul 2025 25th hallvabo 🇳🇴 772 123 17ms 23 Jul 2025 25th bzijlema 🇳🇱 772 123 18ms 6 Aug 2025 25th 051 🇸🇬 772 123 121ms 8 Jan 2026 30th snoozingnewt 🇨🇦 766 124 56ms 30 Dec 2025 31st bricknellj 754 126 23ms 14 Jul 2025 32nd albanian-laundromat 🇺🇸 748 127 23ms 10 Jul 2025 32nd ndren 748 127 58ms 3 Aug 2025 34th Natanaelel 🇸🇪 742 128 124ms 21 Jul 2025 34th CornerMercury 🇬🇧 742 128 17ms 27 days ago 36th MeWhenI 🇻🇦 736 129 33ms 12 Jul 2025 36th BREMAUCY 🇫🇷 736 129 52ms 6 Aug 2025 38th davecame 731 130 21ms 9 Aug 2025 38th RYNO8 731 130 93ms 6 Oct 2025 40th aksyristos 725 131 43ms 14 days ago 41st emgordon154 720 132 152ms 18 Nov 2025 41st Flekay 🇩🇪 720 132 20ms 5 Mar 2026 41st jusaka 720 132 19ms 8 days ago 44th ahmetdemirag 🇨🇾 709 134 42ms 10 Aug 2025 44th btjones0 709 134 17ms 8 Sep 2025 44th StefanHabel 🇨🇦 709 134 28ms 22 Feb 2026 47th plcc0 704 135 18ms 4 Aug 2025 48th madex 🇩🇪 699 136 21ms 2 days ago 49th annaproxy 693 137 20ms 5 Sep 2025 49th FortuiteMan 🇫🇷 693 137 25ms 25 Nov 2025 49th Lv0Sys 🇵🇱 693 137 29ms 21 Feb 2026 52nd Googolplexo 🇷🇺 683 139 17ms 13 days ago 53rd andrewjc2000 679 140 18ms 2 Aug 2025 53rd hiichbindermax 679 140 17ms 4 Aug 2025 55th CaedenHarper 🇨🇦 664 143 18ms 3 Oct 2025 55th scpchicken 🇵🇼 664 143 37ms 7 hours ago 57th InigoK 🇺🇸 651 146 16ms 3 Sep 2025 58th KatieLG 🇬🇧 642 148 57ms 7 Jan 2026 59th YAJUE114514 629 151 17ms 1 Aug 2025 59th vgamula 🇺🇦 629 151 16ms 4 Aug 2025 59th anter69 🇭🇺 629 151 37ms 27 Aug 2025 62nd alemelis 601 158 17ms 2 Aug 2025 62nd dirckvdende 601 158 18ms 4 Aug 2025 62nd cros107 🇦🇺 601 158 16ms 12 Aug 2025 65th FEZfan 🇦🇺 594 160 33ms 11 Jul 2025 66th jatloe 586 162 18ms 1 Sep 2025 67th shelerr 583 163 1,620ms 21 Aug 2025 68th moustave 562 169 40ms 19 Aug 2025 69th yjgnaw 546 174 18ms 24 Jul 2025 70th qpwoeirut 543 175 34ms 2 Aug 2025 71st jacekwladzinski 522 182 19ms 7 Oct 2025 72nd RaBa21 🇭🇺 516 184 21ms 3 Aug 2025 72nd Mikey-Beep 🇬🇧 516 184 33ms 6 Aug 2025 74th Artemis21 🇬🇧 508 187 82ms 6 Dec 2025 75th OllieBoyne 🇬🇧 475 200 15ms 11 Dec 2025 76th guilhem-roy 🇫🇷 468 203 25ms 22 Nov 2025 77th Bulmenisaurus 457 208 118ms 26 Oct 2025 78th klixel 🇨🇦 455 209 24ms 15 Jan 2026 79th RobertBurs 448 212 19ms 24 Sep 2025 80th CatsAreFluffy 434 219 31ms 30 Oct 2025 1–80 of 99 Next Last