Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C Problems and Solutions [closed]

Tags:

c

I'm looking for a series of C problems (with solutions) that I can use to build my C skills. I already understand the basics of the language, the syntax, and the semantics. I am looking for a series of problems that will help me hone my skills, not a set of simple questions that you'd see in an introductory programming class.

like image 472
Yehuda Katz Avatar asked Nov 16 '09 03:11

Yehuda Katz


4 Answers

You might try solving some of the problems on Project Euler. The first few are pretty simple, but they get very challenging very quickly. I think it's a lot of fun trying to come up with the shortest code or highly optimized code to compute the results (though, I generally use C++ or Python, not C).

One advantage the Project Euler problems have is that they aren't just language-centric; they're problems that really make you think hard about how to develop an elegant solution to difficult problems.

like image 126
James McNellis Avatar answered Oct 14 '22 08:10

James McNellis


And don't forget code-golf.

You probably want to respond only to challenges (questions) that have at least 10 upvotes.

like image 41
DigitalRoss Avatar answered Oct 14 '22 07:10

DigitalRoss


Here is a list of sites with online judges (and similar) which contains a large variety of problems:

(The sites are sorted in lexicographical order)

  1. ACM Live Archive, problems from past ACM/ICPC regionals and World Finals.

  2. Arbiter, online judge at Sharif University in Iran.

  3. FZU Online Judge

  4. Google Code Jam

  5. Harbin Online Judge

  6. Hangzhou Dianzi University (HDU) Online Judge

  7. Hunan University ACM/ICPC Online Judge

  8. IPSC (Internet Problem Solving Contest)

  9. KSRU Online Judge

10.Jilin Online Judge

11.Lviv Online Judge

12.Moscow Online Judge

13.National Taiwan University Online Judge

14.Online Problems Solving System (OPSS)

15.Peking University Online Judge

16.Programming Challenges

17.Project Euler

18.Saratov Online Judge

19.Sphere Online Judge

20.TJU Online Judge

21.TopCoder

22.Ural Online Judge

23.USACO Training Program Gateway

24.UVa Online Judge

25.Wuhan University Online Judge

26.ZJU Online Judge

27.Z-Trening

like image 38
whacko__Cracko Avatar answered Oct 14 '22 07:10

whacko__Cracko


Build libraries that implement sophisticated data structures, like binary trees, dictionaries, and such.

like image 44
Robert Harvey Avatar answered Oct 14 '22 08:10

Robert Harvey