Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

Programmer Problem Solver

Hi there,

What subjects should I study or practice in order to sharpen my problem solving abilities in programming. I am not an especially gifted person. I already know PHP, C#, and JavaScript, and web development, but need to develop my problem solving abilities to a very high level.

Thanks
0
userTester
Asked:
userTester
2 Solutions
 
sdstuberCommented:
To practice: answer questions on EE!  

Seriously.

 You will be exposed to lots of problems including examples of good and bad code you'll need to be able to identify both, leverage the good, fix the bad.

Learn your tools well enough that you can use them to do nearly anything; then, learn them well enough to know when you shouldn't use them.  

For study: go to the classic algorithms - but don't reinvent them.

For instance, most programming classes teach sorting.  There is very little need for you to ever write one of those algorithms from scratch, and even if you did, it would probably be a mistake to do so because there is already a highly optimized, low-level implementation already available.

However, if you know understand WHY quicksort is better than bubblesort, that's useful in understanding fundamentally how operations on objects in memory behave and how little actions add up to big effects.

Learn to work with databases:  MySQL, Access, Oracle, DB2, SQL Server,etc.   If you're writing professionally, at some point you will have to work with a database of some kind.  They are immensely powerful and a very common error is to assume you can process data faster than the database.  Maybe you can in some cases, often you can not.   Even if you can out-do the db,  if you have to also absorb the cost of pulling the data out and pushing that data back in, then you're making the db do work anyway, plus the overhead of the communcation, how fast do you have to make your code to compensate for that overhead?  Learn to leverage the features of your database platform to do what it does best and you'll be miles ahead of your competitors.


Learn libraries/products/industry standards.  Working with Javascript in particular there is plenty to learn.  Seems like new tools and methodologies spring up all the time for it.  Staying on top of those can be difficult but also a competitive advantage.
1
 
TommySzalapskiCommented:
A lot of code competition sites (like codejam, topcoder, and codechef) have a wealth of practice problems. Many people have told me that these types of challenge problems are the one best way they prepared for interviews and jobs at places like Google.

https://code.google.com/codejam/contests.html
http://www.codechef.com/problems/easy
http://community.topcoder.com/longcontest/?module=ViewPractice

Or if you want to start out with something a bit more basic and simple

http://codingbat.com/

Other than that, you could tackle a large hobby project or contribute to some open source projects (preferably active ones that do code reviews so you can get feedback).
1
 
userTesterAuthor Commented:
Nice, thanks.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now