{
  "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 · reverse-a-linked-list",
    "humanPath": "/en/c/blink22/reverse-a-linked-list",
    "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": "reverse-a-linked-list",
      "title": "Reverse a Linked List",
      "difficulty": "easy",
      "tags": [
        "coding",
        "technical",
        "swe"
      ],
      "is_free": true,
      "locked": false,
      "frequency": 0.333,
      "last_reported_at": "2025-04-20T16:12:31.394189Z",
      "url": "https://www.mokabla.com/en/c/blink22/reverse-a-linked-list",
      "agent": {
        "page": "https://www.mokabla.com/agent/en/c/blink22/reverse-a-linked-list",
        "question": "https://www.mokabla.com/agent/_call/get_question?company=blink22&question=reverse-a-linked-list"
      },
      "company": {
        "slug": "blink22",
        "name_en": "Blink22"
      },
      "body_md": "## What they ask\nThe online technical interview is one long session (two to three hours) with two senior engineers, and it starts with data structures before moving to databases and design. The opening coding exercise is a classic: reverse a singly linked list, in place, and return the new head.\n\n## Examples\n- `1 -> 2 -> 3 -> 4` becomes `4 -> 3 -> 2 -> 1`.\n- A single node or an empty list is returned unchanged.\n\n## Constraints\n- Do it without allocating a new list; `O(n)` time and `O(1)` extra space is expected for the iterative version.\n- Then they ask for the recursive version and what its space cost is.\n\n## What they look for\n- Correct pointer juggling with three references (`prev`, `curr`, `next`) and no lost nodes; talk through it as you write.\n- Testing your own code on the edge cases (empty, one node, two nodes) before they ask.\n- Explaining why recursion costs `O(n)` stack and when that matters.\n- Since the session is long, this is also a temperature check on how you communicate under a friendly but persistent pair of interviewers. They said openly that they hire for thinking, not for a specific stack.",
      "follow_ups_md": "- Reverse only the nodes between positions m and n.\n- Reverse the list in groups of k."
    },
    "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=blink22&question=reverse-a-linked-list",
      "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=blink22",
      "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=blink22",
      "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=reverse-a-linked-list",
      "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=blink22&question=reverse-a-linked-list"
    },
    {
      "label": "All questions at this company",
      "href": "https://www.mokabla.com/agent/_call/list_questions?company=blink22"
    },
    {
      "label": "The company page",
      "href": "https://www.mokabla.com/agent/en/c/blink22"
    },
    {
      "label": "Reverse a Linked List · page",
      "href": "https://www.mokabla.com/agent/en/c/blink22/reverse-a-linked-list"
    }
  ],
  "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_3ebd836dd96f",
    "policyVersion": "mokabla-2026-11-03",
    "generatedAt": "2026-11-03T18:40:48.325Z",
    "jsonUrl": "https://www.mokabla.com/agent/en/c/blink22/reverse-a-linked-list?format=json",
    "manifestUrl": "https://www.mokabla.com/.well-known/agentgate.json",
    "humanUrl": "https://www.mokabla.com/en/c/blink22/reverse-a-linked-list",
    "humanClaimUrl": "https://www.mokabla.com/agent/_claim/human?to=%2Fen%2Fc%2Fblink22%2Freverse-a-linked-list"
  }
}