Can I pass a vector in a dp state ie dp memoization table…if yes then what is the syntax/prototype… question may be silly and absurd but iam new at DP please help!!!
I don’t know of any problem in which the DP state is a vector. So no.
Thanks for clarifying