theloop
CompaniesRoundsQuestionsSearchProgress
Frontend prep↗
theloop

Interview questions from top companies, mapped to the exact round they show up in. Prep for what you will actually face.

View source

Browse

CompaniesSearchAll rounds

Rounds

Online AssessmentDSA / CodingMachine CodingLow-Level Design

Contribute

Share an interviewReport an issueStar on GitHubFrontend interview prep ↗

The Loop aggregates publicly shared interview experiences and curated commonly-asked questions, each labeled with its source. Not affiliated with any company listed.

CC BY-NC 4.0 · © 2026

← xAI

New Grad / Junior Backend at xAI

BackendNew Grad / JuniorOffer◆ Commonly asked· 2023

Junior backend interview. Balanced across coding, design, and collaboration.

The loop · 5 rounds

01

Round 01 · 1 question

Online Assessment

Timed online coding / aptitude screen, usually the first filter.

  • Move zeroes to the end in place.
    New Grad / JuniorEasy◆ Commonly asked
    #two-pointers
    PracticeLeetCode↗GeeksforGeeks↗
02

Round 02 · 3 questions

DSA / Coding

Data structures & algorithms on a whiteboard or shared editor.

  • Subtree of another tree.
    New Grad / JuniorEasy◆ Commonly asked
    #tree#dfs
    PracticeLeetCode↗GeeksforGeeks↗
  • Valid anagram.
    New Grad / JuniorEasy◆ Commonly asked
    #string#hashmap
    PracticeLeetCode↗GeeksforGeeks↗
  • Regular expression matching.
    New Grad / JuniorHard◆ Commonly asked
    #dp#string
    PracticeLeetCode↗GeeksforGeeks↗
03

Round 03 · 2 questions

Machine Coding

Build a working component or service under time pressure.

  • Implement an idempotent "charge" endpoint.
    New Grad / JuniorHard◆ Commonly asked
    #idempotency#payments
    PracticeGeeksforGeeks↗Search↗
  • Implement an LRU + TTL cache library.
    New Grad / JuniorHard◆ Commonly asked
    #cache#ttl
    PracticeGeeksforGeeks↗Search↗
04

Round 04 · 3 questions

Tech Deep-Dive

Deep questions on your core stack and fundamentals.

  • How does a bloom filter work and when would you use one?
    New Grad / JuniorMedium◆ Commonly asked
    #data-structures#probabilistic
    PracticeGeeksforGeeks↗Search↗
  • How would you design and version a public REST API?
    New Grad / JuniorMedium◆ Commonly asked
    #api-design
    PracticeGeeksforGeeks↗Search↗
  • Compare rate-limiting algorithms and their trade-offs.
    New Grad / JuniorMedium◆ Commonly asked
    #rate-limit
    PracticeGeeksforGeeks↗Search↗
05

Round 05 · 2 questions

Behavioral / HR

Values, collaboration, and past-experience (STAR) questions.

  • Tell me about receiving hard feedback and acting on it.
    New Grad / Junior◆ Commonly asked
    #feedback#star
  • Describe mentoring or unblocking another engineer.
    New Grad / Junior◆ Commonly asked
    #mentorship#star

Practice each round across every company

  • Online Assessment
  • DSA / Coding
  • Machine Coding
  • Tech Deep-Dive
  • Behavioral / HR

◆ This experience is composed from commonly reported questions for this role and level. Real, individually-shared interviews will be layered in over time.