Quantcast
Channel: Kode Log » Algorithms
Browsing all 3 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Greatest Common Divisor: Euclid Style

Euclid out of nowhere proposed this algorithm which calculates the greatest common divisor of two numbers. The simplest way of calculating the GCD is probably the simple prime factorization method....

View Article



Image may be NSFW.
Clik here to view.

No. of Step Calculation in an Algorithm

There was a time when the processor were just starting to explore their potential. Then code optimization made a huge difference in the performance of the code. But, today most programmers take the...

View Article

Image may be NSFW.
Clik here to view.

Kth maximum element in unsorted collection

Finding the Kth maximum element in an unsorted array doesn’t seem to be a big deal. Because, we know that finding the maximum and if we keep on eliminating the largest element from the array. And this...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images