What are the Prerequisite one needs before going to medium-hard problems

I need some guidance related to medium-hard problems on Codechef.

Well you could learn some advanced data structures like Segment Tree, Fenwick Tree.Some advanced algorithms like Flow algorithms on a graph,Heavy Light Decomposition on a tree. As for solving DP hard-medium problems you require rigorous practice.(Still struggling there)

1 Like

thanks for such suggestions :slight_smile:

Hi, indiantarget, there is a very good article going on in discuss, it is currently active and is updated regularly, and you can follow the same.


1 Like

thank you :slight_smile: