Minimum Money for Guaranteed Win in Guessing Game
Problem Description We're playing a number guessing game with the following rules:
I pick a number between 1 and n.
You guess which number I picked.
Each time you guess wrong, I tell you whether my number is higher or lower.
When you guess a number x and it's wrong, you pay $x.
You win when you guess the correct number. Given n ≥ 1, determine ...
Posted on Tue, 09 Jun 2026 16:59:45 +0000 by void
Maximizing Final Score in a Custom Jeopardy Game with Doubling Questions
In this problem, there are n questions with given point values and m special questions that allow doubling the current score instead of earning their base points. The goal is to arrange the order of answering all questions so that the final score is maximized.
Each question i has a fixed value val[i]. Among them, m indices correspond to doublin ...
Posted on Mon, 08 Jun 2026 16:10:56 +0000 by lorddraco98
Two Algorithm Problems: Ring Position Simulation and Game Theory Analysis
Problem 1: Ring Position Simulation
Description:
There are $2n$ people standing in two rings of size $n$ each. They are numbered from $1$ to $2n$, where positions $1$ to $n$ form ring 1 and positions $n+1$ to $2n$ form ring 2.
Both rings start counting from $1$ simultaneously. Ring 1 starts from person $1$, and ring 2 starts from person $n+1$. ...
Posted on Wed, 13 May 2026 03:15:34 +0000 by Canadian
Algorithmic Strategies for Sequence Construction, Pattern Matching, and Tree-Based Scheduling
Problem A: Reachable Sums via Step Sizes
Tags: Dynamic Programming Knapsack Variation
Approach
Given a maximum limit n and two step values a and b, the objective is to determine the largest integer less than or equal to n that can be formed by summing multiples of a and b. Since the value range is constrained, a boolean dynamic programming arra ...
Posted on Sun, 10 May 2026 11:38:23 +0000 by adrian_melange