摘要: A zero-indexed array A of length N contains all integers from 0 to N-1. Find and return the longest length of set S, where S[i] = {A[i], A[A[i]], A[A[A[i]]], ... } subjected to the rule below.Suppos... 阅读全文
posted @ 2017-12-15 22:37 xiejunzhao 阅读(571) 评论(0) 推荐(0)