DEV Community

Suren Enfiajyan
Suren Enfiajyan

Posted on • Originally published at waspdev.com on

Leetcode Pens and Pencils problem in O(log(min(cost1,cost2,total))) time

A clever logarithmical solution for Leetcode Pens and Pencils problem

Leetcode Pens and Pencils problem in O(log(min(cost1,cost2,total))) time

Top comments (0)