How to improve programming skills?

Many keep asking me this question, "How do i improve my programming skills?". I used to ask the same question to my friends who were good at it ( Not that i'm too good at programming now :P ) But i have definitely found certain places where one can enhance their programming skills. Before one gets started with these, it is important to have good knowledge of Data structures and Algorithms. So best would be to code all the lab programs we had in 3rd and 4th semester once again ;).. All the sorting techniques are very important!! "Introduction to Algorithms" by Cormen, Leiserson, Rivest and Stein is considered to be one of the greatest books of all time. I'm pretty sure it will be helpful.

There are many sites which have a huge compilation of problems.. I Knew just one till now.. But after looking at the Shaastra website.. I got a lot of other links which are equally good.. My all time favourite is TopCoder. It has a java applet which is simply awesome :) They call it the contest arena.. It has a chat room(lobby). It also includes a coding area where we can code the solution.. We can compile the same and test it for the examples given to us.. Probably this is the reason i like it the most. There are 2 divisions.
Div II - for beginners.. having a score less than 1200
Div I - for users having score more than 1200

both divisions have 3 problems, generally 250 , 500 and 1000 pointers. Difficulty directly proportional to the points :D The quality of problems is good and I enjoy solving them. Previously google had its Google code jam on Topcoder but this year onwards they will be hosting it on their own engine..

Now i'm listing some of them here :


1.TopCoder
2.UVa Online Judge
3.Sphere Online Judge

Hope these links were helpful. Please feel free to leave comments.

Comments

Hi

Hi iam ilakkiya,
iam developing a copy editing tool.For that i need to develop a spell checker and grammar checker.i added the dictionary as a text file in my project using resource file.i dont know how to access and spell check the document using dictionary from the resource file in c# windows application environment.i need a source code for that..

Hi

Hi,
I am Kartik. I was looking for an algorithm. It is called apriori algorithm. The question is something like this.
Generate 20 items usually seen in K-mart or any
other supermarkets (e.g. diapers, clothes, etc.).
Then generate 100 transactions each containing
some of these items. The information can be
stored in a file, or a DBMS (e.g. ORACLE).
Generate and print out all the association rules
based on your transaction database by using Apriori Algorithm.

Here is the implementation. http://web.njit.edu/~xc7/cis734/Apriori.htm

Can you help me in this. I am really starting out and am learning to code. But I am having difficulties. I was wondering if you could help me out.
Thanks.

Hey karthik,

sorry for such a late reply.. I hadn't noticed your comment. I'll need to spend sometime with it.. I found this C# code here.. may be its of some use..

http://www.kdkeys.net/forums/thread/8028.aspx

Thanks..

request

please write the code for johnson and trotter algorithm using c++ in 2 different ways. please reply for this. It will be helpful for me. Iam expecting ur mail .

check the programming section!

I have uploaded the code for johnson trotter algorithm in the programming section of this site.. http://krishnabharadwaj.info/Programming
Johnson trotter in 2 different ways? Johnson trotter is an algorithm and its unique. right? There are other methods to generate permutations.. One is bottom up method(Minimal Change) and the other is a recursive algorithm.. It will be nice if i get to know who you are? and what email id am i supposed to mail them to? :)
Thank you :)