Pinned Loading
-
NoClutter-YouTube
NoClutter-YouTube PublicRemoves Youtube's intrusive "information" boxes.
-
-
Tetris-Sprint
Tetris-Sprint PublicInspired by http://www.tetrisfriends.com/games/Sprint/game.php , wanted to see if I could do it.
Java
-
heap_sort_tail_recursion.py
heap_sort_tail_recursion.py 1# 2021/11/10
23# Python is not the best for this, but the syntax makes it worth it.
4# Set state_logging to false if you would rather see tests instead of state changes.
5# heap_sort, fix_heap_up, and fix_heap_down are tail-recursive.
-
String Permutations - Tail Recursion...
String Permutations - Tail Recursion - Algorithms to generate all possible permutations of a given string. Why aren't "curried string trees" a thing? I tried my best to stick with tail-recursion, but Python didn't like it. 1# This was my idea before starting to code:
2#[c, a, t]
3#[a, t]
4#[t, a]
5#[(c, [(a, [(t, [])]), (t, [(a, [])])]), (a, [(c, [(t, [])]), (t, [(c, [])])]),...]
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.