区分开动规和memorization，区分开递归和memorization