2015-12-23

Spoj RPLN Solution. Spoj Negative Score solution.

Category: Segment Tree.

In this question we need to find the minimum value in the Given Range, put in another words, this question deals with Range Minimum Query.

We use the nodes of segment tree to store the minimum value of the ranges.

Segment Tree and relate theory can be read on the link.

Spoj RPLN solution code:

Here is the working code:

The post Spoj RPLN Solution appeared first on Code Kaksha.

Show more