{
  "app": {
    "name": "Mokabla",
    "url": "https://www.mokabla.com",
    "description": "Real interview questions from companies in Egypt, organised by company. Access is sold per company for 30 days."
  },
  "page": {
    "kind": "question",
    "title": "Question · problem-solving-database-round",
    "humanPath": "/en/c/breadfast/problem-solving-database-round",
    "humanOnly": false
  },
  "identity": {
    "class": "declared",
    "agent": "ClaudeBot",
    "operator": "Anthropic",
    "verified": false,
    "reason": "The user agent is ClaudeBot (Anthropic), which identifies itself as an AI agent.",
    "signals": [
      "Known agent user agent"
    ],
    "claimable": false
  },
  "state": {
    "question": {
      "slug": "problem-solving-database-round",
      "title": "Problem Solving and Database Round",
      "difficulty": "medium",
      "tags": [
        "coding",
        "sql",
        "technical",
        "swe",
        "backend"
      ],
      "is_free": true,
      "locked": false,
      "frequency": 0.333,
      "last_reported_at": "2025-05-05T17:12:36.819910Z",
      "url": "https://www.mokabla.com/en/c/breadfast/problem-solving-database-round",
      "agent": {
        "page": "https://www.mokabla.com/agent/en/c/breadfast/problem-solving-database-round",
        "question": "https://www.mokabla.com/agent/_call/get_question?company=breadfast&question=problem-solving-database-round"
      },
      "company": {
        "slug": "breadfast",
        "name_en": "Breadfast"
      },
      "body_md": "## What they ask\n\nAn online technical interview that mixes a problem-solving exercise with database questions, followed later by an engineering manager conversation.\n\n**Problem-solving sample** (solve in the starter code): delivery slots are given as `[start, end]` minute intervals for one rider; merge overlapping or touching slots so the rider has the fewest continuous windows.\n\n**Database questions** in this area, for example:\n\n- Write a query for the top 5 products by revenue per day over the last week.\n- What index would you add for \"orders by customer, newest first\", and why a composite index order matters.\n- Normalization: when you would denormalize an orders table for reporting.\n- Transactions: what isolation level prevents two checkouts from overselling the last unit.\n\n## Examples\n\n- `[[0,30],[5,10],[35,50],[50,60]]` returns `[[0,30],[35,60]]`.\n- `[[10,20]]` returns `[[10,20]]`.\n\n## Constraints\n\n- Up to `10^4` intervals; O(n log n) via sorting is expected.\n\n## What they look for\n\n- Sorting by start and a single sweep, with the touching-interval case handled (`50` meets `50`).\n- Practical SQL: joins, aggregates, and indexing reasoning.\n- Clear communication; the interviewer shares screen and asks you to narrate.",
      "follow_ups_md": "- Return the largest free gap between slots as well.\n- How does your SQL change if revenue must exclude cancelled orders?"
    },
    "paid": false,
    "access": "Question bodies are paid content: a person buys 30 days of access per company (200 EGP or 200 points) in the human app. Agents get titles, tags and difficulty; bodies only for free questions."
  },
  "actions": [
    {
      "name": "get_question",
      "description": "One question with its body. Bodies are paid content unless the question is free.",
      "permission": "allow",
      "sideEffect": "read",
      "input": {
        "company": "string",
        "question": "string"
      },
      "href": "https://www.mokabla.com/agent/_call/get_question?company=breadfast&question=problem-solving-database-round",
      "ready": true,
      "missing": [],
      "humanPath": "https://www.mokabla.com/en/pricing"
    },
    {
      "name": "list_questions",
      "description": "The questions reported at a company: titles, tags, difficulty, whether each is free or paid.",
      "permission": "allow",
      "sideEffect": "read",
      "input": {
        "company": "string",
        "page": "number?"
      },
      "href": "https://www.mokabla.com/agent/_call/list_questions?company=breadfast",
      "ready": true,
      "missing": []
    },
    {
      "name": "buy_access",
      "description": "Buy 30 days of access to a company.",
      "permission": "block",
      "reason": "This action is for people only",
      "ruleId": "R1",
      "sideEffect": "payment",
      "input": {
        "company": "string"
      },
      "href": "https://www.mokabla.com/agent/_call/buy_access?company=breadfast",
      "ready": true,
      "missing": [],
      "humanPath": "https://www.mokabla.com/en/pricing"
    },
    {
      "name": "post_comment",
      "description": "Comment on a question.",
      "permission": "block",
      "reason": "This action is for people only",
      "ruleId": "R1",
      "sideEffect": "write",
      "input": {
        "question": "string",
        "text": "string"
      },
      "href": "https://www.mokabla.com/agent/_call/post_comment?question=problem-solving-database-round",
      "ready": false,
      "missing": [
        "text"
      ],
      "humanPath": "https://www.mokabla.com/en/companies"
    }
  ],
  "navigate": [
    {
      "label": "This question, as data (free questions only)",
      "href": "https://www.mokabla.com/agent/_call/get_question?company=breadfast&question=problem-solving-database-round"
    },
    {
      "label": "All questions at this company",
      "href": "https://www.mokabla.com/agent/_call/list_questions?company=breadfast"
    },
    {
      "label": "The company page",
      "href": "https://www.mokabla.com/agent/en/c/breadfast"
    },
    {
      "label": "Problem Solving and Database Round · page",
      "href": "https://www.mokabla.com/agent/en/c/breadfast/problem-solving-database-round"
    }
  ],
  "notices": [
    {
      "severity": "info",
      "message": "This classification is final for the session: it came from a strong signal, not a guess. The human pages are not served to agents."
    },
    {
      "severity": "info",
      "message": "Unverified agents are read-only. Signed requests (Web Bot Auth) are the path to write access."
    }
  ],
  "meta": {
    "requestId": "ag_8b16ce372394",
    "policyVersion": "mokabla-2026-11-03",
    "generatedAt": "2026-11-03T18:38:10.471Z",
    "jsonUrl": "https://www.mokabla.com/agent/en/c/breadfast/problem-solving-database-round?format=json",
    "manifestUrl": "https://www.mokabla.com/.well-known/agentgate.json",
    "humanUrl": "https://www.mokabla.com/en/c/breadfast/problem-solving-database-round",
    "humanClaimUrl": "https://www.mokabla.com/agent/_claim/human?to=%2Fen%2Fc%2Fbreadfast%2Fproblem-solving-database-round"
  }
}