The Golomb sequence is a non-decreasing integer sequence in which the n-th term equals the number of times the letter n appears in the sequence. The first few numbers are 1, 2, 2, 3, 3, 4, 4, 4, 5, 5, 5, 5, 5,......
The Golomb sequence is a non-decreasing integer sequence in which the n-th term equals the number of times the letter n appears in the sequence. The first few numbers are 1, 2, 2, 3, 3, 4, 4, 4, 5, 5, 5, 5, 5,......
题目类型: 技术面试题
这是一道技术面试题,常见于澳洲IT公司面试中。
难度: easy
标签: interviewbit, nutanix, company-specific
目标公司: Nutanix
参考答案摘要
Definitions of a few terms: The third term is 2, and it's worth noting that three appears twice. The second term is 2, and it's worth noting that two appears twice. The fourth term is 3, and it's wort...
本题提供 STAR 原则详细解答和技术解析,登录匠人学院学习中心即可查看完整答案。