PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Statistics & Math/Citi

Solve two logic brain teasers

Last updated: Mar 29, 2026

Quick Overview

This pair of puzzles evaluates logical deduction and optimization competencies—one testing information-theoretic reasoning with constrained ternary comparisons and the other testing sequencing and scheduling trade-offs for minimal total time—and belongs to the Cognitive Ability / Logic category.

  • medium
  • Citi
  • Statistics & Math
  • Software Engineer

Solve two logic brain teasers

Company: Citi

Role: Software Engineer

Category: Statistics & Math

Difficulty: medium

Interview Round: Onsite

Answer both puzzles: ( 1) You have 12 visually identical balls; exactly one is heavier than the others. Using a balance scale only three times, determine which ball is heavier and justify that three weighings are sufficient and necessary. ( 2) Four people must cross a bridge at night with one torch. Their crossing times are 1, 2, 7, and 10 minutes. At most two can cross at a time, and anyone crossing must carry the torch. What is the minimum total time and what sequence achieves it? Prove optimality.

Quick Answer: This pair of puzzles evaluates logical deduction and optimization competencies—one testing information-theoretic reasoning with constrained ternary comparisons and the other testing sequencing and scheduling trade-offs for minimal total time—and belongs to the Cognitive Ability / Logic category.

Citi logo
Citi
Sep 6, 2025, 12:00 AM
Software Engineer
Onsite
Statistics & Math
2
0

Two Classic Logic/Optimization Puzzles

Puzzle 1: Heavier Ball with a Balance Scale

You have 12 visually identical balls. Exactly one ball is heavier than the others; all remaining balls have equal weight. You have a balance scale and may use it at most three times. Determine which ball is heavier and justify that three weighings are both sufficient and necessary.

Notes:

  • A balance scale comparison yields three outcomes: left side heavier, right side heavier, or balance.
  • The odd ball is known to be heavier (not lighter).

Puzzle 2: Bridge and Torch

Four people must cross a bridge at night with one torch. Crossing times are 1, 2, 7, and 10 minutes. At most two can cross at a time, and the torch must be carried whenever anyone crosses. Find:

  1. The minimum total crossing time.
  2. A sequence of crossings that achieves it.
  3. A brief proof of optimality (why no faster schedule exists).

Solution

Show

Submit Your Answer

Sign in to leave a comment

Loading comments...

Browse More Questions

More Statistics & Math•More Citi•More Software Engineer•Citi Software Engineer•Citi Statistics & Math•Software Engineer Statistics & Math
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.