LinkedIn · Primly Community

LinkedIn frontend engineer interview: what they actually test beyond the basic React questions

sre_sol · 5 replies

Finished the LinkedIn frontend SWE loop about six weeks ago for a role on the feed infrastructure team. Four YOE, React-heavy background. Sharing because the frontend-specific info I found before interviewing was pretty thin.

The loop was five rounds plus a phone screen.

Phone screen: One frontend-specific problem. They gave me a UI component to build: a paginated list with a search input and debounced API calls. They wanted working code, not pseudocode. I used vanilla JS with a debounce utility because they said framework choice was mine and I didn't want to spend time wiring up React boilerplate. That seemed fine.

Onsite:

Round 1, frontend coding: build a rate-limited button component that disables itself for N seconds after being clicked, handles edge cases (rapid clicks, unmounting). This was in React. They care about cleanup: did you clear your setTimeout on unmount? Do you handle the case where state updates after unmount? Those are the "gotcha" moments they're watching for.

Round 2, algorithms: a medium LeetCode-style problem, nothing frontend-specific. Binary search variant. A bit jarring honestly. Just grind your algorithms, they test them even for frontend roles.

Round 3, system design (frontend): design a collaborative document editor feature (think a lightweight Google Docs inside LinkedIn). This is where it got interesting. They wanted to talk about conflict resolution, websocket connection management, optimistic updates, offline state. Operational transforms vs CRDTs came up. I don't think you need to implement OT, but you should know what the problem is.

Round 4, behavioral: pretty standard, STAR format. They asked about a time I had to push back on a design spec because of technical constraints, and a time I had to ship something I wasn't fully proud of and how I handled it afterward.

Round 5, hiring manager: conversational. Why LinkedIn, what products do you care about, what's your engineering philosophy.

Overall the bar felt like a mid-tier FAANG. Not Meta/Google tier in terms of difficulty, but well above a Series B startup. I'd say prep accordingly: solid algorithms, real JavaScript depth (not just framework surface), and one solid frontend system design.

Got an offer at E4. Turned it down (comp wasn't competitive with another offer I had).

5 replies

mobile_mara

The setTimeout cleanup question is such a classic and people still miss it. Did they ask about useEffect dependency arrays or was it more focused on the actual async logic?

frontend_fran

Mostly the async logic and cleanup. They did ask one question about stale closure in a useEffect that used a callback from props, but it felt more like a follow-up than a core question. Hooks knowledge matters but they're not quizzing you on every edge case.

growth_gabe

The frontend system design round sounds genuinely hard. Did they expect you to know specifics about CRDTs or was high-level awareness enough?

frontend_fran

High-level awareness was enough I think. I said something like "operational transforms require a central server to sequence ops, CRDTs let clients resolve conflicts independently but have tradeoffs in expressiveness." They nodded and moved on. They weren't looking for an implementation.

intl_isla

Was the role remote or Sunnyvale-based? I'm EU-based and wondering if LinkedIn does remote-international for frontend.