标签:面试题

回顾下杨辉三角

上面的图可以看成坐标的形式,比如(5, 3) = 6 。

写一个根据坐标求值的函数:

解题思路:
[crayon-5c47a39c903ec0808392[……]

Read more

{ Comments are closed }

一道排列组合题

一个输入,N维数组:

输出各种排列组合:

想了半天,终于对于这一类题有了思路:

&nbsp[……]

Read more

{ Comments are closed }