注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号
x
Online test, 45 minutes 2 problems at hackerrank.com.
1. Complete the function fibonacci to return an array containing the first N Fibonacci numbers.
2. Given N uniquf numbers that have difference K.
Sample input:
5 2
1 5 3 4 2
Sample output:
3
|