For those who solved Q3 today, how do y'all manage to become proficient at greedy like the one today at biweekly Q3?

Every time I stumble on a greedy observation question variant, it's just novel with a different observational pattern shape as if each greedy problem got its own pattern. Of course I learn, and I keep in mind of those shapes, observations to look for and patterns appearing for every next greedy I encountered. Aside from doing more, do you like drill your thinking process, or drill something else?

reddit.com
u/PLTCHK — 1 day ago

Another week, Another bombed contest.

Q3 I was cooked, can't think of a clean pattern for those 0s and 1s. Doesn't look li transporting 0 or 1 or sth similar, greedy-flipping doesn't seem like would work either. Breaking it down to pairs would lead to exponential possibilities. Looks like hell. Skip.

Q4 looks simpler than Q3, got to 3D DP but somehow but then I conflated the state of taking i1 and i2 at a certain target t (should only be taking one). Thought of splitting t into two strings as well for each str s1 and s2 to run their own 2D DPs but then that'd be simply backtracking t and TLE probs.

gg 2/4 gang.

reddit.com
u/PLTCHK — 1 day ago

Contest rant

Running a solution took 30 seconds

Submitting a solution took 30 seconds

Loading a question took a minute...

seriously...

reddit.com
u/PLTCHK — 1 day ago

For yall who managed to maintain daily question streaks for month(s)

Do you actually manage to derive every questions at least with hints/understanding of logic from page/solutions tab/LLM before daily question streak cutoff time without copy-pasting? What you do if there's this actual hard question, and you are close to the cutoff time and still cannot come up with solution?

reddit.com
u/PLTCHK — 2 months ago

Leetcode, please fix your server latency issues.

Leetcode's usually down at least 1-2 times per months nowadays, this is unacceptable in UX perspective. Your system design team needs a revamp.

reddit.com
u/PLTCHK — 2 months ago

How do you guys deal with that? I find losing from winning positions incredibly frustrating, opponent’s probably having a really good time from that comeback.

reddit.com
u/PLTCHK — 2 months ago