Those who tell you that learning a language or programming skill or web development or any field of computer science is like a piece of cake or an overnight process, are those idiots who walk into glass doors . So assume it that you would have to work hard and give max of your time . Just changing your status and wallpapers won't make you a star . It requires tremendous hard work and passion to achieve your goals.
First of all you should know all the basics of a programming language and have a good practice in topics like handling a loop , checking a condition , working with strings,pointers , matrices,functions etc.
Pick up any competitive coding site . There are many such sites like Codeforces , a2oj , Uva ,Codechef, Hackerearth , Hackerrank, Spoj , Projecteuler etc. I would suggest you to use Codeforces/Codchef/Hackerrank as the questions present there are conceptual and help you to enhance your coding skills .
Till now i have good practice in C , C++ and currently learning Java .
Start from the Beginner level . Attempt those questions first which have maximum submissions.
Initially you would find it difficult to solve them . There are certain approach and certain tools for meeting the required constraints of problems . ......
1.) Taking an Input :
suppose you have to check 'T' test cases .
your code should start like this ..
int main()
{
int t;
scanf("%d",&t);
while(t--)
{
// your code goes here .........
........
........
output the result for each test case here like..
printf("%d\n",answer);
}
}
No comments:
Post a Comment