Skip to content
This repository has been archived by the owner on Oct 10, 2022. It is now read-only.

create Min_Max_update_query.cpp #116

Closed
wants to merge 26 commits into from

Conversation

thepritam
Copy link

@thepritam thepritam commented Oct 1, 2020

Adding min max and update query in an array using segment tree

Fixes #57

Adding min max and update query in an array using segment tree
@thepritam thepritam changed the title Add files via upload Adding Min Max and update query using segment tree Oct 1, 2020
@thepritam thepritam closed this Oct 1, 2020
@thepritam thepritam reopened this Oct 1, 2020
@thepritam
Copy link
Author

@s-ayush2903 please look into this.

@thepritam thepritam changed the title Adding Min Max and update query using segment tree create Min_Max_update_query.cpp Oct 1, 2020
Comment on lines 13 to 33
using ll = long long;
using ld = long double;
using db = double;
using str = string;

using pi = pair<int,int>;
using pl = pair<ll,ll>;
using pd = pair<db,db>;

using vi = vector<int>;
using vb = vector<bool>;
using vl = vector<ll>;
using vd = vector<db>;
using vs = vector<str>;
using vpi = vector<pi>;
using vpl = vector<pl>;
using vpd = vector<pd>;


#define mp make_pair
#define f first
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove all the unused parameters

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure i will do it.

@thepritam
Copy link
Author

please check the above code @s-ayush2903

@thepritam thepritam requested a review from s-ayush2903 October 1, 2020 21:10
@thepritam
Copy link
Author

I have created a new pull request for this .I am closing this Pull request.

@thepritam thepritam closed this Oct 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Segment tree for updating and finding min-max in given Range in an array.
2 participants