PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Product / Decision Making/TikTok

Secretary Problem – Selecting the Most Valuable Painting

Last updated: Mar 29, 2026

Quick Overview

This question evaluates optimal stopping theory, sequential decision-making under uncertainty, and expected-value reasoning in the classic secretary problem framed as a product/decision-making scenario.

  • medium
  • TikTok
  • Product / Decision Making
  • Product Manager

Secretary Problem – Selecting the Most Valuable Painting

Company: TikTok

Role: Product Manager

Category: Product / Decision Making

Difficulty: medium

Interview Round: Onsite

##### Question A philanthropist invites you to an island with 100 rooms, each containing one painting. You may enter the rooms one at a time in any order, but you cannot return to previous rooms. You may take at most one painting and must decide immediately upon seeing it. What strategy maximizes the expected value of the painting you take? How does the strategy change if you receive nothing unless you pick the single most valuable painting?

Quick Answer: This question evaluates optimal stopping theory, sequential decision-making under uncertainty, and expected-value reasoning in the classic secretary problem framed as a product/decision-making scenario.

Related Interview Questions

  • Explain portfolio, design language, and delivery - TikTok (medium)
  • Break a Palindrome Algorithm - TikTok (medium)
  • Login Flow Critique, Feature Improvement & Data Privacy - TikTok (medium)
  • TikTok Product Strategy & Case Design - TikTok (hard)
  • In-App Purchase A/B Test Design & Evaluation - TikTok (medium)
TikTok logo
TikTok
Jul 4, 2025, 8:28 PM
Product Manager
Onsite
Product / Decision Making
11
0

Optimal Stopping: Choosing a Painting from 100 Rooms

You are invited to an island with 100 rooms, each containing one painting. You may enter the rooms one at a time in any order, but you cannot return to previous rooms. Upon seeing a painting, you must decide immediately whether to take it. You may take at most one painting.

Assume you can judge a painting’s value when you see it (cardinal value), and you don’t know which rooms contain which values before entering. Treat the order as effectively random.

  1. What strategy maximizes the expected value of the painting you take?
  2. How does the strategy change if you receive nothing unless you pick the single most valuable painting?

Solution

Show

Submit Your Answer

Sign in to leave a comment

Loading comments...

Browse More Questions

More Product / Decision Making•More TikTok•More Product Manager•TikTok Product Manager•TikTok Product / Decision Making•Product Manager Product / Decision Making
PracHub

Master your tech interviews with 8,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.