Mine is not an interesting "problem" generally speaking. But, to me, it is a problem because I haven't solved it yet. I am on the journey of learning computer science and programming on my own from awesome books and resources available out there. I came across this article by Peter Norvig: https://norvig.com/21-days.html after I read his code of a spell checker: https://norvig.com/spell-correct.html . I was mesmerize…
However, I’d also add that becoming an “elegant” and “useful” programmer are often at odds with each other. It’s very easy to spend so much time trying to make your code pretty with the perfect abstractions that you never actually finish anything.
If your goal is to be useful and productive then learning by writing a lot of code in a lot of different languages, styles and code based might serve you better than focussing on beautiful source code. Though if you can do both, then please do!