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 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 Tower of Hanoi 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 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 Tower of Hanoi 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 Turtle Tutorial # Golfer Points Bytes Time Submitted 1st Mukundan314 1,000 95 22ms 10 Jul 2025 2nd 4atj 960 99 31ms 21 Jul 2025 3rd kg583 🇺🇸 950 100 37ms 10 Jul 2025 4th nwellnhof 🇩🇪 941 101 1,328ms 15 Aug 2025 5th m-tkach 🇺🇦 931 102 710ms 12 Jul 2025 6th lukegustafson 🇺🇸 913 104 103ms 20 Jul 2025 7th pardouin 🇫🇷 880 108 97ms 13 Jul 2025 7th bizy-coder 880 108 116ms 25 Jul 2025 7th zacjl 880 108 131ms 26 Jul 2025 10th Seek64 🇩🇪 864 110 68ms 30 Jul 2025 11th GolfingSuccess 🇬🇷 856 111 42ms 11 Jul 2025 12th 5cw 🇺🇸 848 112 293ms 7 Aug 2025 13th ovs-code 🇩🇪 841 113 126ms 10 Jul 2025 14th duckyluuk 🇳🇱 819 116 643ms 31 Jul 2025 15th edsrzf 🇳🇿 798 119 45ms 16 Aug 2025 16th Shanethegamer 🇺🇸 785 121 153ms 11 Jul 2025 16th SirBogman 🇺🇸 785 121 90ms 30 Jul 2025 18th inventshah 779 122 22ms 4 Aug 2025 18th ryyyn 🇺🇸 779 122 23ms 27 days ago 18th KasperKivimaeki 🇫🇮 779 122 207ms 6 days ago 21st AlephSquirrel 772 123 23ms 10 Jul 2025 21st commandblockguy 🇺🇸 772 123 36ms 11 Jul 2025 21st hallvabo 🇳🇴 772 123 19ms 23 Jul 2025 21st bzijlema 🇳🇱 772 123 22ms 6 Aug 2025 25th bricknellj 754 126 21ms 14 Jul 2025 26th albanian-laundromat 748 127 30ms 10 Jul 2025 26th ndren 748 127 72ms 3 Aug 2025 28th Natanaelel 🇸🇪 742 128 116ms 21 Jul 2025 29th MeWhenI 🇻🇦 736 129 34ms 12 Jul 2025 29th BREMAUCY 🇫🇷 736 129 67ms 6 Aug 2025 31st davecame 731 130 28ms 9 Aug 2025 31st RYNO8 731 130 151ms 6 Oct 2025 33rd CornerMercury 🇬🇧 720 132 19ms 3 Nov 2025 33rd emgordon154 720 132 198ms 14 days ago 35th ahmetdemirag 🇨🇾 709 134 45ms 10 Aug 2025 35th btjones0 709 134 21ms 8 Sep 2025 37th plcc0 704 135 24ms 4 Aug 2025 38th annaproxy 693 137 27ms 5 Sep 2025 38th FortuiteMan 🇫🇷 693 137 17ms 8 days ago 40th andrewjc2000 679 140 21ms 2 Aug 2025 40th hiichbindermax 679 140 23ms 4 Aug 2025 42nd CaedenHarper 🇨🇦 664 143 26ms 3 Oct 2025 43rd InigoK 🇺🇸 651 146 21ms 3 Sep 2025 43rd snoozingnewt 🇺🇸 651 146 33ms 37 hours ago 45th KatieLG 🇬🇧 638 149 92ms 22 Sep 2025 46th YAJUE114514 629 151 16ms 1 Aug 2025 46th vgamula 🇺🇦 629 151 23ms 4 Aug 2025 46th anter69 🇭🇺 629 151 56ms 27 Aug 2025 49th alemelis 601 158 24ms 2 Aug 2025 49th dirckvdende 601 158 25ms 4 Aug 2025 49th cros107 🇦🇺 601 158 22ms 12 Aug 2025 49th blaztoma 🇱🇹 601 158 101ms 23 days ago 53rd FEZfan 🇦🇺 594 160 35ms 11 Jul 2025 54th jatloe 586 162 22ms 1 Sep 2025 55th shelerr 583 163 1,662ms 21 Aug 2025 56th moustave 562 169 40ms 19 Aug 2025 57th yjgnaw 546 174 24ms 24 Jul 2025 58th qpwoeirut 543 175 42ms 2 Aug 2025 59th jacekwladzinski 522 182 24ms 7 Oct 2025 60th RaBa21 🇭🇺 516 184 23ms 3 Aug 2025 60th Mikey-Beep 🇬🇧 516 184 36ms 6 Aug 2025 62nd guilhem-roy 🇫🇷 468 203 26ms 10 days ago 63rd Bulmenisaurus 457 208 170ms 26 Oct 2025 64th RobertBurs 448 212 21ms 24 Sep 2025 64th klixel 🇨🇦 448 212 99ms 25 Oct 2025 66th CatsAreFluffy 434 219 35ms 30 Oct 2025 67th Emutis 🇱🇹 432 220 23ms 8 Aug 2025 68th SB-945 428 222 20ms 1 Aug 2025 69th FlorianCassayre 🇫🇷 401 237 19ms 5 Aug 2025 69th mbittner20 401 237 17ms 18 Aug 2025 71st HumanoidCPU 396 240 30ms 26 Jul 2025 72nd scpchicken 🇵🇼 391 243 20ms 14 Aug 2025 73rd DialFrost 🇸🇬 383 248 21ms 10 Jul 2025 74th Shotokhan 380 250 18ms 24 Sep 2025 75th H3XDaemon 378 251 18ms 19 Aug 2025 1–75 of 88 Next Last