@rey @er1n @LottieVixen @ashkitten i feel like i'm too dumb to even think of a solution let alone in assembly
@rey @er1n @ashkitten @squirrel
Something I may have forgotten to mention but I think I did is you can't iterate through the stack
Iteration is O(n) where n is stack size, the solution is 1 or O(1)
@rey @er1n @ashkitten @squirrel I'll share my solution in Java with those who aren't taking part :3