Today's challenge is so solve problem that you need to calculate maximum absolute sum of given a array every two.
Day 13 Abstract Class
Objective Today, we're taking what we learned yesterday about Inheritance and extending it to Abstract Classes. Because this is a very specific Object-Oriented concept, submissions are limited to the few languages that use this construct. Check out the Tutorial tab for learning materials and an instructional video!
Day 12 Inheritance
today's challenge is inheritance. given a class you need to complete some methods that calculate the average score of a student and return a mark which is given in the initial script. And here is my solution below.
Day 11 2D Arrays
Context Given a 6 * 6 2D Array, A:
1 | 1 1 1 0 0 0 |
We define an hourglass in A to be a subset of values with indices falling in this pattern in A's graphical representation:
1 | a b c |
There are 16 hourglasses in A, and an hourglass sum is the sum of an hourglass' values.
Task Calculate the hourglass sum for every hourglass in A, then print the maximum hourglass sum.