{
  "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 · mst-network-cost",
    "humanPath": "/en/c/nokia/mst-network-cost",
    "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": "mst-network-cost",
      "title": "Minimum Network Cost",
      "difficulty": "medium",
      "tags": [
        "coding",
        "algorithms-theory",
        "oa",
        "swe"
      ],
      "is_free": true,
      "locked": false,
      "frequency": 0.25,
      "last_reported_at": "2025-05-27T22:13:36.641343Z",
      "url": "https://www.mokabla.com/en/c/nokia/mst-network-cost",
      "agent": {
        "page": "https://www.mokabla.com/agent/en/c/nokia/mst-network-cost",
        "question": "https://www.mokabla.com/agent/_call/get_question?company=nokia&question=mst-network-cost"
      },
      "company": {
        "slug": "nokia",
        "name_en": "Nokia Egypt"
      },
      "body_md": "## What they ask\nThe timed online assessment for the Associate Software Engineer track in Cairo mixes general problem solving with a graph question built around Prim's algorithm. The link arrives by email roughly two weeks after the CV screen, and you get a window of only three to five days to sit it, so treat it like an exam you cannot reschedule.\n\nA representative version of the graph task: you are given `n` sites (numbered 0 to n-1) and a list of possible links between them, each with a cost. Return the minimum total cost of a set of links that connects every site, or `-1` if that is impossible.\n\n## Examples\n- `n = 4, links = [[0,1,1],[1,2,2],[0,2,4],[2,3,3]]` returns `6` (use 0-1, 1-2 and 2-3).\n- `n = 3, links = [[0,1,5]]` returns `-1` (site 2 can never be reached).\n\n## Constraints\n- `1 <= n <= 10^4`, `0 <= links.length <= 10^5`, costs are positive integers.\n- Duplicate links and self loops may appear and must not break your answer.\n\n## What they look for\n- You recognise a minimum spanning tree problem, can name both Prim and Kruskal, then pick one and implement it cleanly.\n- A priority-queue Prim in `O(E log V)`, or union-find Kruskal, with the disconnected case handled explicitly.\n- The same assessment had MCQ items on basic AI concepts and a SQL section, so budget your time; do not sink the whole window into this one problem.",
      "follow_ups_md": "- How would you handle links that arrive while the algorithm is running?\n- What changes if costs can be zero or negative?\n- When would you prefer Kruskal over Prim, and why?"
    },
    "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=nokia&question=mst-network-cost",
      "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=nokia",
      "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=nokia",
      "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=mst-network-cost",
      "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=nokia&question=mst-network-cost"
    },
    {
      "label": "All questions at this company",
      "href": "https://www.mokabla.com/agent/_call/list_questions?company=nokia"
    },
    {
      "label": "The company page",
      "href": "https://www.mokabla.com/agent/en/c/nokia"
    },
    {
      "label": "Minimum Network Cost · page",
      "href": "https://www.mokabla.com/agent/en/c/nokia/mst-network-cost"
    }
  ],
  "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_9f2c340c533f",
    "policyVersion": "mokabla-2026-11-03",
    "generatedAt": "2026-11-03T17:41:42.145Z",
    "jsonUrl": "https://www.mokabla.com/agent/en/c/nokia/mst-network-cost?format=json",
    "manifestUrl": "https://www.mokabla.com/.well-known/agentgate.json",
    "humanUrl": "https://www.mokabla.com/en/c/nokia/mst-network-cost",
    "humanClaimUrl": "https://www.mokabla.com/agent/_claim/human?to=%2Fen%2Fc%2Fnokia%2Fmst-network-cost"
  }
}