You are not logged in. Please login at to post your questions!


Tricks and Tips to perform better in Programming competitions.

Hello everyone,

I like Programming very much but due to some reasons, I am not able to perform well. Most of the time I get "wrong answer" even if it seems to be correct(may be due to it isn't working for even 1 test case). So please tell me some tricks and tips which would help me. Such as how to test your program, must know algorithms, the way you follow while coding or anything else.

Thank You in advance.

asked 12 Aug '14, 09:23

shadow_ninja's gravatar image

accept rate: 0%


Another common reason I find for being unable to solve problems is thinking of them as too difficult or a hi-fi algorithm. Take your time, relax and be confident. You are good, and that will show. :-)

(12 Aug '14, 13:50) gkcs4★

Frankly, I find participation, experience and interest to be the most important factors for improvement. Try the problems in the contests. Afterwards, go through the editorials that make sense to you. I say this because some editorials have complex prerequisites which I rarely have. :-/

As you get better, you will find the higher level tutorials understandable. Some theory using books is always good. But maybe trying the problem, and then reading the theory is the best way to remember algorithms. This might sound philosophical, but people rarely take interest in stuff that is given to them without a purpose. :-)

Best of Luck.


answered 12 Aug '14, 11:54

gkcs's gravatar image

accept rate: 9%

Very nice place to start is the . They have some very good articles. But at the end of the day, you will need to study a good book on algorithms. The most popular one is CLRS ("Introduction to Algorithms" by Cormen et. al.). I would also recommend "Algorithm Design" by Kleinberg and Tardos.
Check this link also -


answered 12 Aug '14, 09:49

rajat_dtc's gravatar image

accept rate: 6%

Yeah This is very Useful


answered 17 Jun '18, 10:43

huzaifa242's gravatar image

accept rate: 0%

toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:


question asked: 12 Aug '14, 09:23

question was seen: 6,447 times

last updated: 17 Jun '18, 10:43