Top 50 sequences Interview Questions
The most frequently asked sequences questions across all roles and companies, ranked by real interview frequency. Updated daily.
Group each sorted array into maximal sequences of consecutive integers using a single linear scan.
HuluCalculate the probability of each exact heads-and-tails sequence using powers of one-half.
Mochi HealthUse dynamic programming to maximize the score of an ordered subsequence with at most k non-increasing transitions.
Tech(x)Generate the requested element of a custom recurrence sequence using constant-space iteration.
Find the longest contiguous sequence of qualifying successful payments using a single pass through transaction logs.
Sign up to see every question
Create a free account to unlock this list and practice real interview questions.
Use a stopping-time argument to determine the maximum duration of a coin race requiring four heads or four tails.
Jane StreetIdentify the next term in a numerical sequence by calculating first and second differences, then explain the deduction.
IMC
BloombergCalculate the expected waiting time for the first appearance of an overlapping sequence in repeated fair-die rolls.
Jane StreetCalculate conversion probabilities by experiment variant and rank the variants using PostgreSQL.
SnapSeparate two overlapping populations by estimating a boundary from labeled data.
Applied MaterialsReturn the seventh closest palindrome for each valid input number, using recursive query logic and ordered ranking.
Deloitte