मुख्य कंटेंट तक स्किप करें

14 docs tagged with "greedy"

सारे टैग देखें

Crimson Triples

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

Dijkstra's Algorithm

A complete guide to Dijkstra's Algorithm with explanations, use cases, and implementations in Python, Java, C++, and JavaScript.

Divide and Conquer

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

Huffman Coding

An elegant greedy algorithm for lossless data compression using variable-length prefix codes.

Maximum Ice Cream Bars

Finding the maximum number of ice cream bars that can be bought with a given amount of coins using a greedy approach.

Practice Problems

Practice problems for Greedy Algorithms, categorized by difficulty and topic. These problems help in understanding the practical application of greedy strategies in solving algorithmic challenges.

Rabbits in Forest

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

RemovevomeR

Solution for Codeforces 2241C: RemovevomeR, utilizing a greedy string observation approach.