Showing posts with label competitive programming. Show all posts
Showing posts with label competitive programming. Show all posts

Thursday, July 25, 2019

how to prepare for competitive programming


competitive programming from beginner to expert


competitive programming from beginner to expert

Hi, I guess you were a student recently came across this weird term competitive programming but don't know from where to start your programming journey so don't worry you were at right place here I will give you step by step guide to start with so let's gear up for the battlefield ......


competitive programming

competitive programming roadmap


➤ step 1: as a beginner first of all pick at least one weapon.
 here, weapon means a programming language :
choose any (C, C++, Java, Javascript, Perl, Python) or a combination of many.
      
so,         
     if you choose C then switching to C++ is easier for you.
     else if you choose java then javascript is easier for you.
     else choose python.
       
I personally prefer C++ because it is fast and the majority of the programming community uses it.
so it is easier to find a solution to a problem plus it is fastest among all languages.

➤ step 2: just learn these basic things in any of the programming language you choose...

  • use of data types
  • arrays
  • lists
  • dynamic array
  • while and for loops
  • if and else statements
  • a motivated brain
    


 step 3: go to HackerEarth navigate to basic programming and explore the platform don't worry at first you get some unknown errors and you didn't even understand the given programming problem language but with the time of 2 or 3 days, you have a fair idea what the hell is going on.

 step 4: ok if you have followed all the three steps mentioned above then you have been encountered with either of these errors.

runtime error:


➢ this error occurs if you have declared an array of size smaller then required.
to solve this take array size larger like ar[1000000]

compilation error: 


➢ the online platforms use standard compilers like GNU g++ for c and c++

➢ the java,c and c++ users  don't miss out semicolons ' ; ' or curly brackets '{}'.

➢ the lovers of python don't forget that python 2x and 3x are different so choose carefully. 

➢ c++ users don't use #include<iostream.h> insted use #include<iostream>.

time limit exceeded:


➢ it's possibly because you use an infinite while or for loop so keep an eye on what conditions you are using.

➢ the second reason may be your Internet speed is slow.

 step 5: don't forget to learn and practice the functions like...

  • sort
  • reverse
  • swap
  • gcd
  • permutation
  • binary search
  • max, min
  • pow
expert advice: to use these functions without including tons of libraries just use one i.e #include<bits/stdc++.h>
please buy a good laptop see HOW TO FIND BEST LAPTOP

 step 6: till now you get well acquainted with the HackerEarth platform now move to the data structure section and start learning different data structures and solve the problem related to them I mention the best book below which I personally prefer.


 competitive programming books I Used


 Data Structures and Algorithms:     click here


➦ Crack MNC(google/Facebook):    click here
  





➤ step 7: when you get well acquainted with the data structures go and learn different algorithms to solve problems faster.

➤ step 8: now you have passed the journey of competitive programming from beginner to expert
it's time to explorer different platform like hackerrank, CodeChef, code forces, etc and take part in different competitions like hackathons by HackerEarth and breakfast, lunch by CodeChef and earn some real money and also code vita which gives you money as well as a job.




Bonus tip:  learn data structure and algorithm well because it is the main key to master the coding competition and it is also included in your B.tec/Bca/Mca syllabus so score well in the exam as well. 

hope you like this article Feel free to comment on the topic you find difficult, be it data structure, algorithms anything tells us we will try to write an article on it in a very easy and understandable way.

If you love the post please subscribe to my Youtube Channel

Good Luck!




Wednesday, July 24, 2019

what is google summer of Code? | ( Gsoc )

What is Google Summer of Code
 ( GSoC ) 


What is Google Summer of Code? | gsoc
GSoC


This year my proposal to google summer of code finally got selected since people know about it on my Facebook handle so they are asking me questions:


  • What is google summer of code or Gsoc?                         
  • what is the eligibility criteria to get selected?              
  • can you give us a few tips?                                       
in this blog, ill be addressing all your quarry's one by one.



What is google's summer of code is?


I am amazed that most of the tech students including my college are unaware of this popular program.
so, here is the quick intro to gsoc...

