Ooof, not fun for sure but a lot of us have been there. Still you now know what worked for your studies and what didn't you'll now be able to double down and be twice as prepared next time.
Working problems was what helped me pass the most when I didn't pass the first time. I like your idea of...