int factorial(int n) { if (n == 1) { return 1; } return n * factorial(n - 1); }
要插入的数据
n
动画速度(ms)
待插入 key
待删除 key