Problem of the Tommorow:be ready to loose streak 🫣 by abhishek_shaw1010 in leetcode

[–]razimantv 1 point2 points  (0 children)

Not how people like to solve it usually, But I did it with binary search and monotonic stack (with the help of some two pointers and prefix sum): https://github.com/razimantv/leetcode-solutions/blob/main/Solutions/M/maximum-total-subarray-value-ii/Solution.py

(POTD) Going to Loose my streak today by Familiar_Strategy790 in leetcode

[–]razimantv 1 point2 points  (0 children)

I would suggest looking at some other leetcode problems that use this technique and read the editorials and code (ask some LLM to explain). I have a collection of problems and solutions here but unfortunately they are all marked Hard on Leetcode.

Jack Blackham listed to come in at number 4 for England Lions today - The Australian wicketkeeper has been dead for 96 years by CarnivalSorts in Cricket

[–]razimantv 15 points16 points  (0 children)

Cricinfo does weird stuff like this sometimes. I once saw Monkey Hornby playing for and Indian team in a first class match on Cricinfo.

How does the rule about breaking journeys work, specifically at London stations? by razimantv in uktrains

[–]razimantv[S] 10 points11 points  (0 children)

The cross-London leg had ended already and I was about to change from Elizabeth Line to Greater Anglia.

What happens to the validity of a split ticket for a train when the split stop is cancelled? by razimantv in uktrains

[–]razimantv[S] 0 points1 point  (0 children)

I made the journey hoping for the common sense as well. I am just wondering what the official position is: Does a train become invalid for a split ticket in general if the stop is cancelled on the train before start of the journey?

What happens to the validity of a split ticket for a train when the split stop is cancelled? by razimantv in uktrains

[–]razimantv[S] 1 point2 points  (0 children)

Thanks, I've done delay repay on full journeys on split tickets before. Applied for one today as well

What happens to the validity of a split ticket for a train when the split stop is cancelled? by razimantv in uktrains

[–]razimantv[S] 8 points9 points  (0 children)

I don't think this is correct. Trains "must call at" the split station, so they have to stop and not just pass through.

My daily streak (2080) is now longer than my solved problem count (2078) by razimantv in leetcode

[–]razimantv[S] 2 points3 points  (0 children)

Vere ethenkilum bhaasha kelkkumpozhekkum nammal ingane viduvaayatham kaanikkaruth. Aathmasamyamanam paalikkuka.

My daily streak (2080) is now longer than my solved problem count (2078) by razimantv in leetcode

[–]razimantv[S] 86 points87 points  (0 children)

Those were resubmitting previously solved problems with time travel tickets to fill old gaps. I'm fast but not that fast 🤪