Try it online
9 bytes golfed thanks to Dennis!
This algorithm tries every possible character for the first position of the subsequence, replaces each string with the substring after the first occurrence of that character, and then calls ...
I was watching the world snooker championship and I got me wondering..
In the game of snooker there are certain rules that you must adhere too:
When there are red balls on the table, during your turn you must first pot a red ball
After each red ball, you must pot a colored bal...
Yesterday I started a bounty for a question I posted on Stack Overflow. I received a couple of answers, none of them solved my problem, but one of them gave suggestions that pushed me in the right direction, leading me to eventually find the answer myself.
I posted the answer myself to my quest...
Pyramid Scheme is a language being developed by @ConorO'Brien. In Pyramid Scheme, the code that you write looks like this:
/ \ /3\
/ \ ---
/ + \
Now, that code has two obvious qualities: It's difficult to ...