PracHub
QuestionsLearningGuidesInterview Prep
|Home/Software Engineering Fundamentals/Bnp

How do you split coins to match heads?

Last updated: Mar 29, 2026

Quick Overview

This question evaluates logical reasoning about invariants and combinatorial parity, testing the candidate's ability to design deterministic strategies under partial information; it falls under Software Engineering Fundamentals with relevance to probability and discrete mathematics for a Data Scientist role.

  • easy
  • Bnp
  • Software Engineering Fundamentals
  • Data Scientist

How do you split coins to match heads?

Company: Bnp

Role: Data Scientist

Category: Software Engineering Fundamentals

Difficulty: easy

Interview Round: Technical Screen

There are **N** coins on a table. You are told that exactly **H** of them are heads-up (you do not know which ones). You must split the coins into **two piles** so that the **number of heads-up coins is the same in both piles**. You are allowed to flip any coins you choose. Describe a strategy that always works and justify why it works.

Quick Answer: This question evaluates logical reasoning about invariants and combinatorial parity, testing the candidate's ability to design deterministic strategies under partial information; it falls under Software Engineering Fundamentals with relevance to probability and discrete mathematics for a Data Scientist role.

Related Interview Questions

  • Explain and compute option delta - Bnp (easy)
  • Find expected tosses to see a coin pattern - Bnp (easy)
  • Compute expected max/min of n die rolls - Bnp (easy)
|Home/Software Engineering Fundamentals/Bnp

How do you split coins to match heads?

Bnp logo
Bnp
Jan 5, 2026, 12:00 AM
easyData ScientistTechnical ScreenSoftware Engineering Fundamentals
2
0

There are N coins on a table. You are told that exactly H of them are heads-up (you do not know which ones). You must split the coins into two piles so that the number of heads-up coins is the same in both piles. You are allowed to flip any coins you choose.

Describe a strategy that always works and justify why it works.

Loading comments...

Browse More Questions

More Software Engineering Fundamentals•More Bnp•More Data Scientist•Bnp Data Scientist•Bnp Software Engineering Fundamentals•Data Scientist Software Engineering Fundamentals

Write your answer

Your first approved answer each day earns 20 XP.

Sign in to write your answer.
PracHub

Master your tech interviews with 9,000+ real questions from top companies.

Product

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

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • AI Coding 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.