Problem Description We once did a lot of recursional problem . I think some of them is easy for you and some if hard for you. Now there is a very easy probl...
Problem Description Find and list all four-digit numbers in decimal notation that have the property that the sum of its four digits equals the sum of its digi...
Problem Description Superbowl Sunday is nearly here. In order to pass the time waiting for the half-time commercials and wardrobe malfunctions, the local hack...
Problem Description Given a sequence a[1],a[2],a[3]……a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the max s...
In many applications very large integers numbers are required. Some of these applications are using keys for secure transmission of data, encryption, etc. In th...
Consider the natural numbers from 1 to N. By associating to each number a sign (+ or -) and calculating the value of this expression we obtain a sum S. The prob...
Problem Description Given a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1 x 1 or greater loca...