Pergunta de entrevista da empresa Writesonic

They asked me to design a database schema for an AI chat-based application where multiple users can participate in chats, exchange messages, and select different AI models.

Resposta da entrevista

Sigiloso

27 de dez. de 2025

I explained the schema by defining separate entities for users, chats, chat participants, messages, and AI models. I discussed relationships, foreign keys, and scalability considerations like indexing and message history growth.