Identify some great programmers that are solving problems similar to the ones you are working on and mimic them. Ruthlessly. If you fall short then try again and repeat until your solution is at least approximately as good as the best you have seen. If you ever exceed the programmers you mimic, find someone even better.
Due to the nature of programming it involves solving new problems all the time so there will in general almost always be someone better than you at solving problems that are important to your current project.