Pipeline(algorithm exercise)
I can't understand this problem, does anyone has an idea how to solve it?


7 Replies
DP
actually looks like a bitmask dp
Really, I can't understand this condition 😄
i guess?
byte[3] to size of Pn
i dont think it actually needs to store the state, but i cant think of other ways
and before returning just set a global byte[Pn] map when f(_) is > lastmax
or you could set it to byte[15]
after a while i will try it
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
also also
thing is
10x15 isnt a whole lot of mappings
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View