@vaporeon_ this is the future liberals want
@vaporeon_ and there's chicken in there too because why not?
@vaporeon_ a weird potato onion leek egg drop soup i made last weekend to stop things from going bad in my fridge
@monorail i do say "trivial" and "such that" a nontrivial amount in everyday conversation
@vaporeon_ "cycle" is not a technical concept it is a word i made up to describe what i was looking for
@vaporeon_ what i'm trying to do is find the length of a "cycle" in the array. a cycle is the number of "jumps" you can do in the array if you jump forward by a set number of indices before you return to where you started, assuming that you start back at the beginning of the array once you exceed its length
@vaporeon_ when i looked at other solutions people usually used a greatest common denominator algorithm which is O(sqrt(n)) in this step, but the reasons for it are due to Math I Don't Understand
@vaporeon_ im trying to think of a silly acronym but i cannot think of one, gorp is too weird
@vaporeon_ they have a terminal where you can write code in an online IDE and immediately check the result against test cases so it actually makes sense in this context
re: no image desc
@vaporeon_ specifically my solution is a linear time, O(1) space solution (O(1) space solution is really hard to come up with)
@wallhackio that’s epic
@vaporeon_ it's a solution to https://leetcode.com/problems/rotate-array/description/
(javascript warning)
@cam fraternal
@cam oh you aren't yet fully versed in glitchcat lore it seems
@monorail if you actually say "ack" in real life then i am reporting you
the clodvestigator
i answer to Caleb, Clodsire, Clodboy, Clod, and Bumby. very leftist.
videogame enjoyer. mathematics hobbyist and recovering physicist. recovering software engineer. professional wonk. prophet of The Truth. the walking embodiment of "not diagnosed, but somethings wrong". i like animals that wear cowboy hats.
number of fat cock awards received: 56
header is by @vaporeon_
"i regret ever allowing him here" ~aescling
"oh you're one of those weird movie likers" ~Ti
30+
he/him
sgraMrt