PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|Home/Statistics & Math/Optiver

Compute expected coin flips to meet on octagon

Last updated: Mar 29, 2026

Quick Overview

This question evaluates proficiency in stochastic processes, discrete-time random walks, Markov chain hitting times, and expected value computation within probabilistic modeling.

  • medium
  • Optiver
  • Statistics & Math
  • Data Scientist

Compute expected coin flips to meet on octagon

Company: Optiver

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Technical Screen

Two independent particles start at opposite vertices (four edges apart) of a regular octagon. At each time step, flip one fair coin for each particle: heads moves one step clockwise, tails one step counterclockwise. What is the expected total number of coin flips required until the two particles occupy the same vertex?

Quick Answer: This question evaluates proficiency in stochastic processes, discrete-time random walks, Markov chain hitting times, and expected value computation within probabilistic modeling.

Related Interview Questions

  • Compute probabilities and expectations in random processes - Optiver (easy)
  • Solve probability and expectation problems - Optiver (hard)
  • Compute odds under time pressure - Optiver (medium)
  • Find next terms in sequences - Optiver (hard)
  • Plan for timed probability assessment - Optiver (medium)
Optiver logo
Optiver
Jul 17, 2025, 12:00 AM
Data Scientist
Technical Screen
Statistics & Math
2
0

Meeting Time on a Random Walk Around an Octagon

Problem

Two independent particles start at opposite vertices (four edges apart) of a regular octagon. At each discrete time step, each particle flips a fair coin: heads moves one step clockwise; tails moves one step counterclockwise. Two coins are flipped per time step (one for each particle).

What is the expected total number of coin flips required until the two particles occupy the same vertex?

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Statistics & Math•More Optiver•More Data Scientist•Optiver Data Scientist•Optiver Statistics & Math•Data Scientist Statistics & Math
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.