Step 1 – Launch the HackerRank Website and “Sign In”. Ref: https://www.hackerrank.com/

Step 2 – Click into “Continue Preparation” under Problem Solving. Choose “A Very Big Sum” Challenge.

Step 3 – Read the Instructions Carefully.

Change the Programming Language to Python 3.

Step 4 – List the Requirements and Constraints in a Notepad in simple words. Learn to take notes.

Step 5 – Convert What You Understand of the Requirements and Constraints into code.

Similar to a previous exercise, we can use an existing Python command that sums up elements in an array to easily solve this task.

Step 6 – Click “Run Code” to Test Your Code. Do Note if you submit code with errors, you will lose points. So “Run Code” first to ensure everything works.

Step 7 – Once you have tested that your code works, “Submit Code” to clear the challenge and earn some Hacker points.

You should also get your first Problem Solving Star and Badge.

Step 8 – Go to your Profile to view your Problem Solving Badge (1 star) and Python Badge (2 stars).

Leave a Reply

Your email address will not be published. Required fields are marked *