Friday, 26 August 2016

Colored Balls

  Introduction Hello all, all of us have curiosities and we look on internet to find informations about it. In last time I just reflected over this topic. Today I am gonna show you...

Tuesday, 23 August 2016

Tweedle-Dee and Tweedle-Dum

"Tweedle-Dee and Tweedle-Dum are in a fierce battle playing even-odd nim. This novel game is played on N heaps. Heap i contains ai stones. Like normal nim, Tweedle-Dee and Tweedle-Dum alternate taking a positive...

Monday, 22 August 2016

Begginer Problem - Sticks

Hello all, after a long vacation, I come back with some new problems and new algorithms. Here is one for begginers and not only:  "Mr. Algorithm and his little brother are playing with sticks....

Sunday, 22 May 2016

Challenge #3 - Diagonal Difference

Given a square matrix of size , calculate the absolute difference between the sums of its diagonals. Input Format: The first line contains a single integer, . The next lines denote the matrix's rows,...

Friday, 20 May 2016

Challenge #2

   Mr. Algorithm have an integer number, which he want to reverse by following steps: Convert the number into binary string. Reverse binary string. Convert the reversed binary string back to integer. Can you...

Thursday, 19 May 2016

Number of divisors C++

         Hello again. Here is another optimized algorithm to get number of divisors of a number! Check bellow button (PayPal button), only 1 euro! P.S: Explanation of algorithm is inside file! ...

Contact

If you have any request please email me at thealgorithm7@gmail.com and I will reply you as fast as I can. You can request exercises, projects etc. in C++ (mainly) or in another programming language!...

Thursday, 12 May 2016

Challenge #1 - Crossing the bridge at night (C++ implementation)

Statement: Mr. Algorithm and his friends like to party but all the party spots are across the bridge from where Mr. Algorithm live. The bridge is quite old unsafe, so only two people at...

Monday, 9 May 2016

Greatest common divisor

         In mathematics, the greatest common divisor(gcd) of two or more integers, when at least one of them is not zero, is the largest positive integer that divides the numbers without a remainder(amount left...

Page 1 of 212»