cswork / companiesOpen practice workspace

BY CATEGORY · xAI

xAI Coding & algorithms Interview Questions

Prepare for xAI Coding & algorithms questions: 10 interview questions from real interviews. Read, practise and mock them on CSWork.

Questions
10
Updated
2026-09-28

Interview questions 10

Filter in the workspace
  1. CodePer-Key Fixed-Window Cost Limiter with ALLOW and RESET CommandsMedium
  2. CodeCompute dasher pay from order eventsMedium
  3. CodeImplement two string utility functionsMedium
  4. CodeImplement an in-memory database with TTL and backupEasy
  5. CodeDesign O(1) random-sampling setMedium
  6. QExplain arrays and memory layoutMedium
  7. QDefine and compare smart pointersMedium
  8. QContrast processes and threadsMedium
  9. CodeExplain strings, moves, and concurrencyMedium
  10. CodeExplain and Implement StringsMedium