Van Eck-like Sequence: N-th Term
Asked at Bloomberg · Coding & Leetcode-style Questions · Difficulty: Medium
Given an integer `n` (`n >= 1`), define an integer sequence `a` as follows:
Loading the problem…
More Bloomberg interview questions
- Streaming Social-Media Mentions and Aggregation
- Real-time Market Data Distribution System
- Trade Processor with Subscribe / Unsubscribe
- Flatten a Multilevel Doubly Linked List
- Matchsticks to Square Transform
- Train a Next-Word Predictor from Tokenized Sentences