r/programmingchallenges • u/mr-rusof • Jul 02 '18
The Watermark Problem
http://ruslanledesma.com/2018/07/01/the-watermark-problem.html
3
Upvotes
r/programmingchallenges • u/mr-rusof • Jul 02 '18
View all comments
1
u/sd522527 Jul 02 '18
I agree with the other poster, though I think a basic linear approach works just fine.
In Python: