Project-alpha
Project-alpha copied to clipboard
The aim of the project is to include all the basic code snippets for competitive programming so that when a beginner gets stuck for any syntax or algorithm this repo will help out.
This program finds HCF of two numbers. The logic behind the code is that HCF of 'a' and 'b' is same as 'a-b' and 'b'. And when one of the...
Solved Issue # 199. Added Kadane's algo for finding the largest contiguous sum in an array using C++.
Syntax for Kadane's algorithm for finding out the largest contiguous sum in an array containing integers using C++.