Greedy Algorithm: Light Bulbs (A Proof)
A pretty standard problem that anyone just starting out with practicing the greedy algorithm comes across is the light-bulb problem. While the solution to th...
A pretty standard problem that anyone just starting out with practicing the greedy algorithm comes across is the light-bulb problem. While the solution to th...
I was freshening up on my coding repertoire, and while practicing some dynamic programming (DP) questions, I came across this one on HackerRank. Usually, I a...
Here’s a neat little problem I came across when solving some probability puzzles. It took me a couple of hours to realize the solution, and it took my younge...
While working on my entry for the MineRL 2020 competition, I had to implement the soft-actor critic (SAC) algorithm from scratch. However, while coding the c...