I got ChatGPT to write my code. I did have to describe the algorithm in great detail and prompt it multiple times to meet all the requirements and had to extend it because it was too difficult to describe and then port it to another language ... but yeah, it wrote my code for me.