I make stuff, and sometimes it's useful.
19yo autistic girl
- Australia
-
11:13
(UTC +11:00) - https://purrrpley.dev
- @Purrrpley
Pinned Loading
-
despamify.py
despamify.py 1def despamify(text: str, threshold=5) -> tuple[bool, str]:
2last_char = ""
3repeat_count = 0
4despammed = False
5output = ""
-
An O(1) sorting algorithm
An O(1) sorting algorithm 1def assumption_sort(array):
2"""An O(1) sorting algorithm
34Sorts in O(1) time. Sorts and returns the input array assuming it is already
5sorted - if it is not then output of this function is an implementation
-
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.