OpenGenus / cosmos

World's largest Contributor driven code dataset | Used in Quark Search Engine, @OpenGenus IQ, OpenGenus Visual Project
http://internship.opengenus.org
GNU General Public License v3.0
13.57k stars 3.68k forks source link

Add Kadane tag to /largest_sum_contiguous_subarray/ #3663

Open codegirl20 opened 6 years ago

codegirl20 commented 6 years ago

This is a(n):

Details:

The code in under the dynamic programming section, largest_sum_contiguous_subarray lacks the Kadane tag. The algorithm is more famous by the name Kadane and thus can make searches easier for the user.

CAlmendros commented 6 years ago

Maybe is not a good idea to add this information also on the file name, to not make it excessively long. A solution could be to add "Also known as: Kadane's algorithm" as a comment at the comment block in the top of the code file, making it easy to find for the user with a search like "grep -r Kadane .".

15aarushiGhadiya commented 4 years ago

I want to work on this issue.please assign this to me @arnavb @AdiChat