Skip to content

Instantly share code, notes, and snippets.

View sethupathib's full-sized avatar
💭
I may be slow to respond.

Sethupathi Balakrishnan sethupathib

💭
I may be slow to respond.
View GitHub Profile
#include<cmath>
#include<iostream>
#include<climits>
using namespace std;
int Maximum_Sum_Subarray(int arr[],int n) //Overall Time Complexity O(n)
{
int ans = A[0],sum = 0;
for(int i = 1;i < n; ++i) //Check if all are negative
ans = max(ans,arr[i]);
@sharmaeklavya2
sharmaeklavya2 / cp_syllabus.md
Last active July 15, 2024 19:07
Competitive Programming Syllabus

Competitive Programming Syllabus

Geometry

  • Problems - Refer the article for a list of problems which can be solved using Rotating Calipers technique.