Skip to main content

19 docs tagged with "math"

View all tags

An Alternative Way

Solution for Codeforces 2241D: An Alternative Way, utilizing a prefix sum invariant approach.

Bigrams

Solution for Codeforces 2242A: Bigrams, utilizing a greedy frequency counting approach.

Crimson Triples

Solution for Codeforces 2238B: Crimson Triples, utilizing mathematical observations and a greedy approach.

Divide and Conquer

Solution for Codeforces 2241A: Divide and Conquer, utilizing a highly optimal math approach.

Ezraft and Array

Solution for Codeforces 2246B: Ezraft and Array, utilizing a greedy constructive approach.

Iskander and Drawings

Solution for Codeforces 2244A: Iskander and Drawings, calculating the maximum time to erase a line.

Maximum Building Height

Finding the maximum possible height of a building given a set of restrictions using a two-pass constraint propagation approach.

Nikita and Books

Solution for Codeforces 2244B: Nikita and Books, utilizing a greedy prefix sum approach.

Rabbits in Forest

Solving the Rabbits in Forest problem using a Hash Map and Greedy Math approach.

Reverse Integer

This document explains the Reverse Integer problem, including its description, approach, and implementation.

Unique Paths

The Unique Paths problem on LeetCode involves finding the number of possible unique paths for a robot to reach the bottom-right corner of a grid.

Yaroslav and Productivity

Solution for Codeforces 2244D: Yaroslav and Productivity, utilizing block independence and greedy logic.