Posts by Keshav J

Author Biographical Info: Sport Programmer

Lazy Propagation in Segment Tree using C++

By Keshav J

In this tute, we will discuss Lazy propagation in Segment tree using C++. If you haven’t gone through the basics of implementing segment trees, head straight to sum of range .... Read More

Sum of range in Segment Tree using C++

By Keshav J

In this tute, we will discuss how to query the sum of the given range in a segment tree using C++. Read till the end to get a clear idea of the Segment Tree. Let’s use the ar.... Read More

Node and range updates in Segment Tree using C++

By Keshav J

In this tute, we will discuss node & range updates in segment tree using C++. To get clear knowledge, read till the end. Before getting into updates, make sure you get the basi.... Read More

Redirect to another page on click in AngularJS

By Keshav J

In this tute, we will discuss how to redirect to another page on click in AngularJS. For this, we will be using a $scope object, and a service named $window. If you don’t kno.... Read More

How to detect integer overflow in C++

By Keshav J

In this tute, we will discuss how to detect integer overflow in C++. For this, let us try to understand how integers are stored. If you know the basics of Integers, you can straig.... Read More