注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
新人求加米!
两道题- Given arrays of IP addresses with their respective timestamps, find all IP addresses that appear more than k times within any t-second window. If no such IP addresses exist, return an empty array.
example: n = 3 ip = [1,2,1] timestamp = [6,10,get position. If you cannot reach it within the given time n, return -1
example directions: "WWNNSSE" startX = 1 startY = -1 endX = -1 endY = -1 return 6
|