Relating two very “indifferent” problems

This problem Largest Histogram Problem which I recently solved on SPOJ.com perked me up in the LONG AUGUST Challenge Codechef.

And settled as a base for solving the DCGAME August Long Codechef

With a little observation one can actually comprehend the analogy used to implement the “maxhist” function

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s