Another implementation, except this one utilizes flash loans, very barebones, beware of mempool bots and use proper MEV protection
I tried to make this as short as possible as a challenge and now my brain hurts - can I understand the code now? absolutely not. does it work? yes
requires solmate...prob would've been fine w/ the one that remix automatically adds tho