Skip to content
DenseChip
Learn
PracticeCode labInterview

DenseChip

Navigate

Menu

LearnPracticeCode labInterview

Tools

All toolsSV editorCode repoResume
DenseChip

Practice, courses, and chip-design tools in one focused workspace.

LearnPracticeCode labInterviewToolsLearning paths

© 2026 DenseChip

AboutContactPrivacyTerms
Skip to lesson

Course contents

  • How to Use This Puzzle Bank
  • SystemVerilog Language Puzzles25
  • Difficulty Guide
  • Full Topic Map
  • Interview-Day Tips
  • OOP & Testbench Puzzles25
  • Concurrency & Timing Puzzles25
  • Randomization & Constraint Puzzles25
  • SVA Assertion Puzzles25
  • Functional Coverage Puzzles25
  • Logic & Aptitude Puzzles25
    • Classic Brain Teasers
      • 9 Balls, 1 Heavier, 2 Weighings
      • 2 Eggs and 100 Floors
      • Burning Ropes to Measure 45 Minutes
      • Measure 4 Liters with 3L and 5L Jugs
      • Bridge and Torch (1, 2, 7, 10 Minutes)
      • 100 Prisoners and One Light Switch
    • Probability Puzzles
    • Digital Logic Puzzles
    • Debugging Riddles
    • Logic & Aptitude Puzzles: Tricky Q&A
  • Scenario & Debug Puzzles25
  • Interview Prep: Puzzle Rounds5
  • DV Puzzle Cheatsheet
Loading lesson

‹Classic Brain Teasers
  1. Topics
  2. DV Interview Puzzles
  3. Logic & Aptitude Puzzles
  4. Classic Brain Teasers
  5. Burning Ropes to Measure 45 Minutes

VLSI DV Interview Puzzles · All levels

Burning Ropes to Measure 45 Minutes

You have two ropes. Each rope takes exactly 60 minutes to burn, but burns non-uniformly. Measure exactly 45 minutes.

On this page

    Puzzle

    Difficulty: Medium · Puzzle 3 of 6 · Topic: Classic Brain Teasers

    You have two ropes. Each rope takes exactly 60 minutes to burn, but burns non-uniformly. Measure exactly 45 minutes.

    Hint

    Lighting both ends changes remaining burn time predictably.

    Step-by-step solution

    Diagram
    1) Light rope A at both ends and rope B at one end at time t=0.
    2) Rope A finishes in exactly 30 minutes (both ends lit).
    3) At t=30, rope B has some length left, but that remainder would take exactly 30 more minutes from one end.
    4) Light the other end of rope B at t=30; now remaining part burns in 15 minutes.
    5) Total elapsed time is 30 + 15 = 45 minutes.

    Answer

    Answer: Light A from both ends and B from one end; when A finishes, light B's other end and wait until B finishes: 45 minutes total.

    Why candidates get it wrong

    Assuming non-uniform burn makes all timing impossible; total burn-time invariants still hold.

    Interviewer follow-up

    How would you measure exactly 15 minutes with the same two ropes?

    Related topics

    • Back to Classic Brain Teasers

    • Logic & Aptitude Puzzles section

    Previous

    157 / 210

    Next: Measure 4 Liters with 3L and 5L Jugs

    Up next

    Up nextMeasure 4 Liters with 3L and 5L Jugs

    Sign in to save progress

    Practice this lessonReport an error

    See also

    • 9 Balls, 1 Heavier, 2 Weighings
    • Bridge and Torch (1, 2, 7, 10 Minutes)
    • 100 Prisoners and One Light Switch