Okay, so yesterday I decided to really push myself and see how far I could get on this coding challenge. I’ve been stuck on it for like a week, and it was driving me crazy! I woke up early, grabbed a big cup of coffee, and sat down at my computer, ready to tackle this thing.
First, I reread the problem description like three times. You know, just to make sure I wasn’t missing some tiny detail that was tripping me up. Then, I opened up my code editor and started going through my existing code line by line. I was basically talking to myself, trying to figure out where I might have gone wrong.
Debugging Time
- Checked my loops – were they running too many times or not enough?
- Made sure my variables were storing the right values at the right times.
- Added a bunch of print statements to see what was happening inside the code as it ran.
After a few hours of this, I found a couple of silly mistakes – a typo in one variable name, an off-by-one error in a loop. Stuff like that. Fixing those definitely helped, but I still wasn’t getting the right answer.

So, I took a break, went for a walk, and cleared my head. Sometimes you just need to step away for a bit, right? When I came back, I had a new idea – maybe my overall approach was wrong. I started sketching out a different way to solve the problem on a piece of paper, thinking through the logic step by step.
It turns out, this new approach was way better! I rewrote a big chunk of my code, using this new strategy, and things started to click. I was getting closer to the right answer, but still not quite there. I was hitting around 150 out of 200.
Almost There
I spent the rest of the afternoon refining my code, testing it with different inputs, and fixing more small bugs. It was slow going, but I could feel myself getting closer and closer. Finally, after what felt like forever, I got to 189.47 out of 200! I was so close, I couldn’t stop there.
I decided that I would continue * at this time I’m very excited,I know I’m getting very very close!