Hacker News new | ask | show | jobs
by iovar 4056 days ago
Being a progtammer is being a problem solver. The language hardly matters.

Try to solve this in your head with pseudo code and do not overcomplicate it. It's a very simple problem. Also at your level, don't think of the language string handling facilities or other advanced Api's. Just control structures and arrays.

Finally, it's fine to ask for help when trying to build something, but when trying to learn, it's cheating yourself of the opportunity to have that moment were you actually understand the problem.

So my advice is, go back to solving the problem and don't come back here to see for possible answers until you have it and just want to compare solutions.