Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
This online course covers basic algorithmic techniques and ideas for computational problems arising frequently in practical applications: sorting and searching, divide and conquer, greedy algorithms, dynamic programming.
We will learn a lot of theory: how to sort data and how it helps for searching; how to break a large problem into pieces and solve them recursively; when it makes sense to proceed greedily; how dynamic programming is used in genomic studies. You will practice solving computational problems, designing new algorithms, and implementing solutions efficiently (so that they run in less than a second).
In this very first programming challenge, your goal is to implement a program that reads two digits from the standard input and prints their sum to the standard output. We start from this simple problem to show you the pipeline of submitting a solution to the grading system.
In particular, the folder week1_programming_challenges/1_sum_of_two_digits in the following archive file contains solutions to this problem in various programming languages. Select the solution in your favourite programming language and submit it under the “My submission” tab.
More details on the submission process are given in Sum of Two Digits section of the file week1_programming_challenges/week1_programming_challenges.pdf in the same archive file.
#Python 3
a,b = input().split()
print(int(a)+int(b))
#include <bits/stdc++.h>
using namespace std;
int main()
{
int a,b;
cin>>a>>b;
cout<<a+b;
}
When you’re ready to submit, you can upload files for each part of the assignment on the “My submissions” tab.
In our experience, we suggest you enroll in Algorithmic Toolbox Course and gain some new skills from Professionals completely free and we assure you will be worth it.
Algorithmic Toolbox course is available on Coursera for free, if you are stuck anywhere between quiz or graded assessment quiz, just visit Queslers for Peer Graded Solution and Networking Funda to get Algorithmic Toolbox Quiz Answers.
I hope this Programming Assignment 1: Sum of Two Digits Solution would be useful for you to learn something new from this Course. If it helped you then don’t forget to bookmark our site for more Coursera Quiz Answers.
This course is intended for audiences of all experiences who are interested in learning about new skills in a business context; there are no prerequisite courses.
Keep Learning!
Algorithmic Toolbox Coursera Quiz Answers
Data Structures Coursera Quiz Answers
Algorithms on Graphs Coursera Quiz Answers
Algorithms on Strings Coursera Quiz Answers
Advanced Algorithms and Complexity Coursera Quiz Answers
Genome Assembly Programming Challenge Coursera Quiz Answers