add longest valid parentheses

Signed-off-by: WanBin <ouyangwanbin@gmail.com>