Google summer of code is a program by Google that aims to introduce students to the world of open-source software and contribute to it.

selected students work from home on their projects for three months guided by the mentors of that particular software company. to make the students stay focused google provides stipend so its a good opportunity to learn and earn.

note: getting selected for Gsoc doesn't mean you are an employee of Google.





What is the eligibility criteria to get started?


Each organization has different criteria because each organization software needs different expertise.


but there are few things one can do to maximize their chances of getting selected.

  1. number one proves that you have working knowledge in areas preferably Github or GitLab. some organizations reach out to applicants to judge their knowledge.                            
  2. in GSoC most organization make their projects open source to implement a certain feature in their project so choose a project wisely and propose a solution for that problem which organizations need to solve.                                   
  3. keep your idea realistic make sure if a project given to you. can you implement it in the given deadline so consider 3 months period in mind and draft wisely. 


Can you give us a few tips?


yes, I can,
  1. after you apply keep in mind checking your emails on a regular bases because google will send you reminders.                  
  2. keep an eye on the last date of proposal submission it may happen that the application date is over and you come up with your proposal after that.                                            
  3. good luck for GSoC!

TCS CodeVita 2020 | CodeVita Season 9 Preparation

TCS Codevita 2020 | Code vita Season9 Preparation


codevita questions, what is codevita tcs, codevita 2020 questions

Codevita Season 9


For the past 7 seasons, TCS has had great fun in promoting the Programming-As-A-Sport culture. I hope you too had great fun participating in previous seasons of Codevita. Last season code vita created new milestones with over 210k students across 68 countries registering for the contest. Over 1800 CodeVitans were offered in India. The finals saw 25 top coders from 7 countries competing for the coveted title.


➨ What is TCS code vita :


you have probably heard of many programming contests like Icpc, google code jam, etc TCS code vita is also from one of those.

the TCS code vita is organized every year by tata consultancy aiming to find the best coders across the globe so that they can hire the best talent.

along with a job assist, they also give away a prize of more than $18,000 and this amount increases every year. 

Objective:


The main objective of the Codevita contest is to sharpen the contestants’ programming skills through some real-life computing practices.

The code vita contest will also

  • Help TCS spot bright students
  • Provide students an opportunity to showcase their programming talent and earn peer recognition.
  • Provide an opportunity to showcase offerings of TCS to the academic world
  • It provides a platform for students to practice and enhance their programming skills.
  • Provide exciting career opportunities for students in TCS
  • Participation certificates for students who clear the pre-qualifier round.


➧ Eligibility:


Coders from institutes across India who are completing their academic courses in 2021, 2022, 2023 and 2024 alone are eligible for this code vita contest. Registrations are invited from students in undergraduate/ postgraduate programs related to engineering/science background with any specialization. there are no percentage criteria for this examination.

 Tcs code vita Season8 results :


➨ code vita round1 results :

  • CodeVita Season9 India Round - Results have been declared on campus commune. Please login to TCS CampusCommune to check your results. 

  • CodeVita Season9 India Round - Coming soon...



 Tcs codevita registration 2021 :


  • tcs codevita registration 2021 will open on campus commune site in month of march/april so keep an eye good luck and prepare well.
  • check Registration open/closed :- click here


➧ Must Have Books :








➧ CAN also see:



➧ Codevita Season8 questions for preparation:


⇢ Tricky questions asked in codevita please refer books



                           Q & A                              

Q.  When do we get code vita round 1 interview call?

ans. first of all, let's get all participants from different zones email of selection and finally wait for the final list of ranks.


Q. When will we get the codevita result rank list?

ans. we'll email you please subscribe to our newsletter at the top right panel of the page.



Thanks!!! for Visiting Asaanhai or lucky5522  😀😀



Everything Need To Know About BATTLEGROUNDS MOBILE INDIA

 BATTLEGROUNDS MOBILE INDIA  Finally, Krafton unveiled India’s beloved battle-royale game PUBG Mobile, but with a new name – Battlegrounds M...