Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

How is competitive programming different from real-life programming?

user-image
Question ajoutée par Rana Alnajjar , Web developer , Lebcards
Date de publication: 2015/07/13
Ali Alawieh
par Ali Alawieh , Software Engineer (Android) , CME Offshore S.A.L

In competitive programming you will not be using any high level components or APIs , just the basic operators , if else statements , and loops. Along with some bit manipulation like >> & ~ ....

 

You will not be asked to design a GUI , everything should be outputted in the asked format to the console.

The questions range from easy to extremely hard algorithms. Most of them can be solved by just brute forcing the answer (trying all ways), but you have a time limit for the execution of your answer . Plus your answer will be tested against many test cases , can be test cases sometimes, so your code must be heavily optimized: you really need to be aware of the complexity of your algorithm , O(n) , O(2n) ...

 

You will be put under great stress since the answers are graded by the time they are submitted. The more time you take to submit the lower the grade. And the timing starts , for all answers, from the start of the contest.

 

I have participated in2 myself , came2nd in one. You really need to study if you are planning to participate in one.

Here's a very helpful website (go to the algorithms problems)

https://www.hackerrank.com/

 

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?