← Questions

How strings are stored and what copying them costs

0
Character.AICodingLast asked Jul 2025

A coding interview question asked in Character.AI's technical phone screen, last asked Jul 2025. It tests strings, memory and complexity.

A conversation about what a string really is. What fields does a string struct hold, and how would you implement one yourself?

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

What it tests

strings · memory · complexity

Your code and the AI tutor open when you unlock this question.