r/cs50 • u/Competitive_Lemon246 • 2d ago
tideman I just solved Tideman
I just solved Tideman. It's been 6 days. I thought lock_pairs would be the worst because that's where I got really stuck last time. This time it was actually print_winner that had me pulling my hair out.
I took this class for the first time back in 2020 or so. Tideman was challenging back then and I gave up on it and then didn't want to finish the class because I felt like I failed.
This time I didn't give up. The two print_winner tests were red over and over and over and it felt like I would never solve it. I felt so frustrated and hopeless. Then, suddenly, all it took was one idea to change both of those red tests to green, just like that, after hours and days of trying with nothing happening.
I'd thought something was broken because I couldn't get it to work when it seemed like it should work. I was going through an emotional journey.
If you're stuck on it, keep working at it, keep trying new things, keep tweaking. Keep it in mind, play with it, and work at it a little every day at least. Don't be afraid to delete and try again. (Save your work first just in case you want to reference it later.) Just don't give up. If I can do it, you can do it.
I feel like I learned so much throughout these 6 days, learning that could only happen through painful and frustrating experience. I've been feeling grateful for that throughout the process and trying to hold it as motivation to keep going. Don't give up. The solid green at the end makes it all worth it.
Thank you to the people in the sub who encourage others through Tideman and/or other problems. Your encouragement in general has really helped me through when I wanted to give up.
