Advertisement
Advertisement

新足迹

 找回密码
 注册
新足迹 门户 IT专业论坛 查看内容

我最烦这么招人的了, 不过题公布一下(javascript)

2011-2-25 13:34| 发布者: Dan.and.Andy | 查看: 3107| 原文链接

如果有兴趣可以做一下, 雇主很倒胃口

Task 1: Find Arrays

Implement a method that given two arrays as parameters will find the starting index where the

second parameter occurs as a sub-array in the array given as the first parameter. E.g.:

[4,9,3,7,8], [3,7] should return 2.

Suggested effort: up to 20 minutes
Advertisement
Advertisement


Advertisement
Advertisement
返回顶部