Re:Pythonic monotonic
by zzzeek on Friday August 13, 2021 @12:58PM
(#28171501)
Here's two from me which just try to replicate the results of the original, it doesn't accommodate for values being the same or anything like that. This took me well over half an hour, I got more stuck on the first one trying to reduce the logic than I'd prefer to have, and I would have failed any job interview by now because I'm someone that's known to supposed to be "smart", but these things are always difficult for me to focus on.
[ Parent
| on HN ]
There are no comments on this comment yet.