|
|
back to boardWhat is algo? What is algo? =) Re: What is algo? simple DP: int leftPos[char][pos] position of char which is left or equal of pos int lastPos[mask] : for substring s[lastPos[mask]..s.length()-1] we can get all name of sportman with char which is in mask. =) |
|
|