Tagged articles
7 articles
Page 1 of 1
Model Perspective
Model Perspective
Sep 14, 2022 · Fundamentals

Why Switching Doors Doubles Your Chances: The Monty Hall Paradox Explained

The Monty Hall problem, a classic probability puzzle from the TV show "Let's Make a Deal," shows that always switching your choice after the host reveals a goat raises the chance of winning the car from one‑third to two‑thirds, a counter‑intuitive result that has fascinated mathematicians for decades.

monty hallparadoxprobability
0 likes · 5 min read
Why Switching Doors Doubles Your Chances: The Monty Hall Paradox Explained
Liangxu Linux
Liangxu Linux
Jul 27, 2021 · Fundamentals

Finding the Poison Bottle with Minimum Rabbits: Binary Encoding Explained

This article explores how to identify a single poisonous bottle among 1,000 using the fewest rabbits and the shortest time by analyzing pure‑time, pure‑space, balanced strategies, and finally applying binary encoding to solve the classic interview puzzle in just one day.

Binaryalgorithminterview
0 likes · 5 min read
Finding the Poison Bottle with Minimum Rabbits: Binary Encoding Explained
NiuNiu MaTe
NiuNiu MaTe
Jun 25, 2021 · Fundamentals

How to Identify a Poisoned Bottle with Minimal Rabbits Using Binary Logic

This article explores a classic puzzle where one must locate a single poisonous bottle among 1000 using rabbits as testers, comparing time‑focused, space‑focused, and balanced strategies before revealing an optimal binary‑encoding solution that finds the poison in one day with just ten rabbits.

Binaryalgorithmlogic
0 likes · 5 min read
How to Identify a Poisoned Bottle with Minimal Rabbits Using Binary Logic
Python Programming Learning Circle
Python Programming Learning Circle
May 9, 2020 · Fundamentals

Fish Division Puzzle and Classic Sorting Algorithms (Merge, Selection, Bubble) with Python Implementations

This article presents a combinatorial fish‑division puzzle solved by exhaustive search with Python code, followed by clear explanations and Python implementations of three fundamental sorting algorithms—merge sort, selection sort, and bubble sort—illustrating their core ideas and step‑by‑step processes.

PythonSortingalgorithm
0 likes · 5 min read
Fish Division Puzzle and Classic Sorting Algorithms (Merge, Selection, Bubble) with Python Implementations
Java Captain
Java Captain
Dec 25, 2018 · Game Development

Java Implementation of a Link‑Matching (连连看) Puzzle Game with Connection Algorithms and UI

This article explains how to build a classic link‑matching puzzle game in Java, covering the grid data model, random map generation, three connection algorithms (direct, one‑corner, two‑corner), mouse interaction, drawing routines, smart hint, shuffling, win detection and game restart, all illustrated with complete source code.

Game DevelopmentJavaSwing
0 likes · 22 min read
Java Implementation of a Link‑Matching (连连看) Puzzle Game with Connection Algorithms and UI
21CTO
21CTO
Aug 15, 2017 · Fundamentals

Challenge Your Algorithm Skills with Four Progressive Puzzle Problems

This article presents four algorithmic puzzles ranging from entry to advanced levels, explains each problem statement, offers solution strategies and Ruby code snippets, and discusses combinatorial calculations, search optimizations, and implementation details to help programmers sharpen their coding and problem‑solving abilities.

AlgorithmsRubycombinatorics
0 likes · 10 min read
Challenge Your Algorithm Skills with Four Progressive Puzzle Problems