↓ Skip to Main Content
Useful code Programming with VBA, C# and Python

Main Navigation

  • All
  • VBA
    • VBA Tools
    • VBA Online Resources
    • All VBA articles
  • Python
  • Else
    • C#
  • Reviews
    • List of reviews
  • YouTube
  • PayPal
  • About
Useful code Programming with VBA, C# and Python

Off Canvas Menu

  • All
  • VBA
    • VBA Tools
    • VBA Online Resources
    • All VBA articles
  • Python
  • Else
    • C#
  • Reviews
    • List of reviews
  • YouTube
  • PayPal
  • About

Tag: greedy

Home › Posts tagged greedy
Python – Platforms Jumping – CodeForces
Python

Python – Platforms Jumping – CodeForces

Vitosh Nov 11, 2019 Tagged with algorithm, codeforces, greedy, Python

Greedy algorithm is described as an algorithm that follows the problem-solving heuristic of making the locally optimal choice at each stage with the intent of finding a global optimum. Thus, it is always interesting to find a problem, which can …

Python – Platforms Jumping – CodeForces Read more →

Python – Binary String Minimizing Problem – CodeForces
Python

Python – Binary String Minimizing Problem – CodeForces

Vitosh Nov 7, 2019 Tagged with algorithm, binary string, greedy, implementation, minimizing, Python

Codeforces has introduced a third division in their competitions. Initially I though this is the place to go for “easy” stuff, as far as some of the 2nd division problems require some advanced algorithms, like combinations of graphs and months …

Python – Binary String Minimizing Problem – CodeForces Read more →

Excel VBA – Activity Selection Algorithm
VBA \ Excel

Excel VBA – Activity Selection Algorithm

Vitosh Jul 17, 2017 Tagged with algorithm, Excel, greedy, VBA

Wikipedia says that the activity selection problem is a combinatorial optimization problem concerning the selection of non-conflicting activities to perform within a given time frame, given a set of activities each marked by a start time (si) and finish time (fi). The problem is to select the maximum …

Excel VBA – Activity Selection Algorithm Read more →

C# – CodeForces – Karen and Game
C Sharp Tricks, CodeForces

C# – CodeForces – Karen and Game

Vitosh Jun 28, 2017 Tagged with C#, codeforces, greedy

Karen and Game is the third article about Karen. In a row. Pretty much, someone in CodeForces has created 7 different problems with her, thus the Japanese lady is getting famous. This time the problem looks like this: The game is …

C# – CodeForces – Karen and Game Read more →

Copyright © 2026 VitoshAcademy