When to use PQ , DP or BS when asked min or max of X ?

I want to know you guys sixth sense when approaching a problem and the problem is asking :
What is the min or max of X ?
I have seen problems that are approchable by PQ , DP or BS.
My feeling is that I find a recusive pattern I put my mind in DP mode, or if the problem says find K of Y I switch to PQ .
What you thing?

Comments (0)