Reddit MLE phone screen was just one question that kept growing
Reddit MLE phone screen was just one question that kept growing
For some background, I'm an MLE with about 4 YOE, mostly research-adjacent work before shifting into something more product-facing last year, so I've been rusty on the system-design-flavored coding stuff.
Had my Reddit phone screen recently and the whole session ended up being one question that kept getting bigger. Starts with building a moderator tracking system off a chronological log, each entry saying who got added or removed as a mod and by who, with a timestamp attached. Seniority isn't fixed, it's based on when you most recently became a mod relative to everyone else currently active, so you need something that checks whether one mod outranks another before letting them remove someone, plus a way to hand back the current lineup from most senior to least.
Got that part done, then she said now assume this has to work across multiple communities running independently, so every log line also carries which community it's for, and the rankings live completely separate per community. Had to rework a chunk of what I already had.
Right when I thought we were wrapping up, she tacked on one more piece, a way to manually bump someone down exactly one spot in the current order, with no effect if they're already lowest or not a mod at all.
Nailed the first two, but I choked on the edge cases for the last one with only a few minutes left. Still waiting to hear if I move forward. Anyone know if partial credit is even a thing on these multi-part ones or is it pass or fail on the whole question?