NJACKWinterOfCode / nwoc_algorithms

This is a library of various algorithms that are used in competitive programming.
6 stars 52 forks source link

Added Kadane Algo #103

Closed ivaibhavjindal closed 4 years ago

ivaibhavjindal commented 4 years ago

Closes #100

Bhavnaharitsa commented 4 years ago

The algorithm doesn't run properly in the first place image See this!

ivaibhavjindal commented 4 years ago

I've added the Sample input/output and done the snake casing of variable names and camel casing of function name. Regarding the working of algorithm, Can I know which compiler are you using because I've double checked the code and ran with g++ on my Computer and many different Online Compilers and the code works fine on each. Codechef OnlineGDB CodingGround g++