Skip to main content

9 X Software Engineer Intern Interview Questions (2026)

X's SWE intern loop in 2026 is a recruiter screen, one OA, and a 2-3 round virtual interview. Intern interviews emphasize data structures, algorithms, and one behavioral round. The intern program is leaner than the pre-2022 Twitter era — fewer headcount, higher ownership per intern.

By Alex Chen, Founder, InterviewChamp.AI · Last verified

Loop overview

Intern flow: recruiter → OA (HackerRank, 60-75 min, 2 problems) → two 45-minute technical rounds. Most reports show two coding rounds with an optional behavioral. Timeline is typically 3-5 weeks. Project assignments lean concrete — interns often own a real ship-able feature.

Behavioral (3)

Walk me through a project you've shipped that real users used.

Frequently asked

Outline

Pick ONE shipped project. Even a course project with classmates as users counts. Cover what you built, what users actually did, what surprised you. X cares about ownership and shipping — interns who treat their projects seriously stand out.

Source: Glassdoor 2026-Q1 X intern behavioral ·

Why are you interested in interning at X?

Frequently asked

Outline

Be specific: the public conversation surface, the algorithmic timeline, the API/developer ecosystem, the lean engineering culture. Mention how you use the product. Generic 'I want to work at a big tech company' answers get a no. The org has been through cultural shifts; show you're picking the current X intentionally.

Source: Glassdoor 2026-Q1 X intern behavioral ·

Tell me about a time you had to learn a new codebase quickly.

Occasionally asked

Outline

STAR. Pick a real moment — joining a class project mid-quarter, ramping up on an open-source repo. Show your loop: read the README, run the code, find the entry point, follow one feature end-to-end. X interns are expected to ramp fast; demonstrate the muscle.

Source: Glassdoor 2026-Q1 X intern behavioral ·

Coding (LeetCode patterns) (6)

Given a list of strings, return the most common one(s). If multiple tie, return any.

Frequently asked

Outline

Hash map of string to count. Single pass, track max count and the corresponding string. O(N) time, O(K) space where K is distinct strings. Edge cases: empty input, single element, all unique. Discuss extending to top-K (heap of size K).

Source: Glassdoor 2026-Q1 X intern OA ·

Implement a function that returns whether one string is a rotation of another.

Frequently asked

Outline

Clever trick: s2 is a rotation of s1 iff s2 is a substring of s1+s1. Verify lengths match first. O(N) time using a substring search (built-in is fine; mention KMP if asked for guaranteed O(N)). Walk through with an example: 'waterbottle' rotates to 'erbottlewat', which is a substring of 'waterbottlewaterbottle'.

Source: Levels.fyi X intern interview reports, 2026 ·

Given a binary tree, return the level (depth) with the maximum sum of node values.

Frequently asked

Outline

BFS level by level. Track running sum per level, return the level index with max sum. O(N) time, O(W) space. Walk through tiebreaking (first level wins).

Source: r/cscareerquestions X intern OA mentions, 2026-Q1 ·

Implement a function that returns the running median of a stream of integers.

Occasionally asked

Outline

Two heaps — max-heap for the lower half, min-heap for the upper. Balance so size difference is at most 1. Median is the top of the larger heap or the average of both tops. O(log N) per insert, O(1) median query.

Source: Glassdoor 2026 X intern OA ·

How would you implement a simple URL shortener?

Occasionally asked

Outline

Hash function or sequential ID mapped to base62. Store in a key-value mapping (in-memory map for the interview). Discuss collision handling (rehash with salt), TTLs, and what changes when you need uniqueness across multiple servers (centralized ID generator or hash-based scheme with verification).

Source: Levels.fyi X intern phone-screen reports, 2026 ·

Given a list of integers, return the contiguous subarray with the maximum sum.

Frequently asked

Outline

Kadane's algorithm. Walk through; at each index, either extend the current subarray or start fresh from the current element. Track running max. O(N) time, O(1) space. Edge case: all-negative array (the max is the largest single element).

Source: r/cscareerquestions X intern OA mentions, 2026 ·

X interview tips

  • OA is timed and the bar is real. Practice timed 60-min sets where you finish two problems with edge cases handled.
  • Behavioral rounds for interns at X weight ownership and shipping. Have a story about something you built that users actually used.
  • X's culture post-2022 favors direct communication. Hedge less in interviews; show conviction in your design choices.
  • Stack exposure matters less for interns than for new-grads, but if you have JVM experience (Scala, Java), surface it.
  • Intern project assignments at X are real ship-able work. The 12-week project is treated as a working interview; the projects you ship matter more than the OA score.

Frequently asked questions

How long is X's SWE intern interview process in 2026?

Most reports show 3-5 weeks from OA to offer.

How many rounds are in X's SWE intern interview?

Two to three virtual rounds in 2026, typically 45 minutes each. Two coding plus an optional behavioral.

Does X sponsor international interns?

X has sponsored F-1 OPT/CPT in past cycles. Confirm with your recruiter for current policy.

What's X's intern conversion rate?

Conversion rates are not publicly published; anecdotal 2026 reports suggest the bar for return offers is high. Treat the internship as an extended interview.

Do I need to know Scala to intern at X?

No. The interview accepts any language. Scala helps because the backend uses it heavily, but interns ramp up on it during the program.

Practice these live with InterviewChamp.AI

Real-time AI interview assistant that listens to your loop and helps you structure answers under pressure.

Practice these live with InterviewChamp.AI →