InterviewLegend

Duplicates, Sorting & the LeetCode-Style Team Loop

Alex Chen40 min readGuide updated

Most Lockheed Martin software interviews never get to code. Of the 44 software candidates who wrote up a loop in the last 12 months, 9 wrote code or got a LeetCode-style question. When it does happen, it takes one of two forms. Most often the hiring manager closes the interview with one short problem. On a small number of teams there's a proper LeetCode loop, with screens and several rounds.

Both forms are below in more detail, followed by every coding problem named in the last 12 months, newest first. There are four, and only two come from a candidate who sat the interview. Expect easy questions. Practice the two harder ones only if your recruiter or a past candidate says your team runs LeetCode rounds.

The Lockheed Martin angle
Talk first, then write. The short question usually lands after resume, STAR and spoken C++ or OOP questions, often on a whiteboard. Say the plan out loud, write the plain version, and walk one example through it. An easy problem, solved cleanly and explained as you go, is all the round asks for.

Lockheed MartinPremium lesson · Coding round

The 4 Lockheed Martin problems are below.

  1. A Premium questionCoding · Easy
  2. A Premium questionCoding · Easy
  3. A Premium questionCoding · Hard

+ 1 more in this lesson

Each with hints, the follow-up and a tested solution.

Get the Lockheed Martin questions

$49 a year · all 122 companies · instant access

21,000+ candidate reports

Lockheed Martin interview guide

Know what Lockheed Martin asks before you walk in.

14 coding · 3 system design · 50 behavioral questions

Get Premium$49 a year · Instant access
Or start freeNo card.

Get their questions first.

Had your Lockheed Martin interview?How we research

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.