greedy
dp
